Hex download via Ulink2

Hi,

through ULINK2 I want to download a hex file into a STM32 device.
I followed the instructions in the "IDE User's Guide-Flash Programming-HEX Files".
It allways ends up with the error "Could not load file xxx.AXF" though I named the
file as .hex or even without extension.
How can I make the prommer load this hex file?

Regards
Detlef

Parents
  • Putting xxx.hex in output folder that has the same file name except .axf is replaced with .hex should work.

    for example: instead Blinky.axf => Blinky.hex

    File name should be the same as one that build process would produce.

    Also, you have to take into account that addresses in hex file are in area that flash algorithm can write to, so that addresses in hex file are not on non-flashable addresses.

Reply
  • Putting xxx.hex in output folder that has the same file name except .axf is replaced with .hex should work.

    for example: instead Blinky.axf => Blinky.hex

    File name should be the same as one that build process would produce.

    Also, you have to take into account that addresses in hex file are in area that flash algorithm can write to, so that addresses in hex file are not on non-flashable addresses.

Children
More questions in this forum