Stefan Rueger
161eb064ae
Move cache flush/reset from -T/U parsing to -U/T execution
...
What happens is the same, just the code is crisper and clearer.
2023-06-01 21:24:52 +01:00
Stefan Rueger
b41d14a8c9
Move terminal_...() functions into libavrdude.h
2023-06-01 01:07:43 +01:00
Stefan Rueger
eee5aca79f
Provide an example for intermixing -T and -U options
2023-06-01 01:04:54 +01:00
Stefan Rueger
fa9370d570
Insert a paragraph for each -T/-U option in AVRDUDE's output
2023-06-01 01:03:21 +01:00
Stefan Rueger
e0e7bd7ff5
Document -T cmd option
2023-06-01 00:20:33 +01:00
Stefan Rueger
4a7d140b08
Move update_...() printing convenience functions to strutil.c and rename to str_...()
2023-05-31 22:50:27 +01:00
Stefan Rueger
bdbe13e1f6
Make arguments of update.c functions const if possible
2023-05-31 22:40:34 +01:00
Stefan Rueger
1126ff1621
Implement -T cmdline to mix terminal commands with -U commands
2023-05-31 22:23:23 +01:00
Stefan Rueger
98c460268e
Provide terminal_line() to process a single terminal command line
2023-05-31 18:16:34 +01:00
Stefan Rueger
3db6863cd3
Move fill mode enum from term.h to term.c
2023-05-31 18:08:43 +01:00
Stefan Rueger
a53b2eef19
Make local functions static
2023-05-31 17:52:30 +01:00
Stefan Rueger
ffaefbf6ec
Make AVRMEM * variables const
2023-05-31 17:42:11 +01:00
Stefan Rueger
334315270f
Make PROGRAMMER * and AVRPART * arguments const
2023-05-31 17:40:08 +01:00
Stefan Rueger
3ea05c4d33
Update NEWS
2023-05-31 17:03:00 +01:00
Stefan Rueger
dd8aefec85
Merge pull request #1372 from stefanrueger/bitmask
...
Initialise unused bits of classic-part fuses with factory defaults
2023-05-31 16:51:21 +01:00
Stefan Rueger
6defcb450d
Shrink avrdude.conf using memory inheritance for initval and bitmask
...
Also ensures initval and bitmask remains unset for
- AT43USB320, AT43USB355
- AT76C711
- AT86RF401
- AT89S51, AT89S52
- AT90C8534
- AT94K
- ATtiny3214
- ATxmega128A4, ATxmega192A1, ATxmega256A1, ATxmega64A4
- AVR8EA28, AVR8EA32
- LGT8F168P, LGT8F328P, LGT8F88P
- M3000
2023-05-31 16:38:24 +01:00
Stefan Rueger
5ae2f3ff05
Perform wildcard match for avrdude.conf parameter injection
2023-05-31 16:36:30 +01:00
Stefan Rueger
26239ead25
Initialise unused bits when writing XMEGA fuses/lock bits
2023-05-31 10:56:25 +01:00
Stefan Rueger
7fadbbdd63
Initialise unused bits of classic part fuses/lock bits with factory defaults
2023-05-29 16:51:54 +01:00
Stefan Rueger
9441af8b90
Test for verbose > 0 instead of !!verbose
2023-05-29 16:41:14 +01:00
Stefan Rueger
19d1e03bec
Read-modify-write classic part fuses/lock bits with unused bits in dryrun.c
2023-05-29 16:32:19 +01:00
Stefan Rueger
30ac1826bc
Use bitmasks for terminal write verification
2023-05-29 14:33:00 +01:00
Stefan Rueger
f311a04d47
Extend -U verification with bitmasks to TPI, PDI and UPDI parts
2023-05-29 14:32:39 +01:00
Stefan Rueger
918e71de90
Make bitmask 0xff default (shortening avrdude.conf)
2023-05-29 14:24:04 +01:00
Stefan Rueger
ff5a178ca2
Document default value of bitmask
2023-05-29 14:00:06 +01:00
Stefan Rueger
8f1eb4aef6
Update avr.c to use str_eq() and str_starts() functions
2023-05-29 13:48:07 +01:00
Stefan Rueger
bbe2f51f58
Fix ATmega161's sut, spien and bootrst bit masks
2023-05-28 18:12:49 +01:00
Stefan Rueger
0f1f526f53
Fix several SPI fuse/lock read/write commands
...
- AT90S2323 fuse read
- AT90S2323 lock read
- AT90S2343 fuse read
- AT90S2343 lock read
- AT90S4434 fuse read
- AT90S4434 fuse write
- AT90S4434 lock read
- AT90S8535 fuse read
- AT90S8535 lock read
- ATmega161 fuse write
- ATmega162 efuse write
- ATmega324PB efuse write
- ATtiny22 fuse read
- ATtiny22 lock read
- ATtiny828 efuse write
- ATtiny828R efuse write
2023-05-28 17:59:05 +01:00
Stefan Rueger
50e96aea5b
Initialise bitmask in avrdude.conf from .atdf files
2023-05-27 19:37:45 +01:00
Stefan Rueger
0406159694
Add bitmask for fuses and lock bits to memory description/grammar
2023-05-27 19:36:33 +01:00
Stefan Rueger
3423309449
Update NEWS
2023-05-27 17:15:19 +01:00
Stefan Rueger
8f98731fc9
Update variants for AVR...EA parts
2023-05-27 17:07:51 +01:00
Stefan Rueger
7be7b23352
Merge pull request #1365 from stefanrueger/config
...
Provide terminal config command to set fuses and lock bits
2023-05-27 16:40:59 +01:00
Stefan Rueger
45e94de70f
Consolidate shell examples in documentation
2023-05-27 16:36:09 +01:00
Stefan Rueger
598b693f7e
Merge branch 'main' into config
2023-05-27 14:21:28 +01:00
Stefan Rueger
d6bb233468
Merge pull request #1364 from MCUdude/cli-examples
...
Add more Avrdude CLI usage examples
2023-05-27 14:15:22 +01:00
Stefan Rueger
02b27ab52c
Merge pull request #1363 from KantBe/main
...
Adds configuration for Kanda's AVRISP-U programmer.
2023-05-27 14:14:09 +01:00
Stefan Rueger
31711878bd
Update documentation for terminal config
2023-05-27 01:22:11 +01:00
Stefan Rueger
df9a85655e
Add AVR16EA... and AVR32EA... parts for terminal config
2023-05-26 19:36:49 +01:00
Stefan Rueger
a41f05c802
Indicate factory setting in terminal config error msgs if relevant
2023-05-26 19:34:23 +01:00
Stefan Rueger
3e845bf45e
Revise alignment of terminal config output
...
Alignment happens for groups of different values of the same configuration
property, but only when the value lables differ in length by max of 10
characters. For example:
avrdude> c su=int*
avrdude warning: (config) ambiguous; known sut_cksel int* symbols are:
- sut_cksel=intrcosc_8mhz_6ck_14ck_0ms # 2
- sut_cksel=intrcosc_128khz_6ck_14ck_0ms # 3
- sut_cksel=intrcosc_8mhz_6ck_14ck_4ms1 # 18
- sut_cksel=intrcosc_128khz_6ck_14ck_4ms1 # 19
- sut_cksel=intrcosc_8mhz_6ck_14ck_65ms # 34
- sut_cksel=intrcosc_128khz_6ck_14ck_65ms # 35
2023-05-26 01:40:56 +01:00
Stefan Rueger
e529fea40f
Fix crcsel explanatory name in terminal config
2023-05-25 21:20:30 +01:00
Stefan Rueger
31f7781387
Align configuration properties in terminal config
2023-05-25 17:59:59 +01:00
Stefan Rueger
3545f22557
Rename some configuration properties for terminal config
...
... to make them more mnemonic
active => bodactive
sleep => bodsleep
lvl => bodlevel
sampfreq => bodsampfreq
period => wdtperiod
window => wdtwindow
2023-05-25 17:55:54 +01:00
MCUdude
9080dd201e
Fix terminal examples page formatting
2023-05-24 23:57:01 +02:00
MCUdude
afad3117b9
Hopefully fix page formatting
2023-05-24 18:39:14 +02:00
MCUdude
1cd894d934
Fix typo
2023-05-24 18:34:06 +02:00
MCUdude
78e9a8b997
Add missing backslashes
2023-05-24 18:33:31 +02:00
Stefan Rueger
f8d92be300
Silence overzealous compiler warning
2023-05-24 14:02:29 +01:00
Stefan Rueger
2f6bd01a7d
Fix uninitialised variable warning
2023-05-24 13:51:26 +01:00