Skip to content

Commit

Permalink
workflow-2612
Browse files Browse the repository at this point in the history
 - update run-baremetal-reference.md for alternative to fsw upload.
  • Loading branch information
rlcheng committed Aug 26, 2024
1 parent 4ee39ce commit db381f7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/run-baremetal-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@ Note: It has to be the full path to the BaremetalReference.hex file for arduino-

4. While programming the red led will be brighter and then flash. Once done the board will get out of HalfKay bootloader mode (red led off) and run the BaremetalReference application. You should now see an orange flashing led by the button.

### Alternate option for hex file upload
Instead of using arduino-cli, you can also use teensy_loader_cli. This alternative is best if you are running on a headless machine / SBC and using SSH. teensy_loader_cli requires compiling on the host machine but usage is simpler.

1. After building the hex file, simply call:
```
teensy_loader_cli --mcu=TEENSY41 -v -s /full_path/fprime-baremetal-reference/build-artifacts/teensy41/BaremetalReference/bin/BaremetalReference.hex
```

## Using GDS via serial
1. Find the serial port, this varies by your host system but it should show up as a `/dev/tty*` device. On the mac, it's /dev/tty.usbmodem*(9 digit number).
2. Launch GDS:
Expand Down

0 comments on commit db381f7

Please sign in to comment.