Skip to content

Commit 08bd5fa

Browse files
committed
Add string write to terminal example
1 parent 17b67da commit 08bd5fa

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/doc/avrdude.texi

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1553,14 +1553,16 @@ avrdude: AVR device initialized and ready to accept instructions
15531553
Reading | ################################################## | 100% 0.01s
15541554
15551555
avrdude: Device signature = 0x1e970c (probably avr128db48)
1556-
avrdude> write eeprom 0 1234567890 'A' 'V' 'R' 2.718282
1557-
>>> write eeprom 0 1234567890 'A' 'V' 'R' 2.718282
1556+
avrdude> write eeprom 0 1234567890 'A' 'V' 'R' 2.718282 "Hello World!"
1557+
>>> write eeprom 0 1234567890 'A' 'V' 'R' 2.718282 "Hello World!"
15581558
Warning: no size suffix specified for "1234567890". Writing 4 byte(s)
1559+
Info: Writing 24 bytes starting from address 0x00
15591560
15601561
avrdude> dump eeprom 0 32
15611562
>>> dump eeprom 0 32
1562-
0000 d2 02 96 49 41 56 52 55 f8 2d 40 ff ff ff ff ff |...IAVRU.-@.....|
1563-
0010 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
1563+
1564+
0000 d2 02 96 49 41 56 52 55 f8 2d 40 48 65 6c 6c 6f |...IAVRU.-@Hello|
1565+
0010 20 57 6f 72 6c 64 21 00 ff ff ff ff ff ff ff ff | World!.........|
15641566
15651567
avrdude> q
15661568
@end cartouche

0 commit comments

Comments
 (0)