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

Command line .hex flash programming

I have to use command line flash programming for a project . So I created a fake project similar thand the original one.
The problem is that I'm using a .ini for flash downloading to program a modfied .hex and not the axf file.
If I'm using command line , the .ini is ignored and uv4 want to flash an .axf file ...
How can I solve this problem ?

Parents
  • The Keil tool is happy to program a hex file without using an ini file.

    I have a "Generic Project" that is called burnhex.uvprojx

    The Name of the executable in this project is burnhex.hex. This is the name of the file you want to burn (and yes, it can be and is a hex file)

    IF if run this from the command line "UV4 -f burnhex.uvprojx" it burns the burnhex.hex file to the board. Is this what you want?

Reply
  • The Keil tool is happy to program a hex file without using an ini file.

    I have a "Generic Project" that is called burnhex.uvprojx

    The Name of the executable in this project is burnhex.hex. This is the name of the file you want to burn (and yes, it can be and is a hex file)

    IF if run this from the command line "UV4 -f burnhex.uvprojx" it burns the burnhex.hex file to the board. Is this what you want?

Children