Commit Graph

2666 Commits

Author SHA1 Message Date
Stefan Rueger
2ea302f05c Reconcile more avrdude.conf's memory delay with ATDFs 2023-04-18 20:13:15 +01:00
Stefan Rueger
bd08cc35db Populate initval of fuses and lock bits
... and at the same time remove tcd0cfg fuse from all but 20 modern AVR8X
parts, which were inherited in error according to the ATDF files
2023-04-18 20:03:56 +01:00
Stefan Rueger
7b7a7988ab Improve semi-automated rewrite of avrdude.conf for memory parameters 2023-04-18 20:01:43 +01:00
Stefan Rueger
1f1cbb6af4 Match variants part ids for -p and print variants on -vp? 2023-04-18 02:05:42 +01:00
Stefan Rueger
326ca384d8 Align avrdude.conf variants in columns 2023-04-18 02:03:10 +01:00
Stefan Rueger
e83d4bda40 Populate avrdude.conf's variants from ATDFs 2023-04-17 01:14:24 +01:00
Stefan Rueger
3557ee0e77 Reconcile avrdude.conf's memory readsize with ATDFs 2023-04-17 01:11:09 +01:00
Stefan Rueger
6734ef4e82 Reconcile avrdude.conf's memory readback with ATDFs 2023-04-17 01:11:04 +01:00
Stefan Rueger
2da787c3fa Reconcile avrdude.conf's memory blocksize with ATDFs 2023-04-17 01:10:50 +01:00
Stefan Rueger
b347cb4931 Reconcile avrdude.conf's part togglevtg with ATDFs 2023-04-17 01:09:57 +01:00
Stefan Rueger
84a2701db9 Reconcile avrdude.conf's part resetdelayus with ATDFs 2023-04-17 01:09:34 +01:00
Stefan Rueger
1d2c61637e Reconcile avrdude.conf's part resetdelay with ATDFs 2023-04-17 01:09:30 +01:00
Stefan Rueger
1c042860bd Reconcile avrdude.conf's part resetdelayms with ATDFs 2023-04-17 01:09:25 +01:00
Stefan Rueger
0394068a5d Reconcile avrdude.conf's part programlockpolltimeout with ATDFs 2023-04-17 01:09:16 +01:00
Stefan Rueger
70ad14f950 Reconcile avrdude.conf's part programfusepolltimeout with ATDFs 2023-04-17 01:09:07 +01:00
Stefan Rueger
cdae934704 Reconcile avrdude.conf's part progmodedelay with ATDFs 2023-04-17 01:09:02 +01:00
Stefan Rueger
5f90630e49 Reconcile avrdude.conf's part pp_controlstack with ATDFs 2023-04-17 01:08:53 +01:00
Stefan Rueger
ec8c2d3200 Reconcile avrdude.conf's part poweroffdelay with ATDFs 2023-04-17 01:08:48 +01:00
Stefan Rueger
b5ab2b4df6 Reconcile avrdude.conf's part pollmethod with ATDFs 2023-04-17 01:08:34 +01:00
Stefan Rueger
942380d6c1 Reconcile avrdude.conf's part latchcycles with ATDFs 2023-04-17 01:08:25 +01:00
Stefan Rueger
6d76c21412 Reconcile avrdude.conf's part hvspcmdexedelay with ATDFs 2023-04-17 01:08:16 +01:00
Stefan Rueger
c8208b5a11 Reconcile avrdude.conf's part hvleavestabdelay with ATDFs 2023-04-17 01:08:11 +01:00
Stefan Rueger
071576b82c Reconcile avrdude.conf's part hventerstabdelay with ATDFs 2023-04-17 01:08:06 +01:00
Stefan Rueger
f5a63afc55 Reconcile avrdude.conf's part chiperasepolltimeout with ATDFs 2023-04-17 01:07:48 +01:00
Stefan Rueger
fe8b239a64 Add new component initval to memories in avrdude.conf
... for the factory setting of fuses and lock bits
2023-04-17 01:03:38 +01:00
Stefan Rueger
6c6081ebda Add new component variants to parts in avrdude.conf
This is a list of strings each signifying an alternative part name and some of
the part's properties, eg:
  "ATmega328P-AU: 'TQFP32', Fmax=20000000 Hz, temp=[-40 C, 85 C], Vcc=[1.8 V, 5.5 V]"
2023-04-17 00:32:31 +01:00
Stefan Rueger
22bed55ebe Reconcile avrdude.conf's ocdrev with ATDFs 2023-04-16 21:34:46 +01:00
Stefan Rueger
52780523ba Add MCU registers needed for debugWIRE/JTAG 2023-04-16 18:59:24 +01:00
Stefan Rueger
b4e0fa8c64 Add flash_instr and eeprom_instr to 5 parts
Needed for debugWIRE
  - AT90USB162
  - AT90USB82
  - ATmega16U2
  - ATmega32U2
  - ATmega8U2
2023-04-16 17:49:08 +01:00
Stefan Rueger
b759dad482 Add pagel/bs2 pins to 23 parts
This vital info for parallel programming was missing on 23 parts:
  - ATmega103
  - ATmega169A
  - ATmega169
  - ATmega169PA
  - ATmega169P
  - ATmega3290A
  - ATmega3290
  - ATmega3290PA
  - ATmega3290P
  - ATmega329A
  - ATmega329
  - ATmega329PA
  - ATmega329P
  - ATmega6490A
  - ATmega6490
  - ATmega6490P
  - ATmega649A
  - ATmega649
  - ATmega649P
  - ATmega8515
  - ATtiny167
  - ATtiny43U
  - ATtiny87
