Showing results for 
Search instead for 
Did you mean: 

Resource Library

Programming using ChipLoad.exe


Programming using ChipLoad.exe

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

Chipload (/<BTdevice_workspace>/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 the ChipLoad.exe from the folder location: C:\Users\shjl\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 the 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


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 above command downloads 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.


For Modus Toolbox 2.2 or newer, ChipLoad.exe is found in the workspace project path:


Run command tool, and go into directory with ChipLoad.exe.

Example of what to enter at prompt:

ChipLoad.exe -BLUETOOLMODE -PORT COM22 -BAUDRATE 115200 -NOVERIFY -CHECKCRC -MINIDRIVER C:/Users/Garofolo/mtw/CYW20721/LE_Battery_Service/build/CYW920721B2EVK-02/Debug/minidriver.hex -BTP C:\Users\Garofolo\mtw\CYW20721\LE_Battery_Service\build\CYW920721B2EVK-02\Debug\BLE_BatteryServer.btp -CONFIG C:/Users/Garofolo/mtw/CYW20721/LE_Battery_Service/build/CYW920721B2EVK-02/Debug/BLE_BatteryServer_download.hex



Version history
Revision #:
1 of 1
Last update:
‎Jun 05, 2019 12:25 AM
Updated by: