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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

24,740 次查看
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 项奖励
回复
25 回复数

12,091 次查看
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 项奖励
回复

12,197 次查看
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 项奖励
回复

12,092 次查看
andrewsglenn
Contributor III

Any idea what would cause this error?

0 项奖励
回复

2,150 次查看
robertogatti
Contributor II
It is a stack overflow error.
Increase your stack size.
0 项奖励
回复

3,567 次查看
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 项奖励
回复