LPC5528 SWD not working

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

LPC5528 SWD not working

2,243件の閲覧回数
alex__
Contributor II

Hello, community.

I have a board with LPC5528JBD64K and for configuring it I use MCUXpresso IDE. MCU is ok (UART, ADC and other peripherals work), but I cannot flash and debug it using J-link, cuz error "Wrong DM-AP IDCODE detected" appears.

SWD clock is configured in MCUXpresso. Connection between MCU and SWD pins is ok. I tried to pull ISP entry pin to VCC and GND, nothing changes.

It is my first time with LPC, so, maybe, I forget to set some bits or anything else to turn debugging on.

0 件の賞賛
返信
3 返答(返信)

2,235件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello alex__,

About the SWD hardware design, you can refer to LPCxpresso55s28 board:

https://www.nxp.com/design/software/development-software/lpcxpresso55s28-development-board:LPC55S28-...

 

In MCUXpresso IDE, Just click  "Debug" button under Quickstart Panel:

 

4444.jpg

 

If still can't work, please take a video or take screenshot to show  your steps.

 

Regards,

Alice

 
 

 

0 件の賞賛
返信

2,224件の閲覧回数
alex__
Contributor II

SWD connected directly to the programmer:

debug_connection.jpg

Clock configuration:

clock1.jpg

And the error code(in SEGGER J-flash, MCUXpresso returnes the same code):

error.jpg

 

0 件の賞賛
返信

2,194件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello alex,

You can have a look at this thread:

https://forum.segger.com/index.php/Thread/4302-SOLVED-Target-Connect-J-Link-Error-Check-connection-a...   

And about the J-link debug, recommend you also ask help on Segger support, they know the j-link deep.

https://www.segger.com/  

 

 

Regard,

Alice

0 件の賞賛
返信