SWRU428 September   2015 CC2564MODA

 

  1.   Dual-Mode Bluetooth® Stack on STM32F4 MCUs
    1.     Trademarks
    2. Features
    3. Bluetooth Profiles
    4. Sample Application Overview
    5. CC256XSTBTBLESW Hardware and Software Requirements
    6. Setting Up the Hardware
    7. Setting Up the Software
    8. Building and Flashing the Bluetooth Code (STM3240G-EVAL)
      1. 7.1 Flashing the Bluetooth Code
    9. Applications
    10. Classic Bluetooth Sample Applications
    11. 10 Classic Bluetooth + Bluetooth low energy Applications
    12. 11 Bluetooth low energy Applications
  2.   Revision History

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:

  1. Open the file from the File drop-down menu.
  2. 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.
  3. Select a bin file. (This example uses SPPDemo.bin.)
  4. Click Program & Verify... from the Target drop-down menu. (See Figure 15.)
  5. CC256x Program_Verify_CTRL_P_swru428.gifFigure 15. Program and Verify

    NOTE

    The information for your device shows.

  6. Ensure the values in Device Information changed to your device information.
  7. Press Start. (See Figure 16.)
  8. CC256x start_BT_code_flash_swru428.gifFigure 16. Start Download

    NOTE

    The command window displays Verification...OK. (See Figure 17.)

    CC256x Verification_OK_swru428.gifFigure 17. Verification...OK