Use swd swk pin configured as Uart

Learn MoreFAQsTutorials

5 posts / 0 new
Last post
GGQ_in
Offline
Last seen:1 month 2 days ago
加入:2019-07-23 04:41
Use swd swk pin configured as Uart

Hi,

I used 580 modle's swk and swd pins (P1_4,P1_5) configured as Uart,and I disable the debug before system_init() and periph_init().

I failed to connect to Debug Session When I plugged in the module. So I add the Delay() before disable the debug. However, The serial port has not been working.

What are the correct configuration steps?

Thanks.

Device:
PM_Dialog
Offline
Last seen:1 week 2 days ago
工作人员
加入:2018-02-08 11:03
Hi GGG_in,

Hi GGG_in,

Which is the development board that you are using? Can you please indicate this?

Does the device boot from SPI Flash or System-RAM? Did you modify any of SDK files? Where did you disable the debugger?

Thanks, PM_Dialog

GGQ_in
Offline
Last seen:1 month 2 days ago
加入:2019-07-23 04:41
Hi,

Hi,

I disable the debugger before Power up peripherals' power domain.

Thanks.

GGQ_in
Offline
Last seen:1 month 2 days ago
加入:2019-07-23 04:41
Hi,

Hi,

I use DA14580-01 modle. I did it successfully when I stop the watch dog and swap the CLK and DIO pins of the SWD PORT.

Thank you for your answer.

PM_Dialog
Offline
Last seen:1 week 2 days ago
工作人员
加入:2018-02-08 11:03
Hi GGQ_in,

Hi GGQ_in,

Thanks for your indication and glad that you got it working. If you found the comment useful please mark it as “accepted”.

Thanks, PM_Dialog