This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Choices for Flash programmer

Hi,

We are using NRF51 and STM32F0 on our custom board and one of our customer's requirement is the ability to program both of these MCUs in the factory. They would like us to ship them the .hex versions of the firmware for these MCUs (For NRF51822, We will also send them Softdevice hex file) and they should be able to use a windows system, connected with Segger J-Link ( NRF51822) and ST Link debugger (for STM32F0) and some sort of script (windows batch file or a script in a scripting language such as Python) to program these MCUs.

I'm currently exploring this area and I think that openocd could be used (It has a windows port) to achieve this requirement. However, I'm very new to this area and hence your suggestions and experience in this regard will be very helpful for me to take a decision.

Ideally, I would also like to replace the two programmers (Segger Jlink and ST programmer) by one (I have not used JTAG before, but could that be used ???) as well. This would make our customer's life a little easier.

Update:

  1. Apparently, JTAG interface cannot be used with STM32F0.
  2. Segger J-link can also be used to program STM32F0 MCU.
Related