I just installed LPCXpresso 8.2.0 on Mac OS X 10.11.6 and tried to debug the stock nxp_lpcxpresso_11c24_freertos_blinky code on an unmodified LPCXpresso LPC11C24 REV B card. It downloads and runs, but if I pause and then try to resume execution, it stops and will not resume, nor can I restart the code without stopping the debugger.
Performing the exact same test using LPCXpresso 7.5.0 works with no problems.
I've tried patching gdb with the latest version, but the behavior is the same.
Solved! Go to Solution.
I've replicated the behaviour you report on LPC11, but it seems to work fine on LPC43xx. So this may well be Cortex-M0 specific. We'll now investigate further.
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:
Thanks and regards,
This is as close as I can get you without you logging in:
From here, press the Download button on the right. You'll see a menu like the following. Select the Current tab since you want an earlier 8.0 release. It will ask you to agree to Terms and Conditions, and once you do you'll get a list of the 8.0 installations.
Select a version. To access older versions, click on the " Previous " tab
|8.X.X||LPCXpresso IDE for Linux v8.x.x||Download Log|
|8.X.X||LPCXpresso IDE for MAC v8.x.x||Download Log|
|8.X.X||LPCXpresso IDE for Windows v8.x.x||Download Log|