Stefan Rueger
03e7ffda90
Enable prodsig read for avrftdi_jtag type programmers
2023-10-16 21:01:33 +01:00
Stefan Rueger
f2378875b0
Update NEWS
2023-10-15 16:59:19 +01:00
Stefan Rueger
5f97fdc08c
Merge pull request #1518 from stefanrueger/prodsig
...
Review and update prodsig memories for U/PDI parts
2023-10-15 16:53:06 +01:00
Stefan Rueger
77a69aad54
Merge pull request #1517 from stefanrueger/scratchmonkey-leds
...
Add LED support for ScratchMonkey programmer
2023-10-15 16:52:43 +01:00
Stefan Rueger
59bc4354b0
Merge pull request #1511 from stefanrueger/usbtiny-readback
...
Adapt stk500 readback values for usbtiny.c
2023-10-15 16:51:46 +01:00
Stefan Rueger
40350be950
Read sigrow for ATmega32[48]PB using ISP ( #1510 )
...
* Read sigrow for ATmega32[48]PB using ISP
* Rename sigrow memory to progsig for 4 ISP/TPI parts
* Create a memory alias from sigrow to prodsig
* Exempt prodsig from checking irregular address patters in ISP command
* Update documentation for sigrow/prodsig
* Include signature in prodsig memory for ATtiny102 and ATtiny104
2023-10-15 16:45:03 +01:00
Hans
99a9a60608
Support for serial port "touch" functionality using libserialport ( #1507 )
...
This makes it possible to upload to boards like the Arduino Leonardo and Arduino Nano Every wwithout using an external tool to enter bootloader mode
Co-authored-by: Stefan Rueger <stefan.rueger@urclocks.com >
2023-10-15 16:42:52 +01:00
Stefan Rueger
f2480ea6b2
Make sigrow an alias for prodsig in modern parts (U/PDI i/f)
...
This reflects a change in language in data sheets over time for the
production signature row memory.
2023-10-14 14:38:43 +01:00
Stefan Rueger
33aefcb9f9
Include signature in prodsig memory
...
Data sheets include the signature in the production signature row
(prodsig/sigrow memory) while .atdf excludes the 3 signature bytes.
For example the AVR16EB14 datasheet lets sigrow start at 0x1080
with a size of 128 while the atdf file specifies the start as
0x1083 with a size of 125.
The former makes more sense.
This commit also sets page_size to the prodsig size if it is a power of 2
otherwise it is set to 1.
2023-10-14 14:13:22 +01:00
Stefan Rueger
0264c9cc03
Update prodsig memory size from .atdf files
2023-10-14 14:01:51 +01:00
Stefan Rueger
d82c2984e0
Add LED support for ScratchMonkey programmer
2023-10-13 13:26:44 +01:00
mcuee
331d46f15f
Merge pull request #1516 from mcuee/revert_pr_1513
2023-10-13 12:09:04 +08:00
mcuee
8d71bc7ceb
Update build.yml to revert PR #1513
...
PR #1513 (Add GNU readline to mingw github action) brings in undesired dependency of libwinpthread-1.dll to the mingw32/mingw64 binaries.
2023-10-13 11:07:51 +08:00
mcuee
55853eb422
Add GNU readline to mingw github action ( #1513 )
...
* Update build.yml to enable GNU readline for MinGW build
* Update build.yml to include termcap and ncurses
2023-10-11 12:02:43 +08:00
mcuee
7f8e8a1ad3
libserialport github action ( #1512 )
...
* Update build.yml to include libserialport except MSVC
2023-10-10 21:39:40 +08:00
Stefan Rueger
64f4646b1a
Adapt stk500 readback values for usbtiny.c
2023-10-10 01:16:25 +01:00
Stefan Rueger
c8b4e915b3
Fix memory concatenation error
2023-10-06 16:47:28 +01:00
Stefan Rueger
9735789c21
Update NEWS
2023-09-29 00:29:18 +01:00
Stefan Rueger
70e5307841
Merge pull request #1506 from stefanrueger/reduce-stk500v2-getsync-timeout
...
Reduce stk500v2_getsync() timeout
2023-09-29 00:27:22 +01:00
Stefan Rueger
b76750d392
Merge pull request #1505 from stefanrueger/add-wiring-reset-delay
...
Add -xdelay=n for -c wiring to modify sleep after dtr/rts reset
2023-09-29 00:25:29 +01:00
Stefan Rueger
2f9cd84791
Improve FTDI documentation in avrdude.conf.in
2023-09-29 00:23:25 +01:00
Stefan Rueger
aa2f45111b
Reduce DTR/RTS-low time for reset generation to 100 us
...
Standard AVR reset circuits deploy a connection from the DTR/RTS line of a
USB-to-serial chip to the AVR via a small capacitor, see
https://onlinedocs.microchip.com/pr/GUID-F626284A-58F0-4C25-A6F3-0EA5054F3E2B-en-US-6/index.html?GUID-B80B25FF-E9D7-4766-B562-DA197B8B938C
Setting DTR/RTS low once will issue a reset. Setting this signal high
again after a short time ensures that a direct connection DTR/RTS to reset
also works. The duration of pulling DTR/RTS low must be relatively short,
say RC/10, in order to avoid a reset spike above Vcc. If Vcc exceeds 5.5 V
then a full 2 Vcc reset spike can potentially trigger HV programming.
See also
- https://github.com/avrdudes/avrdude/pull/1504#issuecomment-1735295710
- https://github.com/avrdudes/avrdude/pull/1505#issuecomment-1738053365
2023-09-28 00:04:06 +01:00
Stefan Rueger
2c7c12d109
Reduce stk500v2_getsync() timeout
2023-09-26 23:24:28 +01:00
Stefan Rueger
35dcf686a2
Add -xdelay=n for -c wiring to modify sleep after dtr/rts reset
2023-09-26 23:19:34 +01:00
Stefan Rueger
8ed9615f86
Update NEWS
2023-09-22 23:33:58 +01:00
Hans
0be6568b76
Add serial port discovery ( #1498 )
...
Co-authored-by: Stefan Rueger <stefan.rueger@urclocks.com >
2023-09-22 23:21:57 +01:00
Stefan Rueger
431fe61ffa
Merge pull request #1497 from stefanrueger/add-serialadapter
...
Provide serialadapter entity in avrdude.conf
2023-08-31 17:52:55 +01:00
Stefan Rueger
5400005b50
Add is_serialadapter to programmer structure
2023-08-31 00:10:14 +01:00
Stefan Rueger
99373d109f
Update serialadapter documentation
2023-08-29 18:21:16 +01:00
Stefan Rueger
aaddbbf187
Provide function that lists available seriadapters
2023-08-29 00:26:33 +01:00
Stefan Rueger
91ffab5fc6
Provide serialadapter entity in avrdude.conf
2023-08-29 00:07:57 +01:00
Stefan Rueger
b8c47f3999
Update NEWS
2023-08-27 19:06:00 +01:00
Stefan Rueger
ad56d6d238
Merge pull request #1495 from stefanrueger/read-signature
...
Review calibration read command in avrdude.conf
2023-08-27 19:02:55 +01:00
Stefan Rueger
54ce12a649
Merge pull request #1491 from stefanrueger/avr-eb
...
Add AVR-EB parts
2023-08-27 18:59:02 +01:00
Stefan Rueger
b660a7e85f
Remove superfluous newlines in avrdude.conf
2023-08-27 18:57:34 +01:00
Stefan Rueger
622f753d5f
Review calibration read command in avrdude.conf
2023-08-26 00:49:08 +01:00
Stefan Rueger
784676ff68
Update bootrow documentation
2023-08-25 22:01:27 +01:00
Stefan Rueger
e3eb816303
Treat fuse and lfuse the same
2023-08-15 20:41:05 +01:00
Stefan Rueger
fe721ff555
Update documentation for bootrow and pdicfg
2023-08-15 20:24:32 +01:00
Stefan Rueger
6ed529179b
Extend terminal config command to two-byte fuses
2023-08-15 20:23:26 +01:00
Stefan Rueger
161d5aa4a4
Consider bootrow and pdicfg for terminal cache and dryrun
2023-08-15 20:21:24 +01:00
Stefan Rueger
9e22afae7c
Add AVR16EB(14|20|28|32) to avrdude.conf
2023-08-15 20:11:45 +01:00
Stefan Rueger
4969074ee4
Update avrintel.[ch]
2023-08-15 19:59:51 +01:00
Stefan Rueger
772603aff9
Update NEWS
2023-08-14 22:50:57 +01:00
Stefan Rueger
1795371b02
Merge pull request #1488 from stefanrueger/io
...
Add io memory for classic parts
2023-08-14 22:48:03 +01:00
Stefan Rueger
a6b6b96581
Merge pull request #1487 from stefanrueger/incompatible
...
Exit if part and programmer are incompatible
2023-08-14 22:47:14 +01:00
Stefan Rueger
ccdf80f8cb
Merge pull request #1486 from stefanrueger/overlapping-memories
...
Fix overapping XMEGA flash memories for dryrun programmer
2023-08-14 22:46:49 +01:00
Stefan Rueger
040ea106ce
Merge pull request #1482 from MCUdude/code-formatting
...
Replace string comparison functions
2023-08-14 22:46:26 +01:00
stefanrueger
f4b2f69451
Document io memory
2023-08-13 00:02:23 +01:00
stefanrueger
867b546a5e
Add io memory for classic parts
2023-08-13 00:01:52 +01:00