Skip to content

Commit a268ed9

Browse files
gabrielgrantdylanmckay
authored andcommitted
Add note about slower baud rate on older Arduinos
1 parent 043ad3b commit a268ed9

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/004-flashing-a-crate-to-chip.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,10 @@ where
2525
* `-D` disables flash auto-erase
2626
* `-Uflash:w:target/avr-atmega328p/release/blink.elf:e` writes the `blink.elf` program to the Arduino's flash memory
2727

28-
For more debugging information, run `avrdude` with one or more `-v` flags.
28+
For more debugging information, run `avrdude` with one or more `-v` flags.
29+
30+
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:
31+
32+
```bash
33+
avrdude -patmega328p -carduino -P/dev/[PORT] -b57600 -D -Uflash:w:target/avr-atmega328p/release/blink.elf:e
34+
```

0 commit comments

Comments
 (0)