CYW20706 JTAG Header enabling

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

cross mob
makuc_2836906
Level 1
Level 1

Hi,

we have added a jtag header to the board CYW920706WCDEVAL to use it with Segger JLINK probes.

In the file "sparinit.c" is a comment on line 68. This mentioned that the compiler flags must be changed.

We changed it too:

C_FLAGS += -DSWD_CLK=SWDCK_ON_UART_TXD

C_FLAGS += -DSWD_IO=SWDIO_ON_UART_RXD

The problem now is that the debugger runs endless in the loop inside the macro "BUSY_WAIT_TILL_MANUAL_CONTINUE_IF_DEBUG_ENABLED();"

It is not possible to debug the program.

What must be done that this works?

Manfred

0 Likes
1 Solution
AnjanaM_61
Moderator
Moderator
Moderator
5 comments on KBA First comment on KBA 5 questions asked

Hi Manfred,

Please make sure you have done the modifications as per in 'Debugging-Support-Using-J-Link.pdf ' available in the doc folder of WICED SDK (  /20706-A2_Bluetooth/doc/Debugging-Support-Using-J-Link.pdf  )

Thanks,

Anjana

View solution in original post

1 Reply
AnjanaM_61
Moderator
Moderator
Moderator
5 comments on KBA First comment on KBA 5 questions asked

Hi Manfred,

Please make sure you have done the modifications as per in 'Debugging-Support-Using-J-Link.pdf ' available in the doc folder of WICED SDK (  /20706-A2_Bluetooth/doc/Debugging-Support-Using-J-Link.pdf  )

Thanks,

Anjana