We issue hex files for the TI CC2640 BLE MicroController
Unless otherwise noted, they are issued as a complete file, including both the application and the BLE stack
typically they might be called something like
CC2640S1_BLE010_FWVer101_ALL_20180822_2100.hex
- the BLE010 is the device name / hardware name – in this case a sensor
- FWVer101 is the firmware version
- ALL indicates both the app and stack have been joined into the one hex file
- _20180822_2100 is the firmware revision
TI offer different tools to program their controller
We use the XDS110 they include on their launchpads
LAUNCHXL-CC2650
SimpleLink™ CC2650 Wireless MCU LaunchPad™ Kit
Last time we purchased them through Mouser 595-LAUNCHXL-CC2650
Depending on which rev of Launchpad you purchase, the connectors may be in different locations, but on Rev 1.1 and on Rev 1.2 (which we have) you can access the jtag from the XDS110 on a 10 pin connector
The connector is a 2mm pitch, so you will need to either purchase or make up your own patch lead to connect the Launchpad XDS110 to the target system
We buy 2mm IDC plugs and 1mm ribbon cable, from Digikey / Mouser / EBay / Aliexpress.
We also use a JST SH 1mm pitch connector on our target hardware
PLEASE check the schematics and programming lead notes for the hardware you are programming to assemble your lead
Pictured above (cJTAG connection – 2 wire) is the programming patch lead from the 10 pin 2mm IDC plug (on the launchpad) to the 5 pin JST SH 1mm plug to connect to the target (in this case a BLE010). The VDD marking reminds me I have VDD connected in the lead as well.
Notice on the launchpad we have moved all the jumpers so that they do not link from the SDX110 to the CC2650 (except the GND and 3V3 jumpers because we happen to be running firmware on the CC2650).
If you are connecting a CC2650STK sensortag as the target, you will use a patch lead with a IDC plug at each end
Pictured above JTAG connection – 4 wire
At the time of writing we are using the TI software tool called Flash Programmer 2 (Version 1.7.3) on a 64 bit windows PC
This is a stand alone programmer
When you connect the Launchpad for the first time you most probably will be asked to update the firmware on the XDS110 – so for the first time just connect the launchpad to the PC with no target attched
If you are using a 2 wire cJTAG connection, you will need to go into the file system and rename some files
On the left side of Flash Programmer 2 you need to select the target, in this case a CC2640 should be listed
and in the file you need to browse and select the hex file you received / downloaded
and then click the arrow to start