Confluence for SCuM Documentation and Guides: https://crystalfree.atlassian.net/wiki/spaces/SCUM/overview?homepageId=229432
- Windows is the recommended OS for SCuM development.
- Current version of SCuM is
scm_v3c
- Create a fork of this repo onto your own Github account
- Create a branch off of the
develop
branch - Submit pull requests from your branch into the
develop
branch
- Install ARM Keil: https://www.keil.com/demo/eval/arm.htm, default settings (
MDK528A.EXE
known to work) - Open
scm_v3c/applications/all_projects.uvmpw
- In Keil project/workspace pane, right click desired project and click
Set as Active Project
- Press build button to generate
.bin
file for active project (scm_v3c/applications/<app_name>/Objects/<app_name>.bin
)
freq_sweep_rx_simple: README
freq_sweep_tx_simple: README
hello_world: README
log_imu: README
continuously_cal: TODO
freq_sweep_lc_count: TODO
freq_sweep_rx: TODO
freq_sweep_tx: TODO
freq_sweep_tx_rx_transit: TODO
if_estimate_test: TODO
pingpong_test: TODO
quick_cal: TODO
- Create new directory
scm_v3c/applications/<project_name>
- Copy
hello_world.c
,hello_world.uvoptx
, andhello_world.uvprojx
fromscm_v3c/applications/hello_world/
into new directory (replacehello_world
with<project_name>
in the file name for these three files) - Find and replace all instances of
hello_world
with<project_name>
in the file contents of<project_name>.uvoptx
, and<project_name>.uvprojx
- Open
scm_v3c/applications/all_projects.uvmpw
amd in Keil pressProject > Manage > Multi-Project Workspace...
and add path to<project_name>.uvprojx
file (it's okay to put absolute path since it will be saved as relative path)
Bootload & Wiring Guide: https://crystalfree.atlassian.net/wiki/spaces/SCUM/pages/1901559821/Sulu+Programming+With+nRF+Setup
- install
- https://www.python.org/downloads/ (
Python 3.7.4
known to work) - Arduino IDE (
arduino-1.8.9-windows.zip
known to work) - Teensyduino (
TeensyduinoInstall.exe
known to work)
- https://www.python.org/downloads/ (
- connect both Teensy+SCuM board to computer, creates a COM port for each
- run
python scm_v3c\bootload.py --image <path to .bin file>