I am using LPC1788 and have successfully written EMC code. H57V2562GTR (SDRAM 16Mx16) is interfaced with the controller. Two ICs are used in parallel to write 32Bytes (16MSB in one chip and 16LSB in other). I have tested the code and it works fine (The read and write operations).
I know that by using __attribute__((at(address))) i can define variables at specific memory address.
Will i have to initialize the EMC before defining the variables in the external memory area?
under debug menu, using "Using Function editor(open ini file)" option, i opened "External Ram.ini" file and compiled it. On compiling, i get "compilation complete, no compilation errors"
But the command window still displays
*** error 129: MapMem - map size truncated to 128MB
While debugging using JTag, i sometimes get this message when trying to stop the execution (especially in loops) "Could not stop Cortex M Device!..."
I searched for the the error and came across threads where "increasing the jtag speed to 1MHz" was the suggestion. My jtag already runs at 1MHz. and the controller (LPC1788) runs at 120MHz.
Anyone any idea regarding this. Didnt get any reply for last 3 post.
Guys....has no one ever came across any such errors? Andrew Neil, Per Westermark, Tamir Michael, Hans-Bernhard Broeker, Westonsupermare Pier