Update Readme and launch config
This commit is contained in:
parent
7ec26abf77
commit
cc195babdb
12
.vscode/launch.json
vendored
12
.vscode/launch.json
vendored
@ -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",
|
"version": "0.2.0",
|
||||||
"configurations": [
|
"configurations": [
|
||||||
{
|
{
|
||||||
"name": "Launch TCM",
|
"name": "Launch",
|
||||||
"type": "cppdbg",
|
"type": "cppdbg",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"program": "${workspaceFolder}/exe/blinky.axf",
|
"program": "${workspaceFolder}/exe/blinky.axf",
|
||||||
"args": [],
|
"args": [],
|
||||||
"stopAtEntry": true,
|
"stopAtEntry": false,
|
||||||
"cwd": "${workspaceFolder}",
|
"cwd": "${workspaceFolder}",
|
||||||
"environment": [],
|
"environment": [],
|
||||||
"MIMode": "gdb",
|
"MIMode": "gdb",
|
||||||
@ -37,6 +34,11 @@
|
|||||||
"text": "file ${workspaceFolder}/exe/blinky.axf",
|
"text": "file ${workspaceFolder}/exe/blinky.axf",
|
||||||
"ignoreFailures": false
|
"ignoreFailures": false
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"description": "Load.",
|
||||||
|
"text": "load",
|
||||||
|
"ignoreFailures": false
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"description": "Set stack pointer",
|
"description": "Set stack pointer",
|
||||||
"text": "set $sp = g_pfnVectors[0]",
|
"text": "set $sp = g_pfnVectors[0]",
|
||||||
|
@ -34,3 +34,11 @@ to turn the LEDs on and off.
|
|||||||
1. Run the reference application.
|
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).
|
* 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.
|
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
|
||||||
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user