LPC1754 AHB SRAM Usage Issue

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

LPC1754 AHB SRAM Usage Issue

跳至解决方案
1,267 次查看
lonniewalker
Contributor I

I am wanting to utilize the AHB SRAM for general purpose scratch pad memory and have run into an issue with some locations.   I am using the LPC1754 which its user manual indicates a range of 0x2007c000 to 0x20084000  is available.

When I read and write that memory range (with data 0x11111111) as a test, the test is okay until reaching location 0x2007CF70 where I receive a fault: Suspended : Signal : "SIGSTOP:Stopped (signal)" message with debugging.   It appears a memory dump shows the other  locations up to 0x2007CFFF are cleared to zeros.       Locations 0x2007D000 to 0x20083FFF appear to function as expected.

So, why would this block (0x2007cf70 to 0x2007CFFF cause a Signal??

I see nothing in either the User Manual or Data Sheet that there is a reserved range.   I am suspecting it has something to do with the debugger itself  is using this space somehow?   I am using LPC-Link2 to debug.

Thanks for any input you could lend to better understand what is going on-

~Lonnie.

memdump.pngI

标签 (2)
0 项奖励
回复
1 解答
1,043 次查看
lonniewalker
Contributor I

Just posted this question and then soon figured out what is happening...  I had inadvertently had placed top of the stack to location 0x20080000. This is placing the stack right in the middle of the AHB memory I am trying to utilize... I moved the top to the correct location for the LPC1754 to 0x20084000 and all is good now.

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,044 次查看
lonniewalker
Contributor I

Just posted this question and then soon figured out what is happening...  I had inadvertently had placed top of the stack to location 0x20080000. This is placing the stack right in the middle of the AHB memory I am trying to utilize... I moved the top to the correct location for the LPC1754 to 0x20084000 and all is good now.

0 项奖励
回复
1,043 次查看
soledad
NXP Employee
NXP Employee

Hi,

Thank you for your input!!

Regards

Sol

0 项奖励
回复