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

Getting data in and out of uVision2

Hello,
I was just wondering how to go about getting data into and out of a project I'm debugging using the uVision2 debugger.

The program will compress a 2.6Mb large picture, and I've tried to convert the binary data into an include file and then include it, but the compiler can't handle that much data..
And in the absence of any file functions, how do I get my data into the program?!?
(In the finished program and target hardware, it will just read it from a memory location)

Parents
  • Save the data as an Intel HEX-386 file starting at some address. If you have RAW data (a BINARY File) you can use the BIN2HEX program on web in the Keil download area.

    Load this file in the debugger using the Load command.

    You program can then access it at the load address.

    Be sure you don't overwrite your REAL program with the loaded data.

    Jon

Reply
  • Save the data as an Intel HEX-386 file starting at some address. If you have RAW data (a BINARY File) you can use the BIN2HEX program on web in the Keil download area.

    Load this file in the debugger using the Load command.

    You program can then access it at the load address.

    Be sure you don't overwrite your REAL program with the loaded data.

    Jon

Children