Commit Graph

39 Commits

Author SHA1 Message Date
a8a74f385a Merge null/pattern checks into complex pattern. 2022-11-13 20:46:29 +00:00
0f94c5fc01 Convert local variable or field into constant. 2022-11-13 20:08:10 +00:00
c5b34ee3d9 Convert if to switch statement. 2022-11-13 19:38:03 +00:00
f0fa4d4320 Remove unused code. 2022-03-17 23:54:41 +00:00
762e3eb6d2 General cleanup and refactor. 2022-03-07 07:36:44 +00:00
0bc819feab Move to file scoped namespaces. 2022-03-06 13:29:38 +00:00
dd4451740c Update copyright year. 2022-02-20 09:34:52 +00:00
4de10d0c34 Clarify interface usage. 2021-12-28 03:20:51 +00:00
59a150b26a When dumping an SD/MMC card try to detect if OS buffered reads are failing, and max readable blocks using sequential commands, and downgrade accordingly.
Now also detects cards that are totally unreadable.
2021-12-11 19:48:34 +00:00
5e733abc8f Add support for byte addressable images to detection. 2021-11-14 03:52:44 +00:00
ef2fc1788a Refactor IMediaImage.Open to return error status instead of boolean. 2021-09-16 19:10:39 +01:00
89b0ae5206 Stop processing sidecar when aborted. Fixed #470 2021-08-03 14:12:59 +01:00
2b52a5b0a6 Fix speed calculations for very fast devices. Fixes #473 2021-07-28 01:42:52 +01:00
2851fd035a Enable to continue dumping non-removable drives if serial number if different using the force option. Fixes #455 2021-07-24 20:03:46 +01:00
472a1d94d8 Update copyright year. 2020-12-31 23:08:23 +00:00
97cb61eca6 Fix stack corruption when sending multiple MMC/SD commands in Linux. 2020-12-13 20:33:36 +00:00
37385a245f Temporarily disable CMD23+CMD18+CMD12 combination as it is currently corrupting the stack in Linux. 2020-12-13 02:29:02 +00:00
c788a4ded5 Implemented reading SD/MMC using buffered OS calls. 2020-12-12 22:48:03 +00:00
04a2626125 Add options to use OS buffered reads when reading MMC/SD. 2020-12-12 21:14:39 +00:00
a026b525a2 Add MMC/SD command to send SET_BLOCK_COUNT, READ_MULTIPLE_BLOCK and STOP_TRANSMISSION in a single call. 2020-12-12 21:03:44 +00:00
4f0a582a23 Write MMC/SD card registers to image before closing it. 2020-12-10 13:57:16 +00:00
2bc98e6810 Fix block size for SD cards, that must always be read using 512b blocks even if their CSD says otherwise. 2020-12-10 13:56:50 +00:00
f81090dc1b Fix calculating blocks to read when dumping or scanning MMC/SD. 2020-12-10 13:56:04 +00:00
ad4d80223e Add more fields to MultiMediaCard's Extended CSD. 2020-12-09 20:11:19 +00:00
49dda86cd8 Ensure only unique bad blocks are saved in resume file. Fixes #381 2020-11-03 01:40:10 +00:00
2376b65763 Code style fixes. 2020-07-22 13:20:25 +01:00
6220425ac6 Naming fixes. 2020-07-20 21:11:32 +01:00
9cfef45856 Code cleanup. 2020-07-20 04:34:16 +01:00
720bb1df6e Save error log on dump. 2020-07-13 18:54:41 +01:00
84ee971ad8 Do not show speed burst if they have not been set. Fixes #346 2020-06-25 01:47:25 +01:00
a7fa072271 Only reverse list of bad blocks if we're retrying backwards. Fixes #328 2020-06-14 19:08:12 +01:00
5786b12130 Read SD/MMC devices one block at a time, as READ MULTIPLE is timing out, pending investigation. 2020-06-05 23:30:49 +01:00
236f38e911 Adjust language to be more specific and less alarmist. 2020-03-11 16:01:33 +00:00
8bf8f4fd78 Add option to not store paths and serial numbers when dumping. Fixes #213 2020-03-11 15:28:04 +00:00
f7e173710e Code restyling. 2020-02-29 18:03:35 +00:00
901aef4962 Rename application name references on dumping. 2020-02-27 14:06:36 +00:00
67edb977bd Rename comment header. 2020-02-27 12:31:30 +00:00
4ade64cfc9 Rename namespace. 2020-02-27 00:36:40 +00:00
f5b199e483 Renamed project files and folders 2020-02-26 19:10:46 +00:00