Cannot Debug LPCXpresso54S018: Debug port inaccessible after access at location 0xBF30B670

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

Cannot Debug LPCXpresso54S018: Debug port inaccessible after access at location 0xBF30B670

25,071 Views
andrewsglenn
Contributor III

I'm using SDK version 2.15 and open the freertos_hello SDK demo application

I can build normally, but downloading to flash prints an error message saying:

15: Target error from Read Memory
Debug port inaccessible after access at location 0xBF30B670
Debugging context: lpcxpresso54s018_freertos_cabezon LinkServer Debug

The full debug messages are given in the attached text file.

This doesn't happen every time, but often enough to really slowdown productivity (2 times in 3, or more)

I've erased the on-board flash, and this still occurs.

Any ideas?

 

0 Kudos
Reply
25 Replies

12,149 Views
andrewsglenn
Contributor III

I get the following outputs when the debugger succeeds or fails.

Hopefully the information will help determine the difference between good and bad runs.

0 Kudos
Reply

12,255 Views
andrewsglenn
Contributor III

I spoke too soon. I'm seeing the attached error when connecting using my J-Link PLUS Compact.

I remember seeing similar errors when I programmed the on-board NXP-Link to act as a J-Link.

0 Kudos
Reply

12,150 Views
andrewsglenn
Contributor III

Any idea what would cause this error?

0 Kudos
Reply

2,208 Views
robertogatti
Contributor II
It is a stack overflow error.
Increase your stack size.
0 Kudos
Reply

3,625 Views
andrewsglenn
Contributor III

Thank you! That seems to connect to the debugger reliably.

I assume I can read the 3.3V UART signals UART through P4, by installing JP6?

0 Kudos
Reply