Commit Graph

3196 Commits

Author SHA1 Message Date
Stefan Rueger
c9234ae8e5 Add tinyAVR 1-series automotive parts to avrdude.conf 2026-04-20 18:15:03 +01:00
Stefan Rueger
477c1298fb Add tinyAVR 1-series automotive parts to avrintel.c 2026-04-20 18:14:19 +01:00
Stefan Rueger
eca2c5f88e Merge pull request #2098 from MCUdude/parts-list
Only print the entire list of valid parts if the user requests this
2026-04-17 01:07:49 +01:00
Stefan Rueger
c9c10192d3 Merge pull request #2096 from stefanrueger/avrintel
Fix USART .adf errors of some XMEGAS
2026-04-17 01:06:49 +01:00
Stefan Rueger
a4459d1cfd Create systematic order of parts in avrintel.c 2026-04-17 00:55:33 +01:00
Stefan Rueger
14eaae2768 Rectify pin names for RSTDISBL and CLKOUT configurations 2026-04-17 00:50:07 +01:00
MCUdude
974dbcbf0b Replace else with if several places
This makes is possible to read a value first, and then set it afterwards
2026-04-16 14:32:10 +02:00
MCUdude
bf2f001a46 Make it possible to read and set the target voltage in the same command 2026-04-16 07:56:10 +02:00
MCUdude
c8f8e6343b Restructure -xvtarg handling for the stk500v1 2026-04-15 19:57:12 +02:00
MCUdude
c5fefb8f89 Only write to my.vtarg_data if the data is actually valid 2026-04-15 19:27:44 +02:00
MCUdude
f77644b52d Fix incorrect target voltage read command 2026-04-15 19:23:21 +02:00
MCUdude
d2ba2259f8 Adjustments based on feedback from PR #2094 2026-04-15 19:22:35 +02:00
MCUdude
720722edae Fix issue where programmers that can supply power couldn't read it using -x vtarg 2026-04-15 17:10:37 +02:00
MCUdude
5a618a0344 mention -p? in the help text if -p isn't present 2026-04-15 12:47:08 +02:00
MCUdude
f3508741c2 Only print the entire list of valid parts if the user requests this 2026-04-15 12:42:11 +02:00
Stefan Rueger
e307a47af8 Update avrduce.conf.in 2026-04-09 17:40:20 +01:00
Stefan Rueger
1bc0296680 Fix .atdf errors for some XMEGAs 2026-04-09 17:39:53 +01:00
MCUdude
5adce7f61d PICkit Basic does not support target voltage reading 2026-04-08 19:28:33 +02:00
MCUdude
02ef141d6f Update docs 2026-04-06 22:54:46 +02:00
MCUdude
5177b42510 Add support for -x vtarget to MPLAB programmers 2026-04-06 22:00:28 +02:00
MCUdude
ab535652aa Remove duplicate print 2026-04-06 21:31:51 +02:00
MCUdude
3bee10971b Replace capital letters with non-capital ones 2026-04-06 20:38:04 +02:00
MCUdude
6cfbf660b8 make sure "classic" stk500v2 programmers such as the AVRISPmkII also can utilize -x vtarg 2026-04-06 20:36:22 +02:00
MCUdude
475cf17a9a Let all stk500v2/jtag3 programmers read the target voltage using -x vtarg 2026-04-06 20:32:30 +02:00
MCUdude
71f8d3722e Fix duplicate Vtarget
Resolves issue #2093
2026-04-06 19:49:45 +02:00
Stefan Rueger
ff5e7630ce Merge pull request #2092 from stefanrueger/stk600-remove-tdi
Remove `PM_TPI` from `-c stk600` prog modes
2026-04-05 18:56:18 +01:00
Stefan Rueger
48cb4a9b28 Merge pull request #2090 from stefanrueger/dryboot
Make `-c dryboot` emulate `-c urclock -x nometadata`
2026-04-05 18:55:51 +01:00
Stefan Rueger
cf4793a2b2 Merge pull request #2087 from stefanrueger/buspirate
Simplify `buspirate_expect_bin_byte()` function
2026-04-05 18:55:16 +01:00
Stefan Rueger
83579e16a1 Merge pull request #2086 from stefanrueger/messages
Use verbosity levels consistently
2026-04-05 18:54:54 +01:00
Stefan Rueger
8a527c9bfe Merge pull request #2085 from stefanrueger/write_byte
Update single byte writes, ie, skip write if data already there
2026-04-05 18:53:28 +01:00
Stefan Rueger
6b694b0ff4 Furnish b/loader paged write with write protection 2026-04-05 18:48:43 +01:00
Stefan Rueger
ccf27a4736 Remove write protection from jmp-to-application vector
When serving a vector bootloader, both -c urclock and now -c dryboot used
to protect two vectors in the vector table, the reset vector and the
dedicated vector to jump to the application.

