This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

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
  • that's what I hoped it would work with. But it doesn't.

    uV4
    an empty project named P9
    STM32F103VB
    the target has been checked as STM32F103VBT6
    output folder is the same as project folder
    name of executable is P9 (without extension like .hex)
    the folder contains the P9.hex-file
    debugging is set to ULINK cortex Debugger
    the utilities are set appropriately and checked ok

    A click on the Load button raises the error "Error: Flash Download failed - Could not load file xxx\P9.AXF"
    where xxx is the correct path.

    At this point, is handling an ARM different from that of an 8051 ?

    I also tried the command line input:

    UV4 -f P9.hex
    or UV4 -f P9.hex -o P9.txt
    or UV4 -f P9.uvproj -o P9.txt

    In all three cases the uV4 GUI opens and the contents of the intel-hex file is displayed but
    no programming action is performed.

    Regards
    Detlef

Reply
  • that's what I hoped it would work with. But it doesn't.

    uV4
    an empty project named P9
    STM32F103VB
    the target has been checked as STM32F103VBT6
    output folder is the same as project folder
    name of executable is P9 (without extension like .hex)
    the folder contains the P9.hex-file
    debugging is set to ULINK cortex Debugger
    the utilities are set appropriately and checked ok

    A click on the Load button raises the error "Error: Flash Download failed - Could not load file xxx\P9.AXF"
    where xxx is the correct path.

    At this point, is handling an ARM different from that of an 8051 ?

    I also tried the command line input:

    UV4 -f P9.hex
    or UV4 -f P9.hex -o P9.txt
    or UV4 -f P9.uvproj -o P9.txt

    In all three cases the uV4 GUI opens and the contents of the intel-hex file is displayed but
    no programming action is performed.

    Regards
    Detlef

Children