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

cross mob

Programming Using Chipload.exe

Programming Using Chipload.exe

ChaitanyaV_61
Employee
Employee
50 questions asked 25 likes received 25 sign-ins

This article gives detailed steps on how to use chipload.exe to program Infineon CYW207xx Bluetooth chips.

Chipload workspace (/[BTdevice_ ]/wiced_tools/ChipLoad) is a tool provided by Infineon 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.

pastedImage_2.png

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.

 

Author: SheetalJ_96           Version: **

Translation - Japanese: Chipload.exeを使用したプログラミング- KBA228316 - Community Translated (JA)

2009 Views
Comments
ChiP_16
Employee
Employee
5 questions asked 5 likes given 5 solutions authored

For Modustoolbox with BTSDK, chipload.exe is located at workspace/mtb_shared/wiced_btsdk/dev-kit/btsdk-tools/release-vx.x.x/Windows/Chipload

The app_name.btp, minidriver.hex and app_name_download.hex  files are located at workspace/app_name/build/CYW920xxxEVK-xx/Debug

 

ChiP_16
Employee
Employee
5 questions asked 5 likes given 5 solutions authored

For user who prefer GUI, you can use AIROC Bluetooth Test and Debug Tool.

https://softwaretools.infineon.com/tools/com.ifx.tb.tool.airocbluetoothtool

You can select Program Device under Tools menu.

ChiP_16_0-1705634746441.png