Update Readme and launch config

This commit is contained in:
Thomas Klaehn 2019-10-16 10:46:44 +02:00
parent 7ec26abf77
commit cc195babdb
2 changed files with 15 additions and 5 deletions

12
.vscode/launch.json vendored
View File

@ -1,16 +1,13 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Launch TCM",
"name": "Launch",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/exe/blinky.axf",
"args": [],
"stopAtEntry": true,
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"MIMode": "gdb",
@ -37,6 +34,11 @@
"text": "file ${workspaceFolder}/exe/blinky.axf",
"ignoreFailures": false
},
{
"description": "Load.",
"text": "load",
"ignoreFailures": false
},
{
"description": "Set stack pointer",
"text": "set $sp = g_pfnVectors[0]",

View File

@ -34,3 +34,11 @@ to turn the LEDs on and off.
1. Run the reference application.
* Open the project in CCS/IAR. Build the application and debug to load to the device, or flash the binary using [UniFlash](http://processors.wiki.ti.com/index.php/CC3100_%26_CC3200_UniFlash_Quick_Start_Guide).
2. Verify the LaunchPad LEDs (D5, D6 and D7) toggle on and off.
## Debug
1. Start debug server:
```shell
docker run --privileged -p 3333:3333 cc3200-env sh /bin/start_openocd.sh
```