Files
2019-08-29 16:43:37 +00:00

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

  1. Elite

    simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/headstage_tni.h

    branch

  2. Neulive 1.2

    simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/headstage_uni.h

    branch

    neulive1.2/*

  3. Neulive 1.3

    simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/headstage_neulive.h

    branch

  4. EliteZM

    simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/headstage_zm.h

    branch

    elite_zm/*

  5. NeuliveSTI

    simplelink/ble_sdk_2_02_02_25/src/examples/simple_peripheral/cc26xx/app/headstage/headstage_sti.h

    branch

    neuliveSTI/*

Notable source code

  • gpio table

    simplelink/ble_sdk_2_02_02_25/src/boards/BOOSTXL_CC2650MA/BOOSTXL_CC2650MA.h

    simplelink/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.h

    simplelink/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)

  1. code composer studio : choose the latest version (we use 8.2.0.00007, Online Installer, as example) of Code Composer Studio.

  2. run installer

  3. accept the license

  4. install at folder c:/ti

  5. select all Processor Support

  6. select all Debug Probes.

  7. Finish. Allow the network access if the firewall jumps a warning dialog. Wait for the install process......

Offline install

  1. code composer studio : choose the latest version (we use 8.2.0.00007, Offline Installer) of Code Composer Studio.

  2. Unzip it

  3. Open the folder CCS8.2.0.00007_win32 -> Open sub-folder CCS8.2.0.00007_win32

  4. run installer ccs_setup_8.2.0.00007

  5. accept the license

  6. install at folder c:/ti

  7. select all Processor Support

  8. select all Debug Probes

  9. Finish. Wait for the install process......

  10. accept Blackhawk Control dialog popped out during the process (we will not use this directly)

  11. select options to create desktop shortcut and launch CCStudio

After install, update the CCStudio

  1. at the first launch, CCStudio will ask you to select a directory as workspace. Use the default. -> Launch

  2. help -> check for updates -> select all available updates -> next

  3. accept the licenses -> finish -> wait for the installation...... -> Restart Now

install BLE STACK

  1. BLE STACK:
    choose BLE-STACK-2-2-2 Free version. (a TI account is required)

    1. at the U.S. Government export approval page, check all your information and submit then start to download.
  2. run ble_sdk_2_02_02_25_setup

  3. accept the license agreement

  4. use the default installation directory C:\ti\simplelink -> wait for the install process......

  5. 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

  6. accept the license agreement

  7. use the default installation directory C:/ti -> wait for the install process......

  8. 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

  9. finish

First run CCStudio and setting

  1. start CCStudio

  2. File -> import -> C/C++ -> CCS Projects -> next

  3. Select search-directory C:/ti/ble_sdk_2_02_02_25/examples/cc2650lp/simple_peripheral/ccs -> OK

  4. select all discovered projects -> finish

  5. right click simple_peripheral_cc2650lp_app -> Properties -> Products -> XDCtools version: 3.32.2.25_core

  6. remember to select TI-RTOS for CC13xx and CC26xx: 2.21.1.08 and Other Repositories: C:/to/ccsv8/ccs_base

  7. Project -> Tool-chain: Compiler version: TI v18.1.3.LTS

  8. apply amd close

  9. right click simple_peripheral_cc2650lp_stack -> Properties -> Products -> select all

  10. Project -> Tool-chain: compiler version: TI v18.1.3.LTS

  11. Click build and it's done

clone this project

with Command line interface (git-bash)

  1. cd c:

  2. rename ti directory

    mv ti ti_backup

  3. clone our project.

    git clone URL ti, where URL is our project url on gitlab.

  4. move CCStudio back to ti directory

    mv -t ti ti_backup/ccsv8 ti_backup/xdctools-*

  5. open CCStudio and rebuild your project, check it work as normal.

Optional

install git if you don't install it

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.