Attempt to reach memory out flash boundaries

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by oceaneGu on Wed Aug 06 08:17:49 MST 2014
Hi everyone,

I am running a graphical application (emwin) on an Embedded Artist LPC1788 evaluation board using lpcxpresso.
At some point in my code, while refreshing the LCD screen, the software attempt to reach an address out the internal flash memory boudaries.

I made my own linker script (attached here) from a generated linker script but I meet the same problem with the managed linker script (all semihosted).
You will find attached the registers values when the hardfault is met ans the disassembly of the area.

Is there anything to add in the linker script in order to avoid this problem ?

Original Attachment has been moved to: Registers.txt.zip

Original Attachment has been moved to: Disassembly.txt.zip

Original Attachment has been moved to: LinkerScript_Debug.txt.zip