6.7 KiB
BioProCC2650
BioPro Device
Major source code path
simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/headstage.h
simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/simple_peripheral.c
simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/main.c
Current project and state
-
Elite
simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/headstage_tni.hbranch
-
Neulive 1.2
simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/headstage_uni.hbranch
neulive1.2/* -
Neulive 1.3
simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/headstage_neulive.hbranch
-
EliteZM
simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/headstage_zm.hbranch
elite_zm/* -
NeuliveSTI
simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/headstage_sti.hbranch
neuliveSTI/*
Notable source code
-
gpio table
simplelink/ble_sdk_2_02_02_25/src/boards/BOOSTXL_CC2650MA/BOOSTXL_CC2650MA.hsimplelink/ble_sdk_2_02_02_25/src/boards/CC2650_LAUNCHXL/CC2650_LAUNCHXL.h -
characteristic
simplelink/ble_sdk_2_02_02_25/src/profiles/simple_profile/simple_gatt_profile.hsimplelink/ble_sdk_2_02_02_25/src/profiles/simple_profile/cc26xx/simple_gatt_profile.c
BioPro Control
major source code path:
simplelink/ble_sdk_2_02_02_25/src/examples/host_test/cc26xx/app/host_test_app.c
simplelink/ble_sdk_2_02_02_25/src/examples/host_test/cc26xx/app/main.c
branch
host_test/master
release/host_test-*
How to install this project in your PC
install CCStudio
Prerequisite:
anti-virus software might cause some problems, disable it while installing is recommended.
Install CCS (Online install)
-
code composer studio : choose the latest version (we use 8.2.0.00007, Online Installer, as example) of Code Composer Studio.
-
run installer
-
accept the license
-
install at folder
c:/ti -
select all Processor Support
-
select all Debug Probes.
-
Finish. Allow the network access if the firewall jumps a warning dialog. Wait for the install process......
Offline install
-
code composer studio : choose the latest version (we use 8.2.0.00007, Offline Installer) of Code Composer Studio.
-
Unzip it
-
Open the folder
CCS8.2.0.00007_win32-> Open sub-folderCCS8.2.0.00007_win32 -
run installer ccs_setup_8.2.0.00007
-
accept the license
-
install at folder
c:/ti -
select all Processor Support
-
select all Debug Probes
-
Finish. Wait for the install process......
-
accept
Blackhawk Controldialog popped out during the process (we will not use this directly) -
select options to create desktop shortcut and launch CCStudio
After install, update the CCStudio
-
at the first launch, CCStudio will ask you to select a directory as workspace. Use the default. -> Launch
-
help -> check for updates -> select all available updates -> next
-
accept the licenses -> finish -> wait for the installation...... -> Restart Now
install BLE STACK
-
BLE STACK:
chooseBLE-STACK-2-2-2Free version. (a TI account is required)- at the U.S. Government export approval page, check all your information and submit then start to download.
-
run ble_sdk_2_02_02_25_setup
-
accept the license agreement
-
use the default installation directory
C:\ti\simplelink-> wait for the install process...... -
TI-RTOS for CC13xx and CC26xx Wireless MCUs Setup Wizard will jump out -> next at the same time, ble_sdk_2_02_02_25_setup will still be running, don't close the window
-
accept the license agreement
-
use the default installation directory
C:/ti-> wait for the install process...... -
after TI-RTOS for CC13xx and CC26xx Wireless MCUs Setup Wizard has been install. keep waiting for ble_sdk_2_02_02_25_setup to process
-
finish
First run CCStudio and setting
-
start CCStudio
-
File -> import -> C/C++ -> CCS Projects -> next
-
Select search-directory
C:/ti/ble_sdk_2_02_02_25/examples/cc2650lp/simple_peripheral/ccs-> OK -
select all discovered projects -> finish
-
right click
simple_peripheral_cc2650lp_app-> Properties -> Products -> XDCtools version: 3.32.2.25_core -
remember to select TI-RTOS for CC13xx and CC26xx: 2.21.1.08 and Other Repositories: C:/to/ccsv8/ccs_base
-
Project -> Tool-chain: Compiler version: TI v18.1.3.LTS
-
apply amd close
-
right click simple_peripheral_cc2650lp_stack -> Properties -> Products -> select all
-
Project -> Tool-chain: compiler version: TI v18.1.3.LTS
-
Click build and it's done
clone this project
with Command line interface (git-bash)
-
cd c: -
rename ti directory
mv ti ti_backup -
clone our project.
git clone URL ti, where URL is our project url on gitlab. -
move CCStudio back to ti directory
mv -t ti ti_backup/ccsv8 ti_backup/xdctools-* -
open CCStudio and rebuild your project, check it work as normal.
Optional
install git if you don't install it
-
choose corresponding version for your computer from 'Git for Windows Setup'
doxygen: tool to help documenting code
-
download from main page http://www.doxygen.nl/download.html
-
according to different OS, download corresponding version.
-
press keyboard 'ctrl' + 'shift' + 'a' to search external tool, select 'external tools-setting'
-
add external tool by pressing '+'
-
name this external tool in the column 'name'
-
set the path of doxygen execute file in the column 'program'
-
set the repository we want to generate document automatically in the column 'working directory'
-
set hotkey of doxygen to run : 'File' -> 'Setting' -> 'Keymap' -> 'external tools'
-
press the hotkey to run doxygen
Troubleshooting
-
jump a dialog with MSVC components failed to install. Please install executables manually from c:/ti/ccsv8/installers before using CCS
ignore it.
-
jumps a warning dialog of Windows Defender Allow the network access.
Copyright (c) 2019. BioPro. Scientific.