7 years, 1 month 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:

Affordable and flexible platform to ease prototyping using a STM32F446RET6 microcontroller.

1 Answer

7 years, 1 month 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.

Accepted Answer

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 J D 23 Oct 2017

OK, 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 Wim Huiskamp 23 Oct 2017

Hi Wim again.

It's SOLVED. I mistakenly swapped 2 different NUCLEO units. Thanks for your help.

posted by J D 23 Oct 2017