Skip to content

Commit

Permalink
Add note about slower baud rate on older Arduinos
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielgrant authored and dylanmckay committed Sep 3, 2020
1 parent 043ad3b commit a268ed9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/004-flashing-a-crate-to-chip.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,10 @@ where
* `-D` disables flash auto-erase
* `-Uflash:w:target/avr-atmega328p/release/blink.elf:e` writes the `blink.elf` program to the Arduino's flash memory

For more debugging information, run `avrdude` with one or more `-v` flags.
For more debugging information, run `avrdude` with one or more `-v` flags.

Note: on older Arduino versions, you may get a series of `avrdude: stk500_getsync(): not in sync: resp=0x00` errors indicating you need to use a slower baud rate:

```bash
avrdude -patmega328p -carduino -P/dev/[PORT] -b57600 -D -Uflash:w:target/avr-atmega328p/release/blink.elf:e
```

0 comments on commit a268ed9

Please sign in to comment.