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?
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 )