2019-11-26 07:12 PM
I've produced a .hex file of my program which I want to flash on the target device using Segger J-Flash utility and J-Link Plus device. I'm aware that CubeProgrammer could be a better option, but the people who're going to use the .hex file have access only to the J-Flash.
I created a new project in J-Flash with my micro selection as STM32F103RG.
Connection method set as SWD.
I loaded up the .hex file which I had generated using CubeIDE.
Now when I clicked on the 'Program' button, it gives the following error:
---------------------------------------------------------------------------------------------------------------
Programming Failed @ address 0x08000000 (program error)
Failed to program target.
---------------------------------------------------------------------------------------------------------------
Is there something wrong with the address '0x08000000'?
It got put in automatically by J-Flash.
Should there be some different address put for this particular device?
2019-11-26 09:06 PM
This is internal FLASH memory for the STM32F1 device, J-Flash would need a suitable driver/applet to support the internal memory. Perhaps read the docs?