MCUdude
f8ab2d3aa3
simplify fuse handling logic
2023-08-05 21:38:01 +02:00
MCUdude
9906b86f42
Replace strcmp with str_eq
2023-08-05 21:34:02 +02:00
MCUdude
e1f7ecf4b4
simplify fuse handling logic
2023-08-05 21:18:35 +02:00
MCUdude
9e25c52ae0
replace strcmp and strncmp with str_eq and str_starts
2023-08-05 20:51:54 +02:00
MCUdude
30ed6d36d4
Simply fuse read/write logic
2023-08-05 20:11:52 +02:00
MCUdude
6036f1e289
Replace strcmp with str_eq
2023-08-05 19:52:26 +02:00
Stefan Rueger
d5d4c35052
Merge pull request #1474 from MCUdude/megaavr-chiprev
...
Read chip silicon revision and add IO memory on chips with PDI and UPDI
2023-08-05 18:36:16 +01:00
MCUdude
28d4aa6c20
Change IO memory size accoring to the ATDF files
2023-08-05 11:41:39 +02:00
MCUdude
a9b270ba87
Resolve merge conflict
2023-08-05 08:23:53 +02:00
Stefan Rueger
ea7eed85fc
Update NEWS
2023-08-05 00:38:41 +01:00
Stefan Rueger
fbbcec341d
Merge pull request #1480 from stefanrueger/sib
...
Provide sib memory for AVR8X parts
2023-08-05 00:23:00 +01:00
Stefan Rueger
77c3b0f5fb
Merge pull request #1470 from MCUdude/fix-vtarg-read
...
Utilize `HAS_VTARG_READ` defined in avrdude.conf
2023-08-05 00:22:04 +01:00
Stefan Rueger
70190be400
Merge pull request #1468 from stefanrueger/stk500
...
Fix probing of the generic -c stk500 programmer
2023-08-05 00:21:23 +01:00
Stefan Rueger
0c2f2e63bd
Merge pull request #1324 from jkent/avrftdi
...
add JTAG support to avrftdi
2023-08-05 00:20:40 +01:00
Stefan Rueger
3a1e9c0e77
Merge pull request #3 from MCUdude/sib-read
...
Add JTAG3 SIB read
2023-08-03 20:51:47 +01:00
MCUdude
7b90253aa1
deal with more read-only memories
2023-08-03 20:00:31 +02:00
Stefan Rueger
0314e2158a
Add signature to read-only memories in serialupdi_write_byte()
2023-08-03 15:01:59 +01:00
MCUdude
1e4d78f17d
Prevent reading more bytes than the SIB memory has
2023-08-03 14:42:37 +02:00
MCUdude
a1bfae3f8e
Formating + better read-only memory handling
2023-08-03 14:25:53 +02:00
MCUdude
768a789108
Implement SIB read and add memory boundary checks
2023-08-03 09:46:06 +02:00
Hans
4f02abd4cf
Merge pull request #5 from stefanrueger/sib
...
Add SIB read to SerialUPDI programmer
2023-08-03 08:39:37 +02:00
MCUdude
819e35a57e
Ensure canonical form
...
Formatted using avrdude -p*/s
2023-08-03 08:17:58 +02:00
MCUdude
13b1c8ca0b
remove "revid" and add "io" memory
2023-08-02 22:28:15 +02:00
Stefan Rueger
b9ccd56300
Align spacing
2023-08-02 19:54:25 +01:00
Stefan Rueger
ec4146ceac
Provide sib memory for AVR8X parts
2023-08-02 19:32:36 +01:00
MCUdude
1dedfe5d1b
Remove revid memory
2023-08-02 18:49:38 +02:00
MCUdude
aef735844e
Add "io" memory to Xmega, tinyAVR0/1/2, megaAVR0 and AVR-Dx/Ex
2023-08-02 18:49:36 +02:00
Stefan Rueger
c1d7f919be
Exit avrftdi_jtag_enable() when encountering incompatible chip
...
The use of exit() is brought about by the fact that, unlike all other
programming functions, pgm->enable() is of type void, ie, cannot easily
tell the caller something went wrong.
2023-07-31 13:11:57 +01:00
Stefan Rueger
fb63b289c5
Remove not needed inherited properties
2023-07-31 12:57:29 +01:00
Stefan Rueger
1c97e40e7a
Merge branch 'main' into avrftdi
2023-07-31 12:38:44 +01:00
MCUdude
86a1aa1b3c
Add extra guards
2023-07-29 22:32:37 +02:00
MCUdude
4c44111a4d
Add support for revid readout
2023-07-29 21:06:43 +02:00
MCUdude
0f77c6e617
Add support for revid readout using the stk500v2/xprog protocol
2023-07-29 20:41:19 +02:00
MCUdude
916bd80b53
Add read_chip_rev to JTAG programmers
...
That are set up to communicate with Xmega chips
2023-07-28 23:42:22 +02:00
MCUdude
03aeb540c6
Add xmega revid memory
2023-07-28 23:31:21 +02:00
MCUdude
970976f74a
Check if pgm->read_chip_rev exists before executing
2023-07-28 19:03:14 +02:00
Hans
6c4414e607
Merge pull request #4 from dbuchwald/megaavr-chiprev
...
Add serialupdi chip silicon revision number read
2023-07-25 19:44:23 +02:00
Dawid Buchwald
ac760ff490
Added support for chip silicon revision number
2023-07-25 19:18:29 +02:00
MCUdude
fab54b7abb
Add chip revision readout to jtagmkII
2023-07-24 22:02:42 +02:00
MCUdude
419707b130
Tweak debug print message
2023-07-24 22:01:14 +02:00
MCUdude
90cc0075a7
Minor formatting and grammar
2023-07-24 21:57:51 +02:00
MCUdude
a586c6b577
Only print chip revision in verbose mode
2023-07-24 21:23:07 +02:00
MCUdude
b6aee3bf72
Add chip revision readout to jtag3.c
2023-07-24 21:13:11 +02:00
MCUdude
6d8598e009
Add syscfg_base
2023-07-24 21:10:17 +02:00
MCUdude
e063b4a7c1
Fix incorrect sernum offset
2023-07-24 18:44:34 +02:00
Joerg Wunsch
330030ed23
Post-release 7.2
...
Update version info and NEWS template snippet
2023-07-19 22:46:18 +02:00
Joerg Wunsch
cb9e7e49e6
Prepare for version 7.2
...
* finalize NEWS for that version
* bump version info for autotools and CMake
v7.2
2023-07-19 22:30:19 +02:00
MCUdude
73499c027f
Remove superfluous float castings
2023-07-18 08:13:02 +02:00
Stefan Rueger
ca3144b783
Recommend trying -c stk500v1 if stk500v2 fails followed by stk500v1 failure
...
... as it might have been that probing with stk500v2 protocol threw a
stk500v1 firmware off its rails
2023-07-17 21:53:07 +01:00
Stefan Rueger
9f370024c0
Return -1 in stk500v2_open() or stk600v2_open() if drain() or getsync() fails
2023-07-17 19:30:59 +01:00