AnsweredAssumed Answered

Programming the STM32F4

Question asked by MrStive on Jul 17, 2012
Latest reply on Jul 22, 2012 by Rogers.Michael
Hi,
I originally was planning on using the Discovery demo board, but have since changed to placing the MCU directly on my PCB.

Now what is the easiest way to program the thing? The Discovery uses a STM32F103C8T6, perhaps I can use the schematic to place one of those on my PCB and load the ST-LINK code on it? Or perhaps I should use a Discovery board as a programmer, do i need to load Versaloon on it? (http://snowcap.fi/blog/2011/11/21/the-cheapest-sw-dongle-stm32-f1-discovery/). Of course there's also ST's ST-LINK.

Ideally I'd like to use Eclipse or something similar as the IDE. Will this work is ST's ST-LINK programmer? Another thing is I need the board to be isolated from the PC, so I was thinking of creating an isolated USB cable using an ADuM4160, but perhaps isolating the JTAG is easier?
I found this link regarding programming STM32 with Eclipse (http://www.stf12.org/developers/ODeV.html#widget3). Seems a lot of software and plugins are involved, but is this a good solution?

So my question is, what is the best way to program the STM32F4 in terms of ease/cost/debugging/IDE etc? I have some spare room on my PCB if required.

Thanks!

Outcomes