2023-04-16 17:46:09 +01:00
Stefan Rueger
f5b0f83d2d Add boot section size to modern AVR8X parts 2023-04-16 17:34:17 +01:00
Stefan Rueger
d39c738542 Update avrdude.conf ATmega165 entry
- Corrects signature to
     signature              = 0x1e 0x94 0x07;
     Source: https://github.com/thegaragelab/arduino/blob/master/USB_Programmer/progisp172/eng/ATmega165.xml

 - Lengthens EEPROM write delay to
     min_write_delay    = 9000;
     Source: Application note AVR513 https://ww1.microchip.com/downloads/en/Appnotes/doc8064.pdf
2023-04-16 16:17:47 +01:00
Stefan Rueger
6e88b980e7 Add XMEGA-E fuse for fault detection action on Px0..5 2023-04-16 16:10:29 +01:00
Stefan Rueger
62d2949405 Add 24 parts to avrdude.conf
- ATmega16M1
 - ATmega32C1
 - ATmega64C1
 - ATA5505
 - ATA6612C
 - ATA6613C
 - ATA6614Q
 - ATA6616C
 - ATA6617C
 - ATA664251
 - ATmega16HVA
 - ATmega8HVA
 - ATmega16HVB
 - ATmega16HVBrevB
 - ATmega32HVB
 - ATmega32HVBrevB
 - ATmega64HVE2
 - ATmega32HVE2
 - AT90PWM1
 - AT90PWM161
 - AT90PWM81
 - ATxmega32C3
 - ATxmega32D3
 - ATtiny416auto

And modify
 - ATmega32M1
 - ATmega64M1

Almost entirely automatically from ATDF sheets
2023-04-16 14:02:12 +01:00
Stefan Rueger
6893586d53 Improve avrdude.conf in-situ documentation 2023-04-16 13:58:58 +01:00
Stefan Rueger
c1e725b53d Update NEWS 2023-04-06 21:16:59 +01:00
Stefan Rueger
b6cbbea120 Update avrintel.[ch] (#1333)
* Update avrintel.[ch]

These are written by a program that takes AVR-relevant sources such as
io*.h header files and atdf files into account. For this update a set of
decade-old .xml files have been added (useful for discontinued chips
that may still want to be programmed).

* Format avrintel table to max 99 chars

This to be able to extract more easily relevant information from the
source. Now can grep //.Mem avrintel.c to extract a table with memory
sizes, similarly  grep //.Source or grep //.ID. And lines are now less
than 100 characters wide.

* Expand avrintel table to cover configuration bitfields
2023-04-06 21:11:20 +01:00
Stefan Rueger
e6e02aeb51 Merge pull request #1332 from MCUdude/flyswatter2
Add Flyswatter2 programmer
2023-04-06 21:10:44 +01:00
Stefan Rueger
99061a99c8 Merge pull request #1331 from MCUdude/docs-495
Documentation improvements
2023-04-06 21:10:03 +01:00
Hans
f7afbe0303 Add terminal read, write and erase with address intervals (#1320)
and improved documentation
---------

Co-authored-by: Stefan Rueger <stefan.rueger@urclocks.com>
2023-04-06 21:09:13 +01:00
am-ar
ffcdcd89e1 Add CH341A programmer (#1215)
- Add CH341A programmer support 
 - Provide paged access functions so terminal cache works
 - Provide avrdude.conf entry for the ch341a programmer
 - Select ch341a reset line from reset=<n>; property in avrdude.conf.in
 - Update ch341a documentation
---------
Co-authored-by: Alex Manoel Ferreira Silva (Windol) <windol@legytma.com.br>
Co-authored-by: Stefan Rueger <stefan.rueger@urclocks.com>
Tested and reviewed by @MCUdude and @mcuee
2023-04-06 21:06:56 +01:00
MCUdude
515af74201 Attempt to standardize programmer extended parameter styling 2023-03-31 08:30:01 +02:00
MCUdude
3944d5f340 Small grammar fixes 2023-03-31 07:58:44 +02:00
MCUdude
e8a51771d4 Add Flyswatter 2 programmer 2023-03-30 20:12:46 +02:00
MCUdude
e1464e6b4d update terminal mode sck and parms documentation 2023-03-29 22:22:49 +02:00
MCUdude
b7009afe22 Fix formatting 2023-03-29 21:41:15 +02:00
MCUdude
9d7f850e6b Viewing operational parameters in terminal mode is not
limited to the STK500 and STK600 programmers
2023-03-29 21:38:03 +02:00
MCUdude
605e0afa74 Add information about bitclock values stored in programmers 2023-03-29 21:26:30 +02:00
Stefan Rueger
7a8d257676 Update NEWS 2023-03-22 00:15:02 +00:00
Stefan Rueger
421a85adc4 Merge pull request #1323 from stefanrueger/usbtiny
Fix return value in usbtiny_cmd() and wrong error msg
2023-03-21 23:53:16 +00:00