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
..
2022-04-26 23:19:20 +02:00
2022-01-08 16:13:32 +01:00
2021-12-21 21:38:51 +01:00
2021-12-17 09:17:42 +01:00
2021-12-21 21:38:51 +01:00
2021-12-17 09:17:42 +01:00
2022-07-05 01:00:45 +01:00
2022-05-08 20:35:32 +05:30
2022-07-05 00:05:32 +01:00
2022-01-07 18:30:19 +01:00
2021-12-17 09:17:42 +01:00
2022-07-04 12:30:25 +01:00
2022-01-08 16:13:32 +01:00
2021-12-17 09:17:42 +01:00
2022-07-04 23:54:02 +01:00
2021-12-17 09:17:42 +01:00
2022-07-04 12:30:37 +01:00
2022-01-07 17:57:02 +01:00
2021-12-17 09:17:42 +01:00
2021-12-19 00:35:52 +01:00
2022-01-07 19:22:57 +01:00
2021-12-17 09:17:42 +01:00
2021-12-21 21:38:51 +01:00
2021-12-17 09:17:42 +01:00
2022-01-07 17:57:02 +01:00
2022-06-08 21:53:22 +02:00
2022-02-10 21:26:05 +01:00
2022-02-10 20:39:19 +01:00
2022-02-10 20:39:19 +01:00
2022-05-07 22:57:49 +02:00
2022-01-10 15:12:33 +01:00
2021-12-17 09:17:42 +01:00
2021-12-17 09:17:42 +01:00
2021-12-17 09:17:42 +01:00
2022-01-07 17:54:36 +01:00
2022-01-07 18:30:19 +01:00
2022-01-07 17:57:02 +01:00
2021-12-17 09:17:42 +01:00
2022-01-07 18:30:19 +01:00
2021-12-17 09:17:42 +01:00
2021-12-17 09:17:42 +01:00
2022-01-17 22:53:58 +01:00
2021-12-17 09:17:42 +01:00
2022-07-04 12:30:37 +01:00
2022-07-04 12:30:37 +01:00
2021-12-17 09:17:42 +01:00
2021-12-17 09:17:42 +01:00
2022-02-11 22:10:52 +01:00
2021-12-17 09:17:42 +01:00
2022-01-02 12:13:13 +01:00
2022-07-04 12:30:37 +01:00
2021-12-17 09:17:42 +01:00
2022-02-10 20:39:19 +01:00
2022-07-04 12:30:37 +01:00
2021-12-17 09:17:42 +01:00
2021-12-17 09:17:42 +01:00
2021-12-17 09:17:42 +01:00
2022-04-10 23:36:53 +02:00
2021-12-17 09:17:42 +01:00
2021-12-17 09:17:42 +01:00
2022-07-04 12:30:37 +01:00
2022-01-31 20:44:32 +01:00
2022-05-05 22:08:46 +02:00
2022-01-04 18:37:57 +01:00
2021-12-17 09:17:42 +01:00
2021-12-17 09:17:42 +01:00
2022-01-06 23:39:17 +01:00
2021-12-17 09:17:42 +01:00
2022-07-10 23:41:44 +01:00
2021-12-17 09:17:42 +01:00
2022-01-11 12:44:26 +01:00
2022-01-07 17:57:02 +01:00
2021-12-17 09:17:42 +01:00
2022-01-07 17:57:02 +01:00
2022-02-18 20:05:52 +01:00
2022-07-04 12:30:37 +01:00
2022-01-07 17:57:02 +01:00
2022-01-07 17:57:02 +01:00
2022-01-07 17:57:02 +01:00
2021-12-17 09:17:42 +01:00
2022-01-13 10:01:01 +01:00
2021-12-21 21:45:36 +01:00
2021-12-17 09:17:42 +01:00
2021-12-17 09:17:42 +01:00
2022-01-29 20:08:43 +01:00
2021-12-17 09:17:42 +01:00
2021-12-17 09:17:42 +01:00
2021-12-17 09:17:42 +01:00
2021-12-17 09:17:42 +01:00
2022-02-28 19:46:47 +01:00
2021-12-17 09:17:42 +01:00
2022-01-06 23:39:17 +01:00
2022-01-06 23:39:17 +01:00
2022-04-09 20:08:44 +02:00
2022-02-20 19:08:30 +01:00
2021-12-17 09:17:42 +01:00
2022-02-11 21:10:05 +01:00
2021-12-21 21:45:36 +01:00
2022-02-19 21:18:03 +01:00
2021-12-21 21:45:36 +01:00
2021-12-21 21:45:36 +01:00
2021-12-21 21:45:36 +01:00
2022-01-07 11:31:16 +01:00
2021-12-21 21:45:36 +01:00
2022-01-08 10:04:25 +01:00
2022-01-08 10:04:25 +01:00
2022-03-31 23:26:53 +02:00
2022-01-07 17:57:02 +01:00
2022-01-29 23:32:39 +01:00
2021-12-17 09:17:42 +01:00
2021-12-17 09:17:42 +01:00
2022-01-09 10:57:22 +01:00
2021-12-17 09:17:42 +01:00
2022-01-03 23:20:31 +01:00
2022-01-03 23:20:31 +01:00
2022-01-03 15:04:25 +01:00
2021-12-21 21:38:51 +01:00
2021-12-17 09:17:42 +01:00
2021-12-21 21:38:51 +01:00
2021-12-17 09:17:42 +01:00