Commit Graph

3475 Commits

Author SHA1 Message Date
MCUdude
7b5867943d Fix typo 2023-04-17 22:16:17 +02:00
MCUdude
73469a5e3a Add comment 2023-04-17 19:41:03 +02:00
MCUdude
1078cd656f Add non-supported functionality from AVR Dragon 2023-04-17 19:40:47 +02:00
MCUdude
e9492b564b make stk500v2 set_vtarget, set_varef and set_fosc hardware dependent
based on data from avrdude.conf
2023-04-17 19:40:09 +02:00
MCUdude
50df3a6303 Fix formatting 2023-04-17 19:39:26 +02:00
MCUdude
e0f5c552b7 make set_vtarget, set_varef and set_fosc hardware dependent
based on data from avrdude.conf
2023-04-17 19:38:55 +02:00
MCUdude
e67963bf26 Add comments 2023-04-17 19:37:10 +02:00
MCUdude
5c85a5a2fb Add HAS_AREF_ADJ 2023-04-17 19:36:19 +02:00
MCUdude
d82847c95b Merge branch 'main' into more-extra-parameters 2023-04-17 18:07:57 +02:00
Stefan Rueger
c70a3e3549 Update NEWS 2023-04-17 01:39:27 +01:00
Stefan Rueger
436a6f5e8b Update NEWS 2023-04-17 01:36:05 +01:00
Hans
999e412c41 Add -xhelp to programmers that supports extended parameters (#1338) 2023-04-17 01:31:42 +01:00
Stefan Rueger
51703dfc94 Move avrintel into libavrdude (#1341)
And update avrintel.[ch] collating vtab_<mcu> table pointers
2023-04-17 01:28:43 +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
MCUdude
1f3f2ccbdc Add support for HAS_FOSC_ADJ in avrdude.conf 2023-04-16 19:33:22 +02: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