external memory debugging

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

external memory debugging

295 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by hxxwin2000 on Sun Oct 05 11:27:45 MST 2014
hi all,
Sorry but my english is very bad!

My device:
CPU LPC4357                              X 1
Memory IC: MT48LC4M32B2P     X 1
Development Environment: IAR  7.20

Demand:
I need to do an external memory debugging.

question:
If Run directly ----------> HardFault_Handler,
OR Remove options"run to main" ----------> Stopped at the address 0X00000000.
address 0X00000000 value of 0X28100800,address 0X00000004 value of 0X280001E1,
but,
View cpu registers "SP" and "PC" are 0X00000000,Manually modify the SP and PC for 0X28100800 and 0X280001E0 after ,Normal running.

Why ?
Who can help me fix the problem ?

Attach the test program.

Thanks in advance!
hxxwin2000

Original Attachment has been moved to: SDRAMTest.rar

Labels (1)
0 Kudos
1 Reply

253 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by nerd herd on Tue Oct 07 07:43:19 MST 2014
Hello,

Have you looked into your .icf file for the project? (should be in the project directory in Windows Explorer). Also, you might want to look into overriding the default .board file and putting in your own flash memory address in the project options -> debugger -> download.

Here is a link to another user on the forum that had an issue that is related. He had success by modifying the .icf file:
http://www.lpcware.com/content/forum/trouble-building-dual-core-blink-example-lcp4330-xplorer-board

Hope this helps.
0 Kudos