Commit Graph

2955 Commits

Author SHA1 Message Date
Stefan Rueger
e36b3ffeda Merge pull request #1418 from stefanrueger/ft2232h
Update ft2232h programmer info and URLs
2023-06-23 15:53:54 +01:00
Stefan Rueger
eee5b1f738 Merge pull request #1417 from stefanrueger/89isp
Update URLs for 89isp programmer
2023-06-23 15:53:25 +01:00
Stefan Rueger
e8aa262323 Merge pull request #1416 from stefanrueger/nightshade
Update alf programmer info and URL
2023-06-23 15:52:57 +01:00
Stefan Rueger
46d30b8fd0 Merge pull request #1415 from stefanrueger/pwroff_after_write
Update reference to AT90S4433 datasheet
2023-06-23 15:52:26 +01:00
Stefan Rueger
79bf63f20b Merge pull request #1411 from stefanrueger/bootloader-ce
Increase timeout for emulated butterfly chip erase
2023-06-23 15:51:56 +01:00
Stefan Rueger
e3f8260c8d Merge pull request #1406 from stefanrueger/usersig-m256rfr2
Define usersig memory for ATmega*RF[AR]* parts
2023-06-23 15:50:13 +01:00
Stefan Rueger
090b998160 Update ft2232h info 2023-06-22 08:34:55 +01:00
Stefan Rueger
9269102ba5 Small updates to some programmer comments and descriptions 2023-06-21 15:36:50 +01:00
Stefan Rueger
0c3ec68f57 Update ft2232h programmer info and URLs 2023-06-21 14:02:35 +01:00
Stefan Rueger
8b317371bc Update URLs for 89isp programmer 2023-06-21 13:47:29 +01:00
Stefan Rueger
6dab2a5d68 Update alf programmer info and URL 2023-06-21 13:06:31 +01:00
Stefan Rueger
b6174dc81a Update reference to AT90S4433 datasheet 2023-06-21 12:10:06 +01:00
Stefan Rueger
3a5933299d Restore serial_recv_timeout on failure 2023-06-21 09:15:02 +01:00
Stefan Rueger
7f360a42d9 Increase timeout for emulated butterfly chip erase depending on part 2023-06-21 09:05:18 +01:00
Stefan Rueger
73b9570da7 Add min/max_write_delay to usersig memories of ATmega*[0-9]RF* parts 2023-06-20 15:52:42 +01:00
Stefan Rueger
d13c5e34fb Put empty line above memory comment before memory for -p*/s 2023-06-20 15:46:29 +01:00
Stefan Rueger
6d5264d81a Update comments before memory sections 2023-06-20 15:43:34 +01:00
Stefan Rueger
c7ed33c7fa Update wd_erase (chip_erase_delay) for some parts 2023-06-20 14:14:41 +01:00
Stefan Rueger
ba490ddea2 Update wd_flash, wd_eeprom and wd_fuse for several parts 2023-06-20 14:09:22 +01:00
Stefan Rueger
478acd8376 Parent ATmega256RFR2 off ATmega128RFA1 2023-06-20 13:58:48 +01:00
stefanrueger
abaca0de94 Define usersig memory for ATmega*RF[AR]* parts
#####
    # Three separate flash pages
    #   - Offset 0x100 in signature row
    #   - Only programmable with JTAG or HVPP
    #   - Readable from an application
    #   - Cannot be read using ISP
    #   - Not erased by chip erase
    #
    memory "usersig"
        paged              = yes;
        size               = 768;
        page_size          = 256;
        num_pages          = 3;
        offset             = 0x100;
        mode               = 0x41;
        delay              = 50;
        blocksize          = 256;
        readsize           = 256;
    ;
