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
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
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
Stefan Rueger
b298d9e103
Return when save detects missing length for a memory segement
2023-06-13 12:13:16 +01:00
Stefan Rueger
6eb366574d
Update terminal subshell documentation
2023-06-13 10:43:23 +01:00
Stefan Rueger
db414259cf
Allow subshell commands to be remainder of terminal line
...
Now a subshell command can follow a terminal command on the same line:
avrdude> dump eeprom; !ls
Subshell commands still take up the remainder of the line
avrdude> !ls; dump eeprom
Will execute dump in the shell (not the terminal).
2023-06-13 10:36:25 +01:00
Stefan Rueger
27f49f64f2
Document terminal subshell command !<line>
2023-06-13 00:15:11 +01:00
Stefan Rueger
3d71c4c66b
Fix size setting on file read
2023-06-12 18:28:05 +01:00
Stefan Rueger
51275c36ef
Rename memtype to memory in documentation
2023-06-12 18:23:52 +01:00
Stefan Rueger
bea3d099f8
Add terminal save documentation
2023-06-12 18:21:13 +01:00
Stefan Rueger
64a4bb18bd
Provide subshell command ! in the terminal
...
Needs to have allow_subshells = yes; in ~/.avrduderc. Then subshell
commands can be executed, eg,
$ avrdude -t
avrdude> !ls
myapplication.hex myapplication.eep
avrdude> !avrdude -pm328p/St | grep efuse.initval
.ptmm ATmega328P efuse initval 0xff
2023-06-12 16:24:20 +01:00
Stefan Rueger
9cb93da3cf
Also set read_byte() to avr_read_byte_default() for old parts
2023-06-11 19:23:47 +01:00
Stefan Rueger
48f1fc75e9
Provide terminal save command
...
Examples with filename - (stdout):
$ avrdude -qqt -p m328p
avrdude> save eeprom -:i
:2000000054686973206973206120746573740048656C6C6F2C20776F726C64210A0054689C
:200020006520717569636B2062726F776E20666F78206A756D7073206F76657220746865DD
:20004000206C617A7920646F6700FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7C
:20006000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE7FEE7FEE7FEE7FEE7FE1D
:20008000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80
:2000A000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF60
:2000C000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF40
:2000E000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF20
:20010000280992D30B0000F4FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF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FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF1E
:20030000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFD
:20032000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFDD
:20034000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFBD
:20036000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF9D
:20038000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7D
:2003A000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D
:2003C000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF3D
:2003E000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF1D
:00000001FF
avrdude> save eeprom 15 5 22 5 -:I
:05000F0048656C6C6FF8 // 0000f> Hello
:020000040000FA
:05001600776F726C64BD // 00016> world
:00000001FF
avrdude> save eeprom 15 5 22 5 -:h
0x48,0x65,0x6c,0x6c,0x6f
0x77,0x6f,0x72,0x6c,0x64
2023-06-11 18:15:36 +01:00
Stefan Rueger
20bd7f37bc
Suppress comma at begin of memory segment, not begin of memory
2023-06-11 15:54:53 +01:00
Stefan Rueger
99a25fcd16
Rename function segment_normalise()
2023-06-11 14:28:12 +01:00
Stefan Rueger
f0da9a6c44
Update NEWS
2023-06-11 11:59:20 +01:00
Stefan Rueger
6126dd3d6a
Merge pull request #1395 from stefanrueger/dryrun
...
Add more info for the dryrun programmer
2023-06-11 11:54:39 +01:00
Stefan Rueger
f966d0cc68
Merge pull request #1394 from stefanrueger/arduino
...
Add more info for the arduino programmer
2023-06-11 11:54:28 +01:00
Stefan Rueger
c78b0ac4c5
Merge pull request #1393 from stefanrueger/urclock
...
Add more documentation for urclock programmer
2023-06-11 11:54:18 +01:00
Stefan Rueger
45217c7c47
Merge pull request #1392 from stefanrueger/save
...
Rewrite fileio functions to cater for a list of memory segments
2023-06-11 11:52:49 +01:00
Stefan Rueger
16dd3ac998
Change AVRMEM * to const AVRMEM * where appropriate
2023-06-11 11:43:44 +01:00
Stefan Rueger
4ab9bda302
Change Segment_t * to const Segment_t * where appropriate
2023-06-11 11:40:13 +01:00
Stefan Rueger
4ee10ea8a7
Add more info for the dryrun programmer
2023-06-10 19:06:41 +01:00
Stefan Rueger
d6d40622d0
Update NEWS
2023-06-10 17:47:28 +01:00
Stefan Rueger
d57dfbcdbc
Merge pull request #1385 from stefanrueger/dryrun
...
Provide debug messages for the dryrun programmer
2023-06-10 17:44:52 +01:00
Stefan Rueger
d32d57f4ef
Merge pull request #1383 from stefanrueger/arduinoasisp
...
Provide programmer arduino_as_isp
2023-06-10 17:43:54 +01:00
Stefan Rueger
bdc1135c95
Add more info for the arduino programmer
2023-06-10 16:53:07 +01:00
Stefan Rueger
ef86212030
Add avrdude.conf urclock comment that it resets the board
2023-06-10 16:46:21 +01:00
Stefan Rueger
0de04abcf5
Add more info for urclock programmer
2023-06-10 16:25:30 +01:00
Stefan Rueger
100ad9004f
Add example for -p .../s and -c .../s in main's help text
2023-06-10 16:24:22 +01:00
Stefan Rueger
dbbed4d115
Update immediate file input function
2023-06-10 13:37:59 +01:00
Stefan Rueger
6215aa3c8b
Add credentials for partial rewrite
2023-06-10 13:12:53 +01:00
Stefan Rueger
99ac48f106
Add R-base numbers
2023-06-10 13:10:15 +01:00
Stefan Rueger
cfddd43ef8
Update bin/oct/dec/hex file I/O functions
2023-06-10 12:54:10 +01:00
Stefan Rueger
19de7e8892
Adapt ELF I/O functions to adhere to fileio segments
...
... but continue to ignore the memory segment the ELF file should
be read into (as before)
2023-06-10 11:11:49 +01:00
Stefan Rueger
274c771ccf
Rewrite raw binary I/O functions
2023-06-10 11:05:08 +01:00
Stefan Rueger
e20f09631e
Make fileio_setparms() static
2023-06-10 11:02:39 +01:00
Stefan Rueger
361d910d83
Remove Nfgets() in favour of str_fgets()
2023-06-10 11:01:05 +01:00
Stefan Rueger
09d67c514e
Rewrite Motorola S-Record I/O functions
2023-06-10 10:53:46 +01:00
Stefan Rueger
2860becc3e
Rewrite Intel Hex file I/O functions
2023-06-10 10:49:34 +01:00
Stefan Rueger
3a6d09c633
Remove unnecessary static forward declarations
2023-06-10 10:45:27 +01:00
Stefan Rueger
165c319a1c
Provide int fileio_segments() function interface
...
This function can handle a list of memory segments for file I/O
2023-06-10 10:40:53 +01:00
Stefan Rueger
2b89a3b698
Clarify ihexrec is common to ihex and srec format
2023-06-10 10:34:04 +01:00