??? 02/03/05 14:53 Read: times |
#86471 - explanation----problem Responding to: ???'s previous message |
since my initial post is not clear to many, let me try to explain it again.
i have to generate the pulses at different time intervals, i obtained the time interval values from "Matlab" then converted those into Intel-Hex file. Now using some simple Timer program, i try to load my time interval values from the memory location, say as a look-up table fashion. when I load the Intel-Hex file in the debugging mode (KEIL COMPILER) using the command "LOAD DATAFILE.HEX", it loads the data in C-code memory. But I have to fetch the data as X-data. If i write memory locations(X-data) manually, the program runs correctly. But I have more data from Matlab. I have tried the "segment specification" declaration in the Intel-hex file, but it gives error unknown file format. As one of the friend told, treat the data as C-data and fetch using "MOVC", it works very well. But i need to use X-data locations via Intel-HEx file. |