We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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)
We are working on file I/O functions for the next release. For the time being you might load this data as HEX file into the standard simulation buffer.
Okay.. "standard simulation buffer" ? I can't find that in the uVision2 GUI, or the manual :) So could you point me in the direction of some information on it, or give a small hint as to how I use it ?
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
Cool! Thanks a bunch!