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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

24,680件の閲覧回数
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,084件の閲覧回数
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,190件の閲覧回数
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,085件の閲覧回数
andrewsglenn
Contributor III

Any idea what would cause this error?

0 件の賞賛
返信

2,143件の閲覧回数
robertogatti
Contributor II
It is a stack overflow error.
Increase your stack size.
0 件の賞賛
返信

3,560件の閲覧回数
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 件の賞賛
返信