Stefan Rueger
39a00bc71e
Ensure +0x...f does not strip suffix f in terminal write
2022-07-12 11:14:41 +01:00
Stefan Rueger
360d7c502b
Make suffix fully case insensitive (allow Hh, Ll, ...) in terminal write
2022-07-12 11:13:46 +01:00
Stefan Rueger
d9450058c8
Cache strlen(argv[i]) in term.c cmd_write() and prevent negative array index
2022-07-12 11:12:20 +01:00
Jan Egil Ruud
69ee5da613
Improve error handling for devices that does not support HVUPDI.
2022-07-12 12:01:17 +02:00
Jan Egil Ruud
2478c18745
Do not let the hvupdi extended option take any configuration values. The hvupdi type is implied by the part configuration.
2022-07-11 15:26:41 +02:00
Jan Egil Ruud
173b4f9d0a
Clean up and simplify hvupdi handling, and set default hvupdi_variant to -1.
2022-07-11 14:07:45 +02:00
Stefan Rueger
ff8f519a34
Fix PICKit2 ATmega2560 flash paged flash read
...
The paged read in pickit2.c has two errors:
- It drops load extended address commands unless a paged read happens at a
64k byte boundary; this is invalid when reading files with holes
- It wrongly assumed that flash memory is byte addressed
The fix is to carry out a load extended address command, if needed, at the
beginning of each paged flash read with the correct word address. Although the
pickit2_paged_load() has independent parameters page_size, addr and n_bytes,
AVRDUDE only ever calls paged read/write functions with page_size and n_bytes
both set to mem->page_size and addr aligned with a page boundary. Therefore, it
is sufficient to set the load extended address at the beginning of each page
read.
2022-07-10 23:41:44 +01:00
Hans
913509d6e6
Merge pull request #2 from janegilruud/hv-updi
...
Add HVUPDI_SUPPORT list for programmers.
2022-07-07 20:12:43 +02:00
Stefan Rueger
215ea1af5c
Merge branch 'partdesc' of github.com:stefanrueger/avrdude into partdesc
2022-07-07 18:34:26 +01:00
Stefan Rueger
9e2cea3ada
Implement developer options -p */[*cdosSrwt] for part descriptions
2022-07-07 18:32:19 +01:00
Jan Egil Ruud
91310e6f50
Move hvupdi_support list to a new prog_parm_updi group, and initialize the list.
2022-07-07 12:23:05 +02:00
Ruud, Jan Egil
9e5ea25b9e
Add HVUPDI_SUPPORT list for programmers.
2022-07-05 14:14:37 +02:00
Stefan Rueger
64ee4858fd
Update 2nd debug message in avr.c with correct function name
2022-07-05 01:00:45 +01:00
Stefan Rueger
d3b22fa3c6
Update debug message in avr.c with correct function name
2022-07-05 00:57:40 +01:00
Stefan Rueger
9742c7b97a
Add #474 and #976 to NEWS
2022-07-05 00:55:58 +01:00
Stefan Rueger
00ea21597e
Merge pull request #1001 from MCUdude/add-missing-bits-and-pieces
...
Add missing delays in avrdude.conf
2022-07-05 00:05:32 +01:00
Stefan Rueger
9ea02c4431
Merge pull request #998 from stefanrueger/issue474
...
Fix Issue #474 FT232H support for ATmega2560 et al (load extended address)
2022-07-05 00:00:54 +01:00
Stefan Rueger
2b6ee8f4d1
Adapt whitespace to existing style in avrftdi.c
2022-07-04 23:54:02 +01:00
Stefan Rueger
7aad03cbcd
Fix paged read for ATmega2560 et al for ft245r.c
2022-07-04 23:11:32 +01:00
Stefan Rueger
a721e485cb
Refactor paged read/write routines in ft245r.c
2022-07-04 23:04:36 +01:00
Stefan Rueger
bb049a085e
Merge branch 'issue474' of github.com:stefanrueger/avrdude into issue474
2022-07-04 12:31:11 +01:00
Stefan Rueger
237cb63211
Steamline avrftdi support for ATmega2560 et al
2022-07-04 12:30:37 +01:00
Stefan Rueger
2827c2695e
Update NEWS
2022-07-04 12:30:37 +01:00
Joerg Wunsch
bdab12d8fb
PR 996 and 1013 done
2022-07-04 12:30:37 +01:00
MCUdude
d2bb964fc7
Attempt to fix EEPROM write issue #1009
2022-07-04 12:30:37 +01:00
Joerg Wunsch
f22b81c00e
Fix a number of logic errors in the previous commits
...
RSP3_FAIL_CRC_FAILURE is 0x43 rather than 0x47.
jtag3_errcode() must only be applied to a reason code, not
to any general status code.
2022-07-04 12:30:37 +01:00
Joerg Wunsch
8953967fc3
Replace internal knowledge in jtag3.c by a public API
...
In certain situations (CRC failure, device locked), that JTAG3
read functions need to return an indication to the caller that
it is OK to proceed, and allow erasing the device anyway.
Historically, the JTAG3 code passed the respective protocol
errors directly (and unexplained) up to the caller, leaving
the decision to the caller how to handle the situation.
Replace that by a more common return value API. New code should
prefer this API instead of any hardcoded return values.
2022-07-04 12:30:37 +01:00
Stefan Rueger
ef785a617a
Treat x bits in .conf SPI commands as 0
2022-07-04 12:30:37 +01:00
Joerg Wunsch
ad2be990b7
PR 993 done
2022-07-04 12:30:37 +01:00
prchal
134509cc6f
adding support for all Linux baud rates v.2
...
If optiboot can work at higher bauds, why not avrdude.
Versoin 2 of #985 .
Linux uses the old-style bitmapped version of the Bxxxx macros.
2022-07-04 12:30:37 +01:00
Joerg Wunsch
8bd39157c1
Closing PR 979
2022-07-04 12:30:37 +01:00
MCUdude
963a1e54af
Fix JTAG transaction close issue
...
Fixes issue #366
2022-07-04 12:30:37 +01:00
Joerg Wunsch
37026cad52
PR #1000 is done now
2022-07-04 12:30:37 +01:00
MCUdude
b167e88422
Reduce programmer description string length
...
to less than 80 characters. #941 related
2022-07-04 12:30:37 +01:00
Stefan Rueger
3893a21164
Fix avrftdi support for ATmega2560 et al (load extended address)
2022-07-04 12:30:25 +01:00
Stefan Rueger
d95c1a91f7
Steamline avrftdi support for ATmega2560 et al
2022-07-04 12:25:50 +01:00
Stefan Rueger
c4add116d6
Merge branch 'avrdudes:main' into issue474
2022-07-04 10:07:05 +01:00
MCUdude
6473a6d71a
Add avrdude_message to verbose mode
2022-07-01 07:36:07 +02:00
MCUdude
30c1b31b8d
Send 12V pulse to HV_UPDI_VARIANT_2 targets as well
2022-06-29 17:12:57 +02:00
Ruud, Jan Egil
65763b5700
Correct hvupdi_variant for AVR DD devices.
2022-06-29 17:12:57 +02:00
Ruud, Jan Egil
39008ac2c1
Add UPDI HV type to device description.
2022-06-29 17:12:57 +02:00
MCUdude
577856cf15
Use HV UPDI constants rather than arbitrary numbers
2022-06-29 17:12:57 +02:00
MCUdude
50220289bb
Add high-voltage UPDI info to docs
2022-06-29 17:12:57 +02:00
MCUdude
e068341716
Make sure "-x hvupdi" is only valid for Pickit4 and Powerdebugger
2022-06-29 17:12:57 +02:00
MCUdude
f67c35744e
add support for "-x hvupdi" that triggers HV UPDI
2022-06-29 17:12:57 +02:00
MCUdude
ba98e48880
add "hvupdi_variant" property to avrdude.conf
2022-06-29 17:12:52 +02:00
Stefan Rueger
0240b361f5
Merge branch 'avrdudes:main' into partdesc
2022-06-28 22:53:22 +01:00
Stefan Rueger
66c69a7584
Merge pull request #943 from stefanrueger/issue942
...
Fix Issue #942 : Treat x bits in .conf SPI commands as 0
2022-06-28 22:50:53 +01:00
Stefan Rueger
43c6b04226
Update NEWS
2022-06-28 22:46:06 +01:00
Stefan Rueger
a21f3d20af
Merge branch 'avrdudes:main' into issue942
2022-06-28 22:38:47 +01:00