Report
3 years, 5 months ago.

How do I flash the module?

I've been going in circles here. The compiler produces a .bin file. The documentation says use STLINK, STLINK needs a .hex.

I can't figure out how to make the compiler produce a .hex

I can't figure out how to program a .bin

All the help docs say everything.. except this!

Question relating to:

Affordable and flexible platform to ease prototyping using a STM32L476RGT6 microcontroller.
Comment on this question

1 Answer

3 years, 5 months ago.

Mathew, this board accepts the generated .BIN file directly.

Generally these boards already have the correct firmware loaded, however follow the instructions on this link:

https://developer.mbed.org/teams/ST/wiki/ST-Link-Driver

Once you have done that check that you have a 'drive' called NUCLEO (x), where x will be a drive letter F, G or H or something similar on your windows explorer. If you have, then simply compile your program and then select 'save as' and select the NUCLEO(x) drive. You will then see the Nucleo interface led flash RED/GREEN as it loads you program. The board will automatically reset and start running your program.

THAT IS SO COOL!

Why don't they say that anywhere?

posted by Matthew Reed 03 Mar 2016