Different Interfaces supported in WICED

  1. Olimex connector

https://www.olimex.com/Products/ARM/JTAG/_resources/OpenOCD/

 

Driver installation for your pc or laptop is required in order to use the Olimex connector.

 

     2. J-Link SEGGER debugger

https://www.segger.com/downloads/jlink/

 

3. CMSIS-DAP

          Used on PSoC+434W kit

 

Pin out for Olimex and JLink

1) Olimex Pin out

 

 

 

2) J-Link SEGGER debugger pinout

 

Different configuration files for OpenOCD in the SDK  :\Wiced-SDK\tools\OpenOCD

 

Olimex connector on WICED EVAL hardware

 

Sample connection to hardware on CYW943907AEVAL1F hardware.

 

 

Connection between CYW43907AEVAL1F and On-board Programmer/Debugger

                  sl.no

CYW43907 Based SIP Pin Name

On-board Programmer/Debugger Connection

1

GPIO_2_JTAG_TCK

FTDI_JTAG_TCK

2

GPIO_3_JTAG_TMS

FTDI_JTAG_TMS

3

GPIO_4_JTAG_TDI

FTDI_JTAG_TDI

4

GPIO_5_JTAG_TDO

FTDI_JTAG_TDO

5

GPIO_6_JTAG_TRST_L

FTDI_JTAG_TRST

(Note: the reset line on this hardware needs to be pulled from J9.3)

 

 

 

Compile and download using WICED SDK

Create the following make target if using Olimex ARM-USB-TINY-H

 

The command for downloading the scan example app in ...\apps\snip\scan

For Olimex ARM-USB-TINY-H

     snip.scan-CYW943907AEVAL1F JTAG=Olimex_ARM-USB-TINY-H download run

 

For Segger J-Link

     snip.scan- CYW943907AEVAL1F JTAG=jlink download run

 

 

If you need to debug add the debug flag

(debug configuration is default in SDK, if not present follow the steps here:

(https://community.cypress.com/community/wiced-wifi/wiced-wifi-forums/blog/2014/05/09/creating-andor-editing-debug-configurations)

 

The command for downloading  and debugging the scan example app in ...\apps\snip\scan

For Olimex ARM-USB-TINY-H

     snip.scan- CYW943907AEVAL1F-debug JTAG=Olimex_ARM-USB-TINY-H download run

 

For Segger J-Link

     snip.scan- CYW943907AEVAL1F-debug JTAG=jlink download run

 

 

Reference:

https://community.cypress.com/community/wiced-wifi/wiced-wifi-forums/blog/2014/06/13/using-olimexsegger-with-bcm94390wcd2-evaluation-board