LPC284系列

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

LPC284系列

740 Views
继侠赫
Contributor I

SWD模式下,SWDIO和SWCLK管脚怎么复用,软件烧程序的时候发现,一旦设为GPIO口,就再也没法烧录程序了

Labels (4)
0 Kudos
3 Replies

524 Views
ckphua
NXP Employee
NXP Employee

The Chinese version of the question is : How to dual purpose the SWD pins ? Once it is set to GPIO, it cannot enter SWD mode to program the flash.

Once you set the SWD pins to GPIO, and go through POR, the SWD connection is gone.

My suggestion: If you need to program the flash only, then your schematic, make provision for UART ISP mode (with the ISP Entry pin). Then you can still enter ISP mode (on POR) to Erase and Program the Flash using UART.

0 Kudos

524 Views
jimmychan
NXP TechSupport
NXP TechSupport

The serial wire debug pins SWDIO and SWCLK are enabled by default on pins PIO0_2 and PIO0_3. The SWD functions are enabled by default. What you mean set the pins as GPIO?

0 Kudos

524 Views
soledad
NXP Employee
NXP Employee

Hi,

Thank you very much for contacting NXP Community. Our support engineers are located worldwide, therefore to better support you, could you please rewrite your question in English?

I apologize for the inconvenience this may cause to you.

Best Regards

Soledad


 

0 Kudos