One problem is the LinkServer connection to your LPC11C24 board does not consistently report an ACK error when GDB requests a read at a non-existent address. In this case, GDB is requesting a read at address 0xA5A5A5A5 (the FreeRTOS stack fill pattern). This did not produce an error, and the contents of the read buffer were used for a subsequent read. The read at address 0xFFFFFFFF did produce a error, which is fatal in this circumstance. We'll investigate this further.
In the meantime, you can work around this problem if you bypass the LinkServer connection. Unfortunately, the bypass option is not available in the latest LPCXpresso_8.2.0_647 release. You can, however, bypass the LinkServer in the LPCXpresso_8.0.0_526 release available on the http://www.nxp.com LPCXpresso download page. You need a login to download.
To disable use of the LinkServer, use the LPCXpresso_8.0.0_526 menu:
- Navigate to Windows -> Preferences- > LPCXpresso -> Debug Emulator Selection <tab>.
- Uncheck the LinkServer tab.
- Apply your changes.
- Delete, then recreate your project launch configurations.
Thanks and regards,
LPCXpresso Support