Last time we have covered topic about flashing STM32 microcontrollers using bootlaoder. This is easiest and cheapest way of loading programs to MCU memory. But this isn’t the only way of doing this. Software can also be downloaded to using JTAG adapter which is used for debugging. This time we are not digging into debugging but staying only with programming.
You can download latest J-Link software from Segger Download page.You will be asked for adapter serial number which can be found on back side of J-Link adapter. Once installed you will get a bunch of programs used for various purposes. We are going to use J-Flash ARM which is used for programming microcontrollers using J-Link Adapter. J-Flash ARM is a GUI interface that allows easy work with ARM microcontrollers. It supports most of ARM microcontrollers including ARM7/9/11 and Cortex-M0/M3. Programming speed reaches up to 150kB/s.
Lets start J-Flash ARM to give it a try.
This is main window where you can see project details, Flash contents to be uploaded and LOG messages. If you have already connected your J-Link adapter to ARM board you can load compiled binary in any popular format like .hex, bin, etc.
Source: http://www.hqew.net/circuit-diagram/Flashing-STM32-using-J$2dFlash-ARM_13456.html
No comments:
Post a Comment