2023-06-16 00:40:11 +01:00
stefanrueger
1459002d6b Update NEWS 2023-06-16 00:08:11 +01:00
Stefan Rueger
07c5348ab4 Merge pull request #1405 from stefanrueger/pre-checks
Relax checks before executing the -T/-U operations
2023-06-16 00:06:01 +01:00
Stefan Rueger
58f1ba9eec Merge pull request #1404 from stefanrueger/usersig
Implement bytewise cache for usersig
2023-06-16 00:04:19 +01:00
Stefan Rueger
886c511e12 Merge pull request #1403 from MCUdude/usb-warning
Mute missing USB device warning for lower verbosity levels
2023-06-16 00:04:01 +01:00
Stefan Rueger
763028feca Merge pull request #1402 from stefanrueger/multiple-terminals
Run -t interactive terminals when it is their turn wrt -t/-T/-U options
2023-06-16 00:03:41 +01:00
Stefan Rueger
0228304a15 Merge pull request #1401 from stefanrueger/avrcache
Fix memory leak in avrcache.c
2023-06-16 00:03:15 +01:00
Stefan Rueger
d8b67f2b82 Merge pull request #1400 from stefanrueger/doc-author-list
Expand authorship of documentation
2023-06-16 00:03:01 +01:00
Stefan Rueger
9e92c3c297 Merge pull request #1399 from stefanrueger/document-terminal-comments
Document terminal comments
2023-06-16 00:02:47 +01:00
Stefan Rueger
e8e5bee18f Merge pull request #1386 from stefanrueger/stk500v2
Fix stk500v2.c's write_byte() for old parts
2023-06-16 00:02:17 +01:00
MCUdude
10cc234e15 Use pmsg_notice2 instead of pmsg_warning 2023-06-15 19:44:32 +02:00
stefanrueger
38d1cf20b7 Fix interactive terminal naming 2023-06-15 16:47:02 +01:00
stefanrueger
14aba8ad65 Relax checks before executing the -T/-U operations
Now that terminal commands can create files, some of the checks before
executing the -T/-U operations need to be relaxed to avoid false errors.
The command below is perfectly fine, because the file to be read from in
the -U step will be created earlier.

$ rm -f /tmp/load.eep
$ avrdude -qq -cdryrun -pm328p \
  -T 'w ee 0 "avrdude"; save ee 0 8 /tmp/load.eep:h' \
  -U eeprom:w:/tmp/load.eep
2023-06-15 00:44:31 +01:00
stefanrueger
214ced7ce5 Document usersig cache 2023-06-14 23:27:10 +01:00
stefanrueger
96b6ff0c33 Implement bytewise cache for usersig needed in terminal 2023-06-14 23:12:28 +01:00
MCUdude
5078f35c9b Mute missing USB device warning for lower verbosity levels 2023-06-14 20:20:12 +02:00
Hans
106bb57a09 Fix typos
And clarify that it is the jtag2updi programmer that now supports -U EEPROM writes
2023-06-14 19:54:48 +02:00
Stefan Rueger
7d8f100878 Allow multiple -t interactive terminals on the command line
Think breakpoints for a series of memory operations. In this example

$ avrdude -t -U eeprom:r:dopp.eep:i -t -U eeprom:w:dopp.eep

the first -U makes a backup of the EEPROM that the second terminal can
then arbitrarily change because the second -U restores the EEPROM content.
2023-06-13 23:46:22 +01:00
Stefan Rueger
6861dd8067 Fix memory leak in avrcache.c 2023-06-13 22:39:30 +01:00
Stefan Rueger
486400d8af Use full name for HEB and make author list alphabetical 2023-06-13 22:36:43 +01:00
Stefan Rueger
c2b9b95174 Expand authorship of documentation 2023-06-13 20:02:59 +01:00
Stefan Rueger
298c0e3154 Document terminal comments 2023-06-13 19:48:16 +01:00
Stefan Rueger
9a52cfb3d5 Parent AT90S4434 off from AT90S8535
Both share the same datasheet but the AT90S4434 has had no XML data-sheet,
so the programming paramters are likely correct.
2023-06-13 19:17:53 +01:00
Stefan Rueger
b296c82185 Update NEWS 2023-06-13 18:43:41 +01:00
Stefan Rueger
5c1bb41266 Merge pull request #1397 from stefanrueger/sub-shell
Provide subshell command `!` in the terminal
2023-06-13 18:36:39 +01:00
Stefan Rueger
8986145cbb Merge pull request #1396 from stefanrueger/save
Provide terminal save command
2023-06-13 18:35:39 +01:00
Stefan Rueger
3c84f7328f Invalidate cache in stk500v2_paged_write()
Bytewise access uses a cache, but paged access doesn't so must invalidate
the cache when writing a page - otherwise mixing bytewise and paged access
is bound to fail.
2023-06-13 18:19:31 +01:00
Stefan Rueger
4722417fe0 Set page size to 2 for STK500v2 programming of old parts
These (ATtiny15 et al) have bytewise-only flash access, but the STK500v2
protocol enforces word flash addresses, so need to r/w flash in pairs.
2023-06-13 18:16:37 +01:00
Stefan Rueger
2bd5fb8fe4 Clarify location of config files for Windows in documentation 2023-06-13 14:26:38 +01:00
Stefan Rueger
910e30061c Clarify location of avrdude.rc in Windows 2023-06-13 14:24:17 +01:00