Only the reset vector needs protecting to avoid the vector bootloader to
be bricked. While overwriting the other vector might turn out not helpful,
it's the same as with many other interventions, so much so that the driver
should not prevent that. Hence, this commit withdraws the protection of
the jmp-to-application vector.
2026-04-05 09:49:19 +01:00
Stefan Rueger
f24ee04389 Remove PM_TPI from -c stk600 prog modes
While the STK600 protocol supports TPI (and JTAG and UPDI), the current
AVRDUDE implementation for stk600 doesn't. This PR adjusts the prog modes
in avrdude.conf accordingly.
2026-04-04 15:05:32 +01:00
Stefan Rueger
fbb7b0bafa Update -c dryboot documentation 2026-04-03 16:30:10 +01:00
Stefan Rueger
818078f20f Remove dryboot classic fuse protection 2026-04-03 12:05:45 +01:00
Stefan Rueger
37bc0afad7 Add bootloader and vector write protection 2026-04-03 01:49:16 +01:00
Stefan Rueger
bcb993f204 Patch sketches witch -c dryboot as with -c urclock -x nometadata 2026-04-03 01:12:20 +01:00
Stefan Rueger
fff6096902 Introduce int (*cmdhook)() 2026-04-02 23:18:23 +01:00
Stefan Rueger
03aa193722 Introduce int (*updatehook)() 2026-04-02 23:12:17 +01:00
Stefan Rueger
d1544c18ef Provide urbootPutVersion() 2026-04-02 22:51:41 +01:00
Stefan Rueger
3b481d45c9 Rename static urbootPutVersion() to urbootPutVersion8() 2026-04-02 19:06:31 +01:00
Stefan Rueger
7752adf740 Provide set_resetvector() 2026-04-02 12:29:14 +01:00
Stefan Rueger
378f364d8a Provide ur structure to describe bootloader 2026-04-02 00:44:01 +01:00
Stefan Rueger
944e347dfd Provide reset2addr() 2026-04-02 00:20:06 +01:00
Stefan Rueger
e7532789af Utilise avr_opcodes.c functions 2026-04-01 19:00:21 +01:00
Stefan Rueger
29f319b38f Improve comments 2026-04-01 18:59:38 +01:00
Stefan Rueger
e105e65bf1 Simplify buspirate_expect_bin_byte() function 2026-03-26 19:48:25 +00:00
Stefan Rueger
0ebc19eb99 Utilise effective verbosity level throughout
Again, this is a subtle change. The avr_message2() function introduced a
while ago an effective verbosity level, where verbosity is reduced by the
number of -q options above one. This commit uses that level throughout
instead of verbose.
2026-03-26 19:17:46 +00:00
Stefan Rueger
649bba8fe0 Guard notice and debugging message with verblevel
This is a sublte change but prevents numerous notice, debugging and trace
messages being executed during the AVRDUDE run only to return without any
printout. Should be (ever so slightly) more efficient.
2026-03-26 19:10:31 +00:00
Stefan Rueger
6efccab6eb Define verblevel as effective verbosity level 2026-03-26 19:08:51 +00:00