*** Update July 31, 2015 ***
BLE Stack V2.1 is now released and is integrated with TI-RTOS Version 2.13.00.06. The porting instructions below are not required when using BLE-Stack V2.1. Please download the latest BLE-Stack at www.ti.com/ble-stack.
*** End update ***
Version 2.13.00.06 is released, fixing a number of issues with drivers as well as problems with periodically higher power consumption due to Power driver recharge algorithm bugs.
Chip revisions 2.0 and 2.1 are no longer supported.
Download link:
http://ti.com/tool/ti-rtos
Documentation and release notes:
tirtos_simplelink_2_13_00_06/docs/docs_overview.html
Release notes TI RTOS peripheral drivers:
tirtos_simplelink_2_13_00_06\docs\cc26xxTiRtos_drivers_release_note.txt
Patch (shows all changes needed in code base)
https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/538/ble_5F00_cc26xx_5F00_2_5F00_00_5F00_42893.patch
Known issues
The 5x5 board file does not work for CCS when using UART. See post for more details and fix:
Porting guide BLE-stack 2.0.0 to TI RTOS 2.13.00.06
Note: BLE-stack 2.0.0 has not been tested or certified with this release of TI RTOS. There might therefore be unknown issues and it is not recommended using this combination for mass production but it can be used as an intermediate step until BLE-stack 2.1 is released.
The guidelines below describe how to port the SimpleBLEPeripheral project. Porting other projects should be similar to this.
IAR
- Goto Tools->Configure Custom Argument variables
- Update variables as described:
- TI_RTOS_DRIVERS_BASE = C:\ti\tirtos_simplelink_2_13_00_06\packages
- CC26XXWARE = C:\ti\tirtos_simplelink_2_13_00_06\products\cc26xxware_2_21_01_15600
- XDCROOT = C:\ti\xdctools_3_31_01_33_core
- XDCPATH = C:\ti\tirtos_simplelink_2_13_00_06\products\bios_6_42_00_08\packages
- Update variables as described:
- Close work-space and re-open
Stack project
- Open pwrmon.c, found in project under HAL->Target->CC2650->Drivers
- Comment out function PWRMON_init (currently unused)
- Re-build project
Application project
- Open appBLE.cfg, remove line Boot.checkBackdoor = true;
- TI RTOS backdoor has been removed starting from this release
- Delete SimpleBLEPeripheral\CC26xx\IAR\Application\CC2640\configPkg folder (created by TI RTOS build tools)
- Delete SimpleBLEPeripheral\CC26xx\IAR\Config\src folder (created by TI RTOS build tools)
- Re-build project
CCS
Placeholder text
Debugging
"Warm" resets of the MCU domain only are no longer supported and the HW will convert them to a full reset equivalent to a pin reset. This causes the device to lose contact with the debugger.
When debugging the device and you want to reset the recommended way of doing this is using the "Board reset" option. This option makes the debugger reset the device with a pin reset and then halts the CPU before any user code is executed.
Enjoy!