Content originally posted in LPCWare by MikeSimmonds on Fri Sep 28 01:44:58 MST 2012
[FONT=Tahoma][SIZE=2]
Quote: daniel.widyanto
To debug program in SDRAM, you need to init the SDRAM directly from the JTAG (eg. writing to SDRAM registers from JTAG, and enable the SDRAM), then download your 'Program B', along with its debugging symbols, directly to SDRAM address.
I know that Keil and IAR has some script/macro function to ask the JTAG to enable the SDRAM before downloading the AXF file into the SDRAM, but I'm not sure how to do that with LPCXpresso.
[/SIZE][/FONT] [FONT=Tahoma][SIZE=2]
I, too, would really love to know how to provide 'GDB init' scripts with LPCXpresso.
[Code Red: does Red Suit LpcxPresso provide this functionality? It would be a big reason to upgrade!]
It's a bit accedemic for me anyway; at the max clock speed for 1778 (120 MHz), the EMC clock is only 60MHz or less, that part of memory does not support the I-Code AHB bus, will have to compete with data and dma accesses, so will be too slow for (my) practical use.
[/SIZE][/FONT]