Skip to content

Commit

Permalink
Add Windows-specific board instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
marnovandermaas authored and HU90m committed Sep 3, 2024
1 parent b8b160d commit edead64
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions doc/guide/running-software.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,19 @@ cp build/cheriot/cheriot/release/sonata_simple_demo.uf2 "/run/media/$USER/SONATA
sync # This `sync` command is rarely necessary.
```

*On Windows it's likely easier to use the file explorer to copy the UF2 to the `SONATA` drive.*
*Look for the Linux section below `This PC`.*

To see the UART console logs, attach to `/dev/ttyUSB2` at a Baud rate of 921,600 with your favourite terminal.

```sh
picocom /dev/ttyUSB2 -b 921600 --imap lfcrlf
```

*On Windows, we recommend to use [PuTTY](https://www.putty.org/) to connect to serial ports.*
*Select "Serial" as "Connection type", put the COM port in the "Serial line" text field, and set "Speed" to 921600.*
*To find out what serial ports are available, you can open Device Manager and all connected serial ports are listed under "Ports (COM & LPT)" section.*

When running the `sonata_simple_demo.uf2`, you should see the following console output as well as some flashing LEDs and LCD activity.
This UART output only gets printed once, so you may need to press the reset button (SW5) to see the output if you attach your console after programming.

Expand Down

0 comments on commit edead64

Please sign in to comment.