Avrdude terminal now supports binary numbers

This commit is contained in:
MCUdude
2023-05-22 18:55:12 +02:00
parent 3b40252c6c
commit 12951a0f4a

View File

@@ -2077,12 +2077,12 @@ avrdude> dump eeprom 0 16
Reading | ################################################## | 100% 0.01 s
0000 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff |................|
avrdude> write eeprom 0 1 2 3 4 0xcafe "Avrdude"
avrdude> write eeprom 0 1 2 3 4 0xcafe "Avrdude" 0b10101010
Caching | ################################################## | 100% 0.00 s
avrdude> dump eeprom 0 16
Reading | ################################################## | 100% 0.00 s
0000 01 02 03 04 fe ca 41 76 72 64 75 64 65 00 ff ff |......Avrdude...|
0000 01 02 03 04 fe ca 41 76 72 64 75 64 65 00 55 ff |......Avrdude.U.|
avrdude> flush
avrdude: synching cache to device ...
@@ -2166,7 +2166,7 @@ Reading | ################################################## | 100% 0.00 s
avrdude> write flash -64 1234567890 'A' 'V' 'R' 2.718282 0xaa 0xbb 0xcc "Hello World!"
Caching | ################################################## | 100% 0.00 s
avrdude> write flash -32 -1 0x01 0x02 0x03 0x04 0x05 ...
avrdude> write flash -32 -1 0x01 0b00000010 0b11 0x04 0x05 ...
Caching | ################################################## | 100% 0.00 s
avrdude> read flash -64 -33