avrdude/src
Stefan Rueger 82b9491cbd
Harden urclock against bootloader bricking
- Detect write restrictions with new pgm->readonly(..., addr)
 - Check in byte-wise cached write whether mem/addr allows write
 - Emulated chip erase tells user CE is delayed until first -U
 - After bootloader CE urclock_chip_erase will init reset vector
 - Low level paged write @ 0 unconditionally protects reset vector
 - Low level paged read @ 0 checks and repairs reset vector
2022-11-16 00:08:46 +00:00
..
doc Handle n_page_erase in urclock for parts t441, t841 and t1634 2022-11-11 01:33:42 +00:00
msvc Add strerror_r() and access() modes to MSVC compat file 2022-08-05 18:47:40 +01:00
CMakeLists.txt Provide urclock programmer 2022-11-06 01:29:07 +00:00
Makefile.am Provide urclock programmer 2022-11-06 01:29:07 +00:00
arduino.c Review and overhaul AVRDUDE's messaging system (#1126) 2022-10-17 15:44:55 +01:00
arduino.h Use const in PROGRAMMER function arguments where appropriate 2022-08-17 16:05:28 +01:00
avr.c Fix avr.c comment 2022-11-09 19:27:34 +00:00
avr910.c Review and overhaul AVRDUDE's messaging system (#1126) 2022-10-17 15:44:55 +01:00
avr910.h Use const in PROGRAMMER function arguments where appropriate 2022-08-17 16:05:28 +01:00
avrcache.c Harden urclock against bootloader bricking 2022-11-16 00:08:46 +00:00
avrdude.1 Rename urclock's option forcetrim to restore 2022-11-10 22:35:40 +00:00
avrdude.conf.in Handle n_page_erase in urclock for parts t441, t841 and t1634 2022-11-11 01:33:42 +00:00
avrdude.h Open programmer before allocating part 2022-11-01 18:12:00 +00:00
avrdude.spec.in Move source files to 'src' folder 2021-12-17 09:17:42 +01:00
avrftdi.c Review and overhaul AVRDUDE's messaging system (#1126) 2022-10-17 15:44:55 +01:00
avrftdi.h Use const in PROGRAMMER function arguments where appropriate 2022-08-17 16:05:28 +01:00
avrftdi_private.h Review and overhaul AVRDUDE's messaging system (#1126) 2022-10-17 15:44:55 +01:00
avrftdi_tpi.c Use const in PROGRAMMER function arguments where appropriate 2022-08-17 16:05:28 +01:00
avrftdi_tpi.h Use const in PROGRAMMER function arguments where appropriate 2022-08-17 16:05:28 +01:00
avrintel.c Provide urclock programmer 2022-11-06 01:29:07 +00:00
avrintel.h Provide urclock programmer 2022-11-06 01:29:07 +00:00
avrpart.c Revamp terminal output: progress bar, callback and stdout/stderr (#1132) 2022-10-23 21:56:45 +01:00
bitbang.c Review and overhaul AVRDUDE's messaging system (#1126) 2022-10-17 15:44:55 +01:00
bitbang.h Use const in PROGRAMMER function arguments where appropriate 2022-08-17 16:05:28 +01:00
bootstrap Make `bootstrap' executable 2021-12-19 00:35:52 +01:00
buspirate.c Review and overhaul AVRDUDE's messaging system (#1126) 2022-10-17 15:44:55 +01:00
buspirate.h Use const in PROGRAMMER function arguments where appropriate 2022-08-17 16:05:28 +01:00
butterfly.c Review and overhaul AVRDUDE's messaging system (#1126) 2022-10-17 15:44:55 +01:00
butterfly.h Use const in PROGRAMMER function arguments where appropriate 2022-08-17 16:05:28 +01:00
cmake_config.h.in Clean up legacy code 2022-01-07 17:57:02 +01:00
config.c Update urclock programmer 2022-11-07 01:26:47 +00:00
config.h Add avrintel.[ch] to the project and warn if mcuid incompatible with avrintel.c 2022-08-30 19:48:17 +01:00
config_gram.y Review and overhaul AVRDUDE's messaging system (#1126) 2022-10-17 15:44:55 +01:00
configure.ac Post-7.0 changes 2022-05-07 22:57:49 +02:00
configure.cmake CMake: Fix dependency chain between avrdude.conf.in and avrdude.conf 2022-09-04 16:19:01 +02:00
confwin.c Remove ac_cfg.h from libavrdude.h 2022-01-10 15:12:33 +01:00
crc16.c Move source files to 'src' folder 2021-12-17 09:17:42 +01:00
crc16.h Move source files to 'src' folder 2021-12-17 09:17:42 +01:00
developer_opts.c Open programmer before allocating part 2022-11-01 18:12:00 +00:00
developer_opts.h Open programmer before allocating part 2022-11-01 18:12:00 +00:00
developer_opts_private.h Update NEWS 2022-08-31 17:35:03 +01:00
dfu.c Review and overhaul AVRDUDE's messaging system (#1126) 2022-10-17 15:44:55 +01:00
dfu.h Use const in PROGRAMMER function arguments where appropriate 2022-08-17 16:05:28 +01:00
fileio.c Make fileio() and do_op() arguments const where possible 2022-10-29 10:48:47 +01:00
flip1.c Review and overhaul AVRDUDE's messaging system (#1126) 2022-10-17 15:44:55 +01:00
flip1.h Use const in PROGRAMMER function arguments where appropriate 2022-08-17 16:05:28 +01:00
flip2.c Revamp terminal output: progress bar, callback and stdout/stderr (#1132) 2022-10-23 21:56:45 +01:00
flip2.h Use const in PROGRAMMER function arguments where appropriate 2022-08-17 16:05:28 +01:00
freebsd_ppi.h Move source files to 'src' folder 2021-12-17 09:17:42 +01:00
ft245r.c Review and overhaul AVRDUDE's messaging system (#1126) 2022-10-17 15:44:55 +01:00
ft245r.h Use const in PROGRAMMER function arguments where appropriate 2022-08-17 16:05:28 +01:00
jtag3.c Fix Type 2 HV UPDI 2022-10-31 11:06:14 +01:00
jtag3.h Revamp terminal output: progress bar, callback and stdout/stderr (#1132) 2022-10-23 21:56:45 +01:00
jtag3_private.h Initial support for Power Debugger analog reading 2022-10-01 21:17:01 +02:00
jtagmkI.c Revamp terminal output: progress bar, callback and stdout/stderr (#1132) 2022-10-23 21:56:45 +01:00
jtagmkI.h Use const in PROGRAMMER function arguments where appropriate 2022-08-17 16:05:28 +01:00
jtagmkII.c Revamp terminal output: progress bar, callback and stdout/stderr (#1132) 2022-10-23 21:56:45 +01:00
jtagmkII.h Use const in PROGRAMMER function arguments where appropriate 2022-08-17 16:05:28 +01:00
jtagmkII_private.h Add more jtagmkii baud rates 2022-01-02 12:13:13 +01:00
jtagmkI_private.h Move source files to 'src' folder 2021-12-17 09:17:42 +01:00
lexer.l Fix writing of last word on DWORD TPI parts (#1115) 2022-10-17 14:15:50 +01:00
libavrdude.h Harden urclock against bootloader bricking 2022-11-16 00:08:46 +00:00
linux_ppdev.h Review and overhaul AVRDUDE's messaging system (#1126) 2022-10-17 15:44:55 +01:00
linuxgpio.c Review and overhaul AVRDUDE's messaging system (#1126) 2022-10-17 15:44:55 +01:00
linuxgpio.h Use const in PROGRAMMER function arguments where appropriate 2022-08-17 16:05:28 +01:00
linuxspi.c Review and overhaul AVRDUDE's messaging system (#1126) 2022-10-17 15:44:55 +01:00
linuxspi.h Use const in PROGRAMMER function arguments where appropriate 2022-08-17 16:05:28 +01:00
lists.c Move source files to 'src' folder 2021-12-17 09:17:42 +01:00
main.c Indent erasing chip message in main 2022-11-10 23:18:43 +00:00
micronucleus.c Review and overhaul AVRDUDE's messaging system (#1126) 2022-10-17 15:44:55 +01:00
micronucleus.h Use const in PROGRAMMER function arguments where appropriate 2022-08-17 16:05:28 +01:00
par.c Review and overhaul AVRDUDE's messaging system (#1126) 2022-10-17 15:44:55 +01:00
par.h Use const in PROGRAMMER function arguments where appropriate 2022-08-17 16:05:28 +01:00
pgm.c Harden urclock against bootloader bricking 2022-11-16 00:08:46 +00:00
pgm_type.c Provide urclock programmer 2022-11-06 01:29:07 +00:00
pickit2.c Review and overhaul AVRDUDE's messaging system (#1126) 2022-10-17 15:44:55 +01:00
pickit2.h Use const in PROGRAMMER function arguments where appropriate 2022-08-17 16:05:28 +01:00
pindefs.c Review and overhaul AVRDUDE's messaging system (#1126) 2022-10-17 15:44:55 +01:00
ppi.c Review and overhaul AVRDUDE's messaging system (#1126) 2022-10-17 15:44:55 +01:00
ppi.h Use const in PROGRAMMER function arguments where appropriate 2022-08-17 16:05:28 +01:00
ppiwin.c Review and overhaul AVRDUDE's messaging system (#1126) 2022-10-17 15:44:55 +01:00
ser_avrdoper.c Review and overhaul AVRDUDE's messaging system (#1126) 2022-10-17 15:44:55 +01:00
ser_posix.c Provide urclock programmer 2022-11-06 01:29:07 +00:00
ser_win32.c Provide urclock programmer 2022-11-06 01:29:07 +00:00
serbb.h Use const in PROGRAMMER function arguments where appropriate 2022-08-17 16:05:28 +01:00
serbb_posix.c Review and overhaul AVRDUDE's messaging system (#1126) 2022-10-17 15:44:55 +01:00
serbb_win32.c Review and overhaul AVRDUDE's messaging system (#1126) 2022-10-17 15:44:55 +01:00
serialupdi.c Implemented page erase operation for SerialUPDI 2022-10-23 15:06:06 +02:00
serialupdi.h Use const in PROGRAMMER function arguments where appropriate 2022-08-17 16:05:28 +01:00
solaris_ecpp.h Move source files to 'src' folder 2021-12-17 09:17:42 +01:00
stk500.c Support optiboot, optiboot_dx and optiboot_x bootloaders for -c arduino (#1140) 2022-10-23 22:32:29 +01:00
stk500.h Use const in PROGRAMMER function arguments where appropriate 2022-08-17 16:05:28 +01:00
stk500_private.h Move source files to 'src' folder 2021-12-17 09:17:42 +01:00
stk500generic.c Review and overhaul AVRDUDE's messaging system (#1126) 2022-10-17 15:44:55 +01:00
stk500generic.h Use const in PROGRAMMER function arguments where appropriate 2022-08-17 16:05:28 +01:00
stk500v2.c Revamp terminal output: progress bar, callback and stdout/stderr (#1132) 2022-10-23 21:56:45 +01:00
stk500v2.h Use const in PROGRAMMER function arguments where appropriate 2022-08-17 16:05:28 +01:00
stk500v2_private.h Use const in PROGRAMMER function arguments where appropriate 2022-08-17 16:05:28 +01:00
teensy.c Review and overhaul AVRDUDE's messaging system (#1126) 2022-10-17 15:44:55 +01:00
teensy.h Use const in PROGRAMMER function arguments where appropriate 2022-08-17 16:05:28 +01:00
term.c Harden urclock against bootloader bricking 2022-11-16 00:08:46 +00:00
term.h Revamp terminal output: progress bar, callback and stdout/stderr (#1132) 2022-10-23 21:56:45 +01:00
tpi.h Move source files to 'src' folder 2021-12-17 09:17:42 +01:00
update.c Add write statistics for patched flash input files at notice2 level 2022-11-11 01:27:55 +00:00
updi_constants.h Moved SerialUPDI sources to correct location 2021-12-21 21:45:36 +01:00
updi_link.c Review and overhaul AVRDUDE's messaging system (#1126) 2022-10-17 15:44:55 +01:00
updi_link.h Use const in PROGRAMMER function arguments where appropriate 2022-08-17 16:05:28 +01:00
updi_nvm.c Review and overhaul AVRDUDE's messaging system (#1126) 2022-10-17 15:44:55 +01:00
updi_nvm.h Use const in PROGRAMMER function arguments where appropriate 2022-08-17 16:05:28 +01:00
updi_readwrite.c Review and overhaul AVRDUDE's messaging system (#1126) 2022-10-17 15:44:55 +01:00
updi_readwrite.h Use const in PROGRAMMER function arguments where appropriate 2022-08-17 16:05:28 +01:00
updi_state.c Use const in PROGRAMMER function arguments where appropriate 2022-08-17 16:05:28 +01:00
updi_state.h Use const in PROGRAMMER function arguments where appropriate 2022-08-17 16:05:28 +01:00
urclock.c Harden urclock against bootloader bricking 2022-11-16 00:08:46 +00:00
urclock.h Provide urclock programmer 2022-11-06 01:29:07 +00:00
urclock_private.h Warn in uclock when bootloader cannot read/write memories 2022-11-08 20:16:05 +00:00
usb_hidapi.c Fix formatting and replace tabs with spaces 2022-10-20 12:39:11 +02:00
usb_libusb.c Review and overhaul AVRDUDE's messaging system (#1126) 2022-10-17 15:44:55 +01:00
usbasp.c Review and overhaul AVRDUDE's messaging system (#1126) 2022-10-17 15:44:55 +01:00
usbasp.h Use const in PROGRAMMER function arguments where appropriate 2022-08-17 16:05:28 +01:00
usbdevs.h Add missing USB VID/PIDs 2022-10-20 12:19:10 +02:00
usbtiny.c Review and overhaul AVRDUDE's messaging system (#1126) 2022-10-17 15:44:55 +01:00
usbtiny.h Use const in PROGRAMMER function arguments where appropriate 2022-08-17 16:05:28 +01:00
whereami.c Find 'avrdude.conf' based on absolute path to executable (#780) 2022-01-03 23:20:31 +01:00
whereami.h Find 'avrdude.conf' based on absolute path to executable (#780) 2022-01-03 23:20:31 +01:00
windows.rc.in Derive program version from last commit 2022-01-03 15:04:25 +01:00
wiring.c Review and overhaul AVRDUDE's messaging system (#1126) 2022-10-17 15:44:55 +01:00
wiring.h Use const in PROGRAMMER function arguments where appropriate 2022-08-17 16:05:28 +01:00
xbee.c Review and overhaul AVRDUDE's messaging system (#1126) 2022-10-17 15:44:55 +01:00
xbee.h Use const in PROGRAMMER function arguments where appropriate 2022-08-17 16:05:28 +01:00