Hello Everybody,
I want to use keil simulator (or any other keil capability) for following purpose.
In my actual target program, I have created functions for image sensor that captures Image and transmit it to PC using serial communication (COM1). Then I am using PC based tools to analyze that image on PC.
Now, I want to do further image processing work on PC [Host based development], so.
1) Can keil compiler allows me to read any file, that is located at hard disk, using some sort of FILE pointer [as conventional C]
2) Can Keil tools, allows me to print immediate variable values using printf("") like commands.
Thanks in advance, Saurabh
You could convert the PC data file (I'm assuming the data is binary) into an Intel HEX file using the HEX2BIN utility. Then, when you start the debugger, you can use the LOAD command to load the contents of the HEX file into some part of memory. Then, your program could process that memory area as though it were the actual data that came from your image sensor.
Refer to the following knowledgebase article which gives a couple of different ways to do this:
http://www.keil.com/support/docs/2175.htm
Jon