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
:20010000280992D30B0000F4FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF62
:20012000FFFFFFFFFFFFFFFFFFFFFFFFFFFFF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FFFFFFFFFFF1E
: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 |
|
Stefan Rueger
|
dc8268cc34
|
Provide str_fgets()
Reads a potentially long line and returns it in a malloc'd buffer.
|
2023-06-10 10:29:02 +01:00 |
|
Jeff Kent
|
ca1f270329
|
avrftdi jtag: swap enable and initialize functions
|
2023-06-06 22:03:30 -05:00 |
|
Jeff Kent
|
4cf8f296cc
|
make avrftdi_display output not show other interface pins
|
2023-06-06 22:03:30 -05:00 |
|
Jeff Kent
|
366467b750
|
add ft232h_jtag and ft2232h_jtag programmer conf
* add link to TUMPA manual
* clean up TUMPA programmer confs
|
2023-06-06 22:03:30 -05:00 |
|
Jeff Kent
|
ada5f3bd5b
|
add tumpa-b configuration for convenience
|
2023-06-06 22:03:30 -05:00 |
|
Jeff Kent
|
ecd416917d
|
add FTDI MPSSE jtag support
|
2023-06-06 22:03:30 -05:00 |
|
Jeff Kent
|
35cd1d0b4f
|
add pindefs for JTAG
|
2023-06-06 22:03:30 -05:00 |
|
Stefan Rueger
|
9267f9435d
|
Provide programmer arduino_as_isp
|
2023-06-06 14:53:01 +01:00 |
|
Stefan Rueger
|
4d0914c872
|
Set stk500v2.c's ISP write_byte() to avr_write_byte_default() for old parts
|
2023-06-06 14:42:54 +01:00 |
|
Stefan Rueger
|
0044688f73
|
Add dryrun_..._led() functions to dryrun programmer
|
2023-06-06 13:42:21 +01:00 |
|
Stefan Rueger
|
eb312ce2e6
|
Add debug messages for some dryrun_...() return values
|
2023-06-06 13:29:01 +01:00 |
|
Stefan Rueger
|
9e53968afd
|
Show -c programmer name for dryrun_display()
|
2023-06-06 12:40:34 +01:00 |
|
Stefan Rueger
|
e17b667523
|
Add debug messages for dryrun programmer
|
2023-06-06 10:28:05 +01:00 |
|
Stefan Rueger
|
ca6cf7f8c5
|
Use str_eq() instead of strcmp() == 0
|
2023-06-05 15:19:32 +01:00 |
|
Stefan Rueger
|
b4a4f7df5b
|
Update NEWS
|
2023-06-04 22:10:42 +01:00 |
|