perform debugging without using lpc4322 ic in lpc54628 development board

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

perform debugging without using lpc4322 ic in lpc54628 development board

1,548件の閲覧回数
suraj78725
Contributor I

hi

i am suraj

i am working on lpc54628 development board, is debugging possible without using the lpc4322 ic which is meant for debugger in lpc54628 development board. please post the comment as soon as possible and do tell me connecting the programmer through jtag pins in the corresponding pins in gpio of lpc54628, is it possible to dump the code directly to the lpc54628 main ic and perform our required operation.

with regards

suraj

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

1,541件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Suraj,

Of course, it is okay not to use the LPC4322 for the lpc54628 target  board, you can connect the SWD  device to download and debug code.

you can connect the SWD signals to a 10 pins mail connector, you can use LPC-link2, or J-Link devices to download code and debug with Keil or MCUXpresso, IAR tools.

I copy the main connection from data sheet of LPC54628.

Hope it can help you

This is lpc-link2 board link:

https://www.nxp.com/design/microcontrollers-developer-resources/lpc-microcontroller-utilities/lpc-li...

 

The J-Link device is from third party segger.

BR

XiangJun Rong

xiangjun_rong_0-1608618615713.png

 

0 件の賞賛
返信

1,535件の閲覧回数
suraj78725
Contributor I

hi

can i connect directly the jtag pins to the gpio pins of the lpc54628 chip, is the muxed pins of gpio for swd is only for the swd connection or for both and so swd only has three and swd has five. please help me as soon as possible.

with regards

suraj 

タグ(1)
0 件の賞賛
返信

1,530件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Suraj,

Pls refer to the Chapter 49: LPC546xx Serial Wire Debug (SWD) in UM10912.pdf, the SWD interface is used to download/debug, the JTAG interface is used only for boundary scan function for LPC546xx family.

I copy it from UM10912.pdf.

In conclusion, You have to connect the SWD signals to connector.

Hope it can help you

BR

XiangJun Rong

 

 

xiangjun_rong_0-1608625515173.png

 

0 件の賞賛
返信

1,528件の閲覧回数
suraj78725
Contributor I

hi

how to find the interface between two ics lets say the interface between lpc4322 and lpc54628 

how can we see that. and what is the interface that will be present between lpc4322 and usb 

it is flexcomm 0 uart or someother thing.

with regards

suraj

0 件の賞賛
返信

1,515件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Suraj,

For the LPC4322 and LPC54628 connection, you have attached the LPC546xx-540xx_Dev_brd_schematics_Rev-F_180708.pdf, pls refer to the sheet 11,12 and 13, the three sheets gives the connection.

In short the LPC4322 converts USB commands to SWD signal timing for LPC54628 so that you can debug the LPC54628. BTW, the uart0 of LPC4322 is connected to uart0 of LPC54628, so the USB of LPC4322 is a composite USB protocol which has CDC.

Pls download UM11035.pdf from the link:

https://www.nxp.com/webapp/Download?colCode=UM11035&location=null

 

Hope it can help you

BR

XiangJun Rong

 

0 件の賞賛
返信

1,512件の閲覧回数
suraj78725
Contributor I

thank you for your help it helped me a lot.

with regards 

suraj

0 件の賞賛
返信