KurtE
Senior Member+
Aargh:
Not sure what is going on: But that is not too unusual!
We asked to read 15050 sectors, and timed out with 8182 remaining sectors to read, so it read 6868 sectors.
If we look at starting address plus numbers read it feels like it went to about sector 2D40 (11584)
Which does not look like anything that interesting...
Wondering if should go back to drawing board and get rid of the callback and let it take a minute to read in the free clusters.
You might try it and see if it still dies:
Simplest way is to go to sketch in processMSDrive
The line: if (partVols[count_partVols].begin((USBMSCDevice*)msc.usbDrive(), true, i + 1)) {
remove the cast: if (partVols[count_partVols].begin(msc.usbDrive(), true, i + 1)) {
It won't have the USBMSCdevice so it will fall back to BlockDevice which does not have the callback and so the code will short circuit out and read one sector at a time...
It that works, then maybe I can try a hybrid approach, like maybe only read in smaller groups like 256 sectors at a time...
Not sure what is going on: But that is not too unusual!
We asked to read 15050 sectors, and timed out with 8182 remaining sectors to read, so it read 6868 sectors.
If we look at starting address plus numbers read it feels like it went to about sector 2D40 (11584)
Which does not look like anything that interesting...
Wondering if should go back to drawing board and get rid of the callback and let it take a minute to read in the free clusters.
You might try it and see if it still dies:
Simplest way is to go to sketch in processMSDrive
The line: if (partVols[count_partVols].begin((USBMSCDevice*)msc.usbDrive(), true, i + 1)) {
remove the cast: if (partVols[count_partVols].begin(msc.usbDrive(), true, i + 1)) {
It won't have the USBMSCdevice so it will fall back to BlockDevice which does not have the callback and so the code will short circuit out and read one sector at a time...
It that works, then maybe I can try a hybrid approach, like maybe only read in smaller groups like 256 sectors at a time...