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
  • Why not split the data into a number of arrays and put them into *.c files? You can always write a simple access routine that would choose the right 'data bank'. In the final version, this routine could be replaced by a simple macro.
    Regards,
    Mike.

Reply
  • Why not split the data into a number of arrays and put them into *.c files? You can always write a simple access routine that would choose the right 'data bank'. In the final version, this routine could be replaced by a simple macro.
    Regards,
    Mike.

Children
No data