7.1 Flashing the Bluetooth Code
STSW-LINK004
You can use the STSW-LINK004 utility to flash the software when you have created the binary file through IAR or KEIL.
To flash the software, do the following:
- Open the file from the File drop-down menu.
- Select the demonstration to load on the device. (This example uses SPPDemo.)
- For NoOS, navigate to C:\TI\Connectivity\CC256XBT\CC256xSTM32BluetopiaSDK\v4.0.2.1\NoOS\STM3240G-EVAL\Samples\SPPDemo\NoOS\EWARM\Debug\Exe.
- For FreeRTOS, navigate to C:\TI\Connectivity\CC256XBT\CC256xSTM32BluetopiaSDK\v4.0.2.1\FreeRTOS\STM3240G-EVAL\Samples\SPPDemo\FreeRTOS\EWARM\Debug\Exe.
- Select a bin file. (This example uses SPPDemo.bin.)
- Click Program & Verify... from the Target drop-down menu. (See Figure 15.)
NOTE
The information for your device shows.
- Ensure the values in Device Information changed to your device information.
- Press Start. (See Figure 16.)
NOTE
The command window displays Verification...OK. (See Figure 17.)