Reviving the TI Stellaris Evalbot in 2021! 🤖
The following are required to build and run this project.
Get StellarisWare: https://www.ti.com/tool/SW-DRL#downloads (yes, finally a link that is not dead!)
Extract to ../stellarisware
(or update the makefile with your installation path)
EDIT 2023: That link seems to be dead as well, added a copy of stellarisware
to the repo!
Get gcc-arm-none-eabi: https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-rm/downloads
Installation instructions for Ubuntu 20.04: https://askubuntu.com/a/1243405/1076308
Available for OS X with brew
:
brew install --cask gcc-arm-embedded
Get OpenOCD: https://openocd.org/pages/getting-openocd.html
For supported Linux distributions, it can be installed with apt
:
apt install openocd
or with brew
:
brew install open-ocd
This project includes a .vscode
folder with tasks.json
for building and uploading. There is also a launch.json
for debugging. Debugging requires on the Coretex-Debug addon:
VSCodium: https://open-vsx.org/extension/marus25/cortex-debug
VSCode: https://marketplace.visualstudio.com/items?itemName=marus25.cortex-debug
- Clone or download the code from this repository
- Place this folder next to the
stellarisware
folder, or updatemakefile
- Navigate to this folder and run
make
Navigate to this folder and run:
openocd -f evalbot_flash.cfg
Navigate to this folder and run:
openocd -f evalbot.cfg
Then run GDB in a second terminal:
arm-none-eabi-gdb gcc/project.axf
Example of commands to run in GDB to load the program and set breakpoint in main()
:
target extended-remote localhost:3333
monitor reset
load
break main
continue
detach
quit