I am trying to write some data for SRAM 3 region, which locates at 0x2003 0000 accroding to User manual.
But this results in hardFault. Any other regions of SRAM work properly.
Here is example of my code:
Stack, data and heap placed in SRAM 0, so, region 3 should be free.
Solved! Go to Solution.
According to the data sheet, LPC55S28 does not have SRAM3 (which is probably why it was missing in the original project setup).
LPC55S28 is a device with total ram of 256k, and such devices do not have SRAM3. See attached screenshots from the data sheet and user manual.
Hello Alex,
Have you define the SRAM3 space in memory detail:
Regards,
Alice
At default configuration there is no SRAM3 (RAM from 0x2000 0000 to 0x2003 0000 is SRAM 0,1,2 in user manual).
I have added SRAM3 by increasing size:
But nothing changes.
Hello Alex,
Please share your whole project, I will help to check it on my side, thanks.
Regards,
Alice
Alice, I think that this issue is resolved and you don't need to check my project.
Thank you.
OK, thanks!
According to the data sheet, LPC55S28 does not have SRAM3 (which is probably why it was missing in the original project setup).
LPC55S28 is a device with total ram of 256k, and such devices do not have SRAM3. See attached screenshots from the data sheet and user manual.
Yeah, I think you are right. I just thought that usb-ram and ram-x is not included into 256k size.
Thank you.