Joerg Wunsch
34168759b0
Fix a one-bit error in ATmega165* signature read command.
2022-03-07 22:52:14 +01:00
Jörg Wunsch
0f4b5b223b
Merge pull request #894 from MCUdude/terminal
...
Improve terminal read functionality
2022-03-03 23:14:37 +01:00
Jörg Wunsch
0b82b5c573
Merge pull request #896 from MCUdude/terminal-write
...
Fix ugly terminal write bug
2022-03-03 23:12:47 +01:00
Jörg Wunsch
9355d67e0f
Merge pull request #893 from MCUdude/userrow-fix
...
Support both userrow and usersig names
2022-03-03 23:09:20 +01:00
MCUdude
d9c52249a9
Restructure "write mode" code
2022-03-03 19:37:42 +01:00
MCUdude
c7174d7678
Update description
2022-03-02 20:24:51 +01:00
MCUdude
df6e2eea12
Fix terminal write bug
...
Wouldn't write data properly after an integer >= 2 bytes was written
2022-03-02 20:09:59 +01:00
Jan Egil Ruud
0c8b42524e
For UPDI devices do not add offset when accessing flash.
2022-03-01 14:24:33 +01:00
MCUdude
b688b1f601
Add support for read with ... "operator"
...
This means that you can use ... to read the "rest" of the memory.
$ read eeprom ... will dump the entire memory
$ read eeorm 0x80 ... will dump the memory from address 0x80 to the end address
2022-02-28 23:59:30 +01:00
MCUdude
d89f695c31
Incread default read size to 256 bytes
2022-02-28 23:59:30 +01:00
MCUdude
1f2b570216
Support both userrow and usersig names
2022-02-28 19:46:47 +01:00
MCUdude
07ea8f5e09
Add userrow and usersig aliases
2022-02-21 22:36:06 +01:00
Joerg Wunsch
0269817217
Add a missing @end table
...
Has been slipped when adding some -x documentation before.
2022-02-21 22:01:05 +01:00
Jörg Wunsch
008f95f6ff
Merge pull request #880 from MCUdude/terminal-write
...
Avrdude terminal write improvements
2022-02-21 21:53:38 +01:00
MCUdude
a73567893b
Properly handle negative number sizes
2022-02-21 13:43:38 +01:00
MCUdude
fa706f0d01
Handle data size warning better
...
Now it only outputs a warning when the size of the data the user input is actually ambiguous
2022-02-20 23:03:31 +01:00
MCUdude
3532c567ac
Add suffix for 8-bit data
...
use [val]HH or [val]hh to force 8-bit writes to memory
2022-02-20 22:23:15 +01:00
MCUdude
bb99a36a14
Formatting
...
Use enums for write mode, and change datatypes from int/long/char to int32_t/uint8_t where possible
2022-02-20 19:08:30 +01:00
MCUdude
a9b756e5c7
Add struct initialization list
2022-02-20 12:46:53 +01:00
Dawid Buchwald
cf67a76c23
Merge branch 'main' into ser_posix_cleanup
2022-02-20 12:37:19 +01:00
MCUdude
0e29b43bd0
Add support for 64-bit integers
...
Also, move everything data related into a struct, to keep tings a little more organized
2022-02-19 23:34:50 +01:00
MCUdude
4b9219edee
Add support for suffixes for manually specifying data size
...
H/h/S/s: 16-bit, L/l: 32-bit, F/f: 32-bit float
2022-02-19 22:48:58 +01:00
Jörg Wunsch
3efd3b2052
Merge pull request #873 from MCUdude/add-arduino-programmers
...
Add missing USBtiny derived programmers
2022-02-19 21:51:31 +01:00
Dawid Buchwald
75ab3c418e
Fixed warning with unsigned char
2022-02-19 21:18:03 +01:00
MCUdude
62f3b84eee
Use union for simpler data representation
...
It is a bit hacky, but for this purpose it fits surprisingly well
2022-02-19 20:15:52 +01:00
Dawid Buchwald
066f54fbfa
Cleanup of POSIX serial init code
2022-02-19 18:00:58 +01:00
Dawid Buchwald
de19f203e0
Smallest possible fix for PL2303HX
2022-02-19 15:07:32 +01:00
Jörg Wunsch
d054c68b19
Merge pull request #878 from MCUdude/fix-pkob-target-voltage
...
Fix Curiosity Nano target voltage
2022-02-18 23:01:49 +01:00
Jörg Wunsch
c2fe68ef7d
Merge pull request #877 from MCUdude/jtag3-verbosity
...
Reduce jtag3 output verbosity
2022-02-18 22:38:40 +01:00
Hans
c345985928
Merge branch 'avrdudes:main' into terminal-write
2022-02-18 22:09:42 +01:00
Joerg Wunsch
c1ec836fbd
PR #882 done
2022-02-18 21:37:27 +01:00
Marius Greuel
59ecd4cc65
Remove libhid support in ser_avrdoper.c in favor of libhidapi
2022-02-18 20:05:52 +01:00
Marius Greuel
e31be88ce0
Add LIB_LIBHID to CMake project to fix MinGW build issue
2022-02-18 19:58:13 +01:00
MCUdude
6e7f38e81f
Properly handle negative numbers
...
Now -3.141592 and -32768 are valid numbers that's stored correctly in memory
2022-02-18 09:58:16 +01:00
MCUdude
10e05eed21
Require single quotes when writing characters
2022-02-18 09:58:16 +01:00
MCUdude
551046052e
Add support for writing floats
2022-02-18 09:58:16 +01:00
MCUdude
2a92b8cce4
Add support for memory "fill" with arbitrary data too
...
If you run the following command: $ write eeprom 0x00 0x10 A B C ...
It will write the following data to EEPROM:
|ABCCCCCCCCCCCCCC|
starting from address 0x00
2022-02-18 09:58:16 +01:00
MCUdude
c007dc7d24
Add support for writing single characters
...
Now this is possible: write eeprom 0x00 a b c d e f 0x80 0x90 ! H E L L O
2022-02-18 09:58:16 +01:00
MCUdude
2589b17640
Add support for memory "fill" mode
...
Syntax: write <memtype> <start addr> <no. byte to write> <byte to write> ...
2022-02-18 09:58:13 +01:00
MCUdude
19e2cae053
Add Curiosity Nano to terminal list
2022-02-14 10:30:21 +01:00
MCUdude
932f68f24c
Set target voltage even thoug not target is detected
2022-02-14 10:28:54 +01:00
MCUdude
b1d34a510c
Reduce jtag3 output verbosity
2022-02-13 19:23:48 +01:00
MCUdude
f2bdcbe977
Add missing USBtiny derived programmers
...
ArduinoISP and the Arduino.org ISP are commercial versions of the USBtiny programmer with different USB VIDs/PIDs
2022-02-11 22:46:11 +01:00
Jörg Wunsch
76a17be4d0
Merge pull request #872 from MCUdude/jtag-string-formatting
...
Tweak programmer info formatting strings
2022-02-11 22:16:39 +01:00
MCUdude
80f1d96e07
Tweak programmer info formatting strings
...
Now all colons are on a straight line, just like #853 did to all jtag3 compatible programmers
2022-02-11 22:10:52 +01:00
Jörg Wunsch
f2c73c2bb8
Merge pull request #853 from MCUdude/jtag3-clock-update
...
Print JTAG3 clocks after configuration + string formatting
2022-02-11 21:44:54 +01:00
MCUdude
b581d14823
String formatting
...
Allign colons, only print clocks that are actually present (>0 kHz)
2022-02-11 21:35:07 +01:00
MCUdude
3fc39c47ad
Print memory name alias together with the canonical name if present
...
in avrdude.conf. An example would be "avrdude: reading fuse0/wdtcfg memory:"
2022-02-11 21:10:05 +01:00
MCUdude
d6ccf7a3ff
Add memory alias names for megaAVR0/tinyAVR0,1,2/AVR-Dx/AVR-Ex fuses
2022-02-10 22:34:33 +01:00
Joerg Wunsch
452f673f38
Back out the last "alias" commit (search for existing alias).
...
It breaks the alias handling completely as the search happens
way too late. So instead, just keep any possibly duplicate
name as it won't be in our way anyway.
2022-02-10 21:26:05 +01:00