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

Can LOAD file to a specified memory area ?

The command "SAVE" can be used to save a specified memory to hex file. So, my question is that there is any command for loading a file into a specified memory area?
For example, I have a hex file, I want to write it into external memory from 0x0100 to 0x0200. The website http://www.keil.com/support/man/docs/uv3/uv3_cm_load.htm is about command "LOAD", but it seem can not load file into a specified memory.

Thank you for helping.

Best Regard.

Parents
  • Thank you very much, Andy.

    I had used BIN2HEX to convert the bin file to be a hex file, and I LOAD it into memory in uVision2 command window successfully.

    But it got a error while loading the hex file with big size. I set the starting address is 0x3000, and the hex file size is around 10MB. uVision2 feedback a error message "error 57: illegal address:0x00FFFF".

    I guess it is that loading 10MB hex file get over 64KB address defintion, because loading 3KB hex file doesn't.

    How can I solve it?

    BR,

Reply
  • Thank you very much, Andy.

    I had used BIN2HEX to convert the bin file to be a hex file, and I LOAD it into memory in uVision2 command window successfully.

    But it got a error while loading the hex file with big size. I set the starting address is 0x3000, and the hex file size is around 10MB. uVision2 feedback a error message "error 57: illegal address:0x00FFFF".

    I guess it is that loading 10MB hex file get over 64KB address defintion, because loading 3KB hex file doesn't.

    How can I solve it?

    BR,

Children