LPC1754 AHB SRAM Usage Issue

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

LPC1754 AHB SRAM Usage Issue

Jump to solution
1,260 Views
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

Labels (2)
0 Kudos
Reply
1 Solution
1,036 Views
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.

View solution in original post

0 Kudos
Reply
2 Replies
1,037 Views
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 Kudos
Reply
1,036 Views
soledad
NXP Employee
NXP Employee

Hi,

Thank you for your input!!

Regards

Sol

0 Kudos
Reply