Programming Using Chipload.exe - KBA228316

Version: **

 

This document gives detailed steps on how to use chipload.exe to program Cypress CYW207xx Bluetooth chips.

 

Chipload workspace (/[BTdevice_ ]/wiced_tools/ChipLoad) is a tool provided by Cypress to program the device without using WICED SDK or ClientControl utility. To program to device using Chipload, first run ChipLoad.exe from the folder location:

 

C:\Users\[USER NAME]\Documents\WICED-Studio-6.2\wiced_tools\ChipLoad\Win32

 

A specific command format is used to download the Hex file to the device, as follows:

 

./ChipLoad.exe -BLUETOOLMODE [-PORT COM port] [-BAUDRATE nnnn] [-NOVERIFY] [-CHECKCRC] [-MINIDRIVER minidriver file] [-CONFIG config data file] [-BTP btp file name] [-NODLMINIDRIVER] [-LOGTO[X} optional log file] [-DLMINIDRIVERCHUNKSIZE byte size]

 

Detailed information about every parameter is given below:

 

PORT         : UART COM port id (HCI UART)

 

BAUDRATE     : to specify the Baudrate of the device; typically 115200

 

NOVERIFY     : an optional parameter that prevents the verification of the bytes regardless of what is specified in BTP file

 

CHECKCRC     : an optional parameter that directs Chiploader to do CRC checks on loaded areas

 

MINIDRIVER   : to specify the minidriver .hex file which is used to load the program .hex file to the device

 

BTP          : to load the BTP file which contains configuration data

 

CONFIG       : to specify the program .hex file

 

NODLMINIDRIVER : used if device has never been programmed or device is in recovery mode

 

LOGTO (or LOGTOX) : an optional parameter allowing to print the logs in a text file, LOGTOX prints more detailed information.

 

Example:

ChipLoad.exe -BLUETOOLMODE -PORT COM23 -NOVERIFY -MINIDRIVER C:\Users\shjl\Documents\WICED-Studio-6.2\20719-B1_Bluetooth\platforms\minidriver-20739A0-uart.hex -BTP C:\Users\shjl\Documents\WICED-Studio-6.2\20719-B1_Bluetooth\platforms\20719_OCF.btp -CONFIG C:\Users\shjl\Documents\WICED-Studio-6.2\20719-B1_Bluetooth\build\gpio-CYW920719Q40EVB_01-rom-ram-Wiced-release\gpio-CYW920719Q40EVB_01-rom-ram-Wiced-release.hex

 

Executing this command downloads the snip.gpio app to the CYW920719Q40EVB-01 EVAL board.

 

Note: You can include all the needed files into a single folder, so that it becomes more simpler to access the files and program the device.