Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years ago.
drag'n'drop programming not working
Hi all,
I've received a brand new unit but I haven't been able to reprogram it. I've tested on several OSes (Windows 10, Linux, MacOS) copying the .bin file to the device and through the online compiler without success.
I've upgraded the firmware to the latest version as of today.
I've been developing with an mbed LPC1768 and it works perfectly (using the same cable)
Am I missing something? Do I need to enable something before proceeding?
Thanks in advance
Question relating to:
1 Answer
7 years ago.
Hi JD, some hints: Did you install the STLINK drivers and do the virtual serial port and memory device show up correctly on the PC. Are the jumpers on the board OK. Make sure the target is powered by the USB port (rather than an external source) and make sure the STLINK jumpers are set to access the local target. Are you compiling for the correct target platform F446.
Hi Wim, thanks for answering.
To use my old mbed LPC1768 it was't necessary to install any driver. It appears as a drive on any platform (MacOSX, Linux, Windows). Simply copy or drop the .bin program to it and that's all.
I am working mainly on MacOSX. It is working OK with LPC1768.
I don't think that I need to install any driver on MacOSX to use the NUCLEO-F446RE that way, but I may be wrong.
I am sure that target platform is OK. Trying with the online compiler it doesn't work at all. I mean, the file is copied but nothing else happens and if I reset it manually the default program (blinking rate changes with the push of the user button) keeps running :-(
Any thoughts?
posted by 23 Oct 2017OK, so when the LED is blinking that means you have USB power and jumper JP5 is set correctly. You were able to flash the firmware on the ST-LINK part so USB must be OK. I assume you see the removable storage when connecting the USB cable as you can do the drag&drop. Are the ST-LINK jumpers OK as well: both jumpers on CN2 should be installed. Jumper JP1 should be removed and JP6 should be installed as well. What happens with LD1 when you try to flash the new code.
posted by 23 Oct 2017