Configure SWD pins as GPIOs using Creator

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
TeCh_3034126
Level 3
Level 3
First like received First like given

Hi,

I am using CYBLE-014008-EVAL.

I would like to configure the SWD pins as GPIOs to drive LED through Creator.

However, I created 2 GPIOs and mapped to the pins of SWD pins. I got errors:

     Pin Error: (P0[6] has been reserved for SWD Debug in the DWR System settings.).

     Pin Error: (P0[7] has been reserved for SWD Debug in the DWR System settings.).

I studied the post https://community.cypress.com/thread/19940?q=swd, but I did not get any insight.

What is the DWR Sytem settings?

Can I remove the SWD Debug setting in the DWR System settings?

Thanks!

Terry

0 Likes
1 Solution
Anonymous
Not applicable

Hello Terry,

DWR means Design Wide Resources.

In PSoC Creator, open your project tree and open the Design Wide Resources tree. Afterwards open the System settings tab.

Under Programming\Debugging you will find Debug Select. Change the SWD (serial wire debug) option to GPIO.

Now you can use these pins as regular GPIOs.

Regards,

View solution in original post

2 Replies
Anonymous
Not applicable

Hello Terry,

DWR means Design Wide Resources.

In PSoC Creator, open your project tree and open the Design Wide Resources tree. Afterwards open the System settings tab.

Under Programming\Debugging you will find Debug Select. Change the SWD (serial wire debug) option to GPIO.

Now you can use these pins as regular GPIOs.

Regards,

Thanks!

0 Likes