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

Debugger / Flashing custom hex with CRC

Hi there,

i want to add a CRC Check to my firmware. In this forum are yet some ways descripted, but they don't work for me, or i have something missed to adjust in the µVision IDE. The process will mostly the same for all solutions:

1.Compile Application to hex
2.The Hex-File will be parsed and the CRC calculated and after that written back to the hex file.
(external Console Programm)

3. Write the new Hex-File to the Target
4. Start Debugger (with symbolic Variables,etc)

----------------------------------------------------------------------
So the Steps 1 & 2 are finished. And working. But i have Problem with Step 3.

so i started debugging with the unchecked Option "Load Application at Start". After that i typed in the command (LOAD "output\\myhexwithCRC.hex") => But nothing happens and no flash is programmed. What has to be done, to get the hex file into the target? I want to use this in the same Project. NOrmaly the way should be (Compiling -> linking -> adding CRC -> flashing -> debugging

(The several project with the output of the hexfile works, but i don't want to open 2 keil instances to get this working)

Thank you. I really don't know how to go further....

Parents Reply Children
No data