cancel
Showing results for 
Search instead for 
Did you mean: 

WICED Studio Wi-Fi Combo

rzec_3016261
New Contributor II

According to the datasheet (Table 21), I can do SWD debugging over the GPIO1 and 2 ports if I pull them up during POR.

That's nice but I'm unable to find anywhere which GPIO is SWCLK and which GPIO is SWDIO.

Does anyone know where I can find an answer?

Thanks.

0 Likes
Reply
11 Replies
Zhengbao_Zhang
Moderator
Moderator

Hi Friend:

  Actually , I can find JTAG interface from our reference circuit in SDK release, BCM94343WWCD1_P104.pdf .

If you are using J-link or others, it is better to try Jtag function firstly rather than SWD on 4343w.

pastedImage_1.png

and Jtag interface is here:

pastedImage_2.png

And would you please tell if you were using the JTAG interface to debug the wifi firmware issue ?

0 Likes
Reply
rzec_3016261
New Contributor II

Hello zhez,

First, there is a reason I don't allow my real name to be displayed publicly, so please don't address me by that name. Call me whatever you want, but respect my privacy. Please correct your answer. Thanks.

In answer to your reply:

Yes I have found the JTAG option, but I do not have the space in my layout to facilitate a full JTAG interface, I can just squeeze in two wires and a pad. The SWD interface is fully functional, right?

Thanks,

0 Likes
Reply
Zhengbao_Zhang
Moderator
Moderator

Hello Friend:

It is my bad, I will correct my input and be careful about the names .   

0 Likes
Reply
Zhengbao_Zhang
Moderator
Moderator

Hi :

    According to the spec, if you want to use SWD rather than JTAG, you need reserve GPIO_1 and GPIO_2.  and gpio1 and gpio2 are acting as strap pin function also.  So let's forget the module design, I found in evb designs GPIO_2 will be used as other functions like RF_control.

pastedImage_0.png

rzec_3016261
New Contributor II

Hello,

Yes I want to use SWD over GPIO_1/GPIO_2 but now I need to know how to route my PCB.

Is the following correct?

GPIO_1 == SWCLK

GPIO_2 == SWDIO

Thanks.

0 Likes
Reply
Zhengbao_Zhang
Moderator
Moderator

Hi:

    if you are make it as a test point, it should have no problem, you can have a exchange with the two pins.

0 Likes
Reply
rzec_3016261
New Contributor II

So basically, you don't know.

The advice is: build your device and experiment until you find the right connection, so much for first-time-right. My boss is going to love this one

Sorry but this is not very helpful, I need to know the exact function of the two GPIO pins. Someone at Cypress must know this, right?

0 Likes
Reply
MichaelF_56
Moderator
Moderator

We are looking into this internally.

zhez

0 Likes
Reply
Roy_Liu
Moderator
Moderator

WLAN radio SWD access is not supported currently, we will update the device datasheet in future. Could you provide the reason why you need to debug the WLAN radio?

Roy Liu
rzec_3016261
New Contributor II

I don't have a reason, I was designing hardware and would like a way to debug if necessary. Had no space for full JTAG interface.

BTW I missed this answer, is there a way to enable some kind of notification when answers are posted?

0 Likes
Reply
MichaelF_56
Moderator
Moderator

Yes.

pastedImage_0.png

0 Likes
Reply