Forum Rule: Always post complete source code & details to reproduce any issue!
Page 11 of 20 FirstFirst ... 9 10 11 12 13 ... LastLast
Results 251 to 275 of 477

Thread: Many TLAs: MTP MSC FS SD SDFat LittleFS UsbMSCFat to work with each other 8)

  1. #251
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    8,988
    If you are curious here is my current hacked up version.... Still WIP

    Although I think it did format a normal FAT partition on external SD card on pin 10...
    Attached Files Attached Files

  2. #252
    Senior Member+ mjs513's Avatar
    Join Date
    Jul 2014
    Location
    New York
    Posts
    6,958
    Quote Originally Posted by wwatson View Post
    Me too. I was also working with two partitions. The failure is consistent. Tried several times and got the same result. It only happens when creating four partitions with Linux. After I do that Linux is happy and so is the Teensy. Then I format the first partition with the Teensy and MSCFormatter as ExFat, I plug it back into Linux and the first partition will not mount. The other three partitions will mount and be accessible. The only difference I could find as you saw in the previous post was was the first entry in the Fat of the first partition. There was extra info in the first Fat entries when all four partitions are used . That is when I copied the first entry of the second partitions Fat (with the to extra info) to the first entry of the first partitions Fat. Then the first partition would mount as well as the other three. I am not sure if this is a Linux ExFat format thing or if it is the same with Windows. I don't have Windows so I can't check for that and that is why I hoping others with Windows could check it out.

    Just for reference:
    Code:
    F8FFFFFFFFFFFFFF030000000400000005000000FFFFFFFFFFFFFFFFFFFFFFFF
    Works with four ExFat partitions.
    Code:
    F8FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000000
    Fails on any partition of the four ExFat partitions formatted by MSCFormatter.

    I think there might be more to formatting the Fat with ExFat but ran out of time this weekend to purse it
    @wwatson - @KurtE - @All
    Think I figured this one out, and I think it has to do with the partition sizing for exFAT. From what I can see, at least in Windows if the volume is less than 32GB's formatting with fail (at the bitmap size). Also there appears to be a FAT format difference:
    Code:
    30.1 GB:  F8FFFFFFFFFFFFFF  030000000400000005000000 FFFFFFFFFFFFFFFFFFFFFFFF
    32.0 GB:  F8FFFFFFFFFFFFFF  FFFFFFFFFFFFFFFFFFFFFFFF
    23.0 GB:  F8FFFFFFFFFFFFFF  0300000004000000   FFFFFFFFFFFFFFFFFFFFFFFF
    According to the exFAT specification the FAT should always be:
    Code:
    F8FFFFFFFFFFFFFF  FFFFFFFFFFFFFFFFFFFFFFFF
    If I format my 32GB sd card (shows as 29.8GB):
    Code:
    F8FFFFFFFFFFFFFF030000000400000005000000FFFFFFFFFFFFFFFFFFFFFFFF
    So basically we are going have a limit on formatting exFAT of 32GB. What those other values are I have no idea yet on how to calculate?

  3. #253
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    8,988
    Morning all,

    @mjs513 sounds like you are getting hopefully closer.

    Note: as I mentioned I am playing with a hacked up version that allows me to do a few extra things like see multiple USB drives, and SDIO card and one SD on SPI card... It runs through all of the devices and builds a partition list, and then allows you to choose which one to format... Note: it also now allows me to set volume IDs... But it is failing on my SDIO drive to update anything. Investigating.

    The output right now looks like:
    Code:
    Cards up to 2 GiB (GiB = 2^30 bytes) will be formated FAT16.
    Cards larger than 2 GiB and up to 32 GiB will be formatted
    FAT32. Cards larger than 32 GiB will be formatted exFAT.
    
    Waiting up to 5 seconds for a USB drive 
    Initialize USB drive...UsbBase::mscBegin called 20006060 1 1
        After usbDriveBegin
    
    msc # Partition Table
    	part,boot,bgnCHS[3],type,endCHS[3],start,length
    exFAT:	1,0,0x20,0x21,0x0,0x7,0xFE,0xFF,0xFF,2048,8192000
    exFAT:	2,0,0x20,0x21,0x0,0x7,0xFE,0xFF,0xFF,8194048,7534592
    pt_#0:	3,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    pt_#0:	4,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    drive 0 Partition 0 valid:1
    drive 0 Partition 1 valid:1
    
    Initialize SDIO SD card...FsVolume::begin(2000861c)
    
    msc # Partition Table
    	part,boot,bgnCHS[3],type,endCHS[3],start,length
    exFAT:	1,0,0x20,0x21,0x0,0x7,0xFE,0xFF,0xFF,8192,62543872
    pt_#0:	2,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    pt_#0:	3,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    pt_#0:	4,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    drive s Partition 0 valid:536907828
    
    Initialize SPI SD card...FsVolume::begin(20008b58)
    
    msc # Partition Table
    	part,boot,bgnCHS[3],type,endCHS[3],start,length
    FAT16:	1,0,0x3,0x3D,0x0,0x6,0x1F,0xFF,0xD7,249,1983495
    pt_#0:	2,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    pt_#0:	3,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    pt_#0:	4,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    drive g Partition 0 valid:3
    
    ***** Partition List *****
    0(0):>> ExFat: Volume name:(VOL_EX1) Partition Total Size:4193714176 Used:3342336 time us: 31999
    1(0):>> ExFat: Volume name:(VOL_EX2) Partition Total Size:3857121280 Used:3047424 time us: 29002
    2(ff):>> ExFat:  Partition Total Size:32017219584 Used:1277952 time us: 7275
    3(fe):>> Fat16: Volume name:(SDSPI_VOL) Partition Total Size:1015283712 Used:0 time us: 137489
    done...
    Enter partition number to format or Enter to Bypass
       Or enter: v <pn> new_vol_label
    I am still hacking on it right now, that I want the list at end to show not just the device: 0 is USB first one, ff=SDIO, fe=SD SPI... But also which partition it is on that device.

    Note: the ExFat on the SDIO is a 32GB card.


    Note: I replaced that card with another 32gb card that has two partitions on it, one was FAT (boot) and other was EXT...
    Code:
    Initialize USB drive...UsbBase::mscBegin called 20006060 1 1
        After usbDriveBegin
    
    msc # Partition Table
    	part,boot,bgnCHS[3],type,endCHS[3],start,length
    exFAT:	1,0,0x20,0x21,0x0,0x7,0xFE,0xFF,0xFF,2048,8192000
    exFAT:	2,0,0x20,0x21,0x0,0x7,0xFE,0xFF,0xFF,8194048,7534592
    pt_#0:	3,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    pt_#0:	4,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    drive 0 Partition 0 valid:1
    drive 0 Partition 1 valid:1
    
    Initialize SDIO SD card...FsVolume::begin(2000861c)
    
    msc # Partition Table
    	part,boot,bgnCHS[3],type,endCHS[3],start,length
    FAT32:	1,0,0x0,0x1,0x40,0xC,0x3,0xE0,0xFF,8192,524288
    ext2/3/4:	2,0,0x3,0xE0,0xFF,0x83,0x3,0xE0,0xFF,532480,16269312
    pt_#0:	3,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    pt_#0:	4,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    drive s Partition 0 valid:536907828
    
    Initialize SPI SD card...FsVolume::begin(20008b58)
    
    msc # Partition Table
    	part,boot,bgnCHS[3],type,endCHS[3],start,length
    FAT16:	1,0,0x3,0x3D,0x0,0x6,0x1F,0xFF,0xD7,249,1983495
    pt_#0:	2,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    pt_#0:	3,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    pt_#0:	4,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    drive g Partition 0 valid:3
    
    ***** Partition List *****
    0(0):>> ExFat: Volume name:(VOL_EX1) Partition Total Size:4193714176 Used:3342336 time us: 31999
    1(0):>> ExFat: Volume name:(VOL_EX2) Partition Total Size:3857121280 Used:3047424 time us: 29002
    2(ff):>> Fat32: Volume name:(boot) Partition Total Size:264289280 Used:47383552 time us: 94964
    3(fe):>> Fat16: Volume name:(SDSPI_VOL) Partition Total Size:1015283712 Used:0 time us: 137401
    done...
    Enter partition number to format or Enter to Bypass
       Or enter: v <pn> new_vol_label
    Try setting partition index 2 to VOL_BOOT - *** Succeeded ***
    Press any key to run again
    Initialize USB drive...UsbBase::mscBegin called 20006060 1 1
        After usbDriveBegin
    
    msc # Partition Table
    	part,boot,bgnCHS[3],type,endCHS[3],start,length
    exFAT:	1,0,0x20,0x21,0x0,0x7,0xFE,0xFF,0xFF,2048,8192000
    exFAT:	2,0,0x20,0x21,0x0,0x7,0xFE,0xFF,0xFF,8194048,7534592
    pt_#0:	3,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    pt_#0:	4,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    drive 0 Partition 0 valid:1
    drive 0 Partition 1 valid:1
    
    Initialize SDIO SD card...FsVolume::begin(2000861c)
    
    msc # Partition Table
    	part,boot,bgnCHS[3],type,endCHS[3],start,length
    FAT32:	1,0,0x0,0x1,0x40,0xC,0x3,0xE0,0xFF,8192,524288
    ext2/3/4:	2,0,0x3,0xE0,0xFF,0x83,0x3,0xE0,0xFF,532480,16269312
    pt_#0:	3,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    pt_#0:	4,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    drive s Partition 0 valid:536907828
    
    Initialize SPI SD card...FsVolume::begin(20008b58)
    
    msc # Partition Table
    	part,boot,bgnCHS[3],type,endCHS[3],start,length
    FAT16:	1,0,0x3,0x3D,0x0,0x6,0x1F,0xFF,0xD7,249,1983495
    pt_#0:	2,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    pt_#0:	3,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    pt_#0:	4,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    drive g Partition 0 valid:3
    
    ***** Partition List *****
    0(0):>> ExFat: Volume name:(VOL_EX1) Partition Total Size:4193714176 Used:3342336 time us: 31999
    1(0):>> ExFat: Volume name:(VOL_EX2) Partition Total Size:3857121280 Used:3047424 time us: 29002
    2(ff):>> Fat32: Volume name:(VOL_BOOT) Partition Total Size:264289280 Used:47383552 time us: 94976
    3(fe):>> Fat16: Volume name:(SDSPI_VOL) Partition Total Size:1015283712 Used:0 time us: 137389
    done...
    Enter partition number to format or Enter to Bypass
       Or enter: v <pn> new_vol_label
    And that one allowed me to set volume Name... as you see changed from boot to VOL_BOOT

    Back to playing, coffee and figuring out what next:

  4. #254
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    8,988
    Just in case you would like to see the new and ... version:

    Here is a run with it formatting one of the USB partitions on the thumb drive. I have it by default on Ex Drives to try to compare the first 24 sectors before and after the format. This version was updated that it does a memcmp and only dump the sector if something in it changed. It was interesting that the only sector that changed was the checksum...
    Code:
    Cards up to 2 GiB (GiB = 2^30 bytes) will be formated FAT16.
    Cards larger than 2 GiB and up to 32 GiB will be formatted
    FAT32. Cards larger than 32 GiB will be formatted exFAT.
    
    Waiting up to 5 seconds for a USB drive 
    Initialize USB drive...UsbBase::mscBegin called 200060c0 1 1
        After usbDriveBegin
    
    msc # Partition Table
    	part,boot,bgnCHS[3],type,endCHS[3],start,length
    exFAT:	1,0,0x20,0x21,0x0,0x7,0xFE,0xFF,0xFF,2048,8192000
    exFAT:	2,0,0x20,0x21,0x0,0x7,0xFE,0xFF,0xFF,8194048,7534592
    pt_#0:	3,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    pt_#0:	4,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    drive 0 Partition 0 valid:1
    drive 0 Partition 1 valid:1
    
    Initialize SDIO SD card...FsVolume::begin(2000867c)
    
    msc # Partition Table
    	part,boot,bgnCHS[3],type,endCHS[3],start,length
    FAT32:	1,0,0x0,0x1,0x40,0xC,0x3,0xE0,0xFF,8192,524288
    ext2/3/4:	2,0,0x3,0xE0,0xFF,0x83,0x3,0xE0,0xFF,532480,16269312
    pt_#0:	3,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    pt_#0:	4,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    drive s Partition 0 valid:536907924
    
    Initialize SPI SD card...FsVolume::begin(20008bb8)
    
    msc # Partition Table
    	part,boot,bgnCHS[3],type,endCHS[3],start,length
    FAT16:	1,0,0x3,0x3D,0x0,0x6,0x1F,0xFF,0xD7,249,1983495
    pt_#0:	2,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    pt_#0:	3,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    pt_#0:	4,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    drive g Partition 0 valid:3
    
    ***** Partition List *****
    0(0:1):>> ExFat: Volume name:(VOL_EX1) Partition Total Size:4193714176 Used:3342336 time us: 31999
    1(0:2):>> ExFat: Volume name:(VOL_EX2) Partition Total Size:3857121280 Used:3047424 time us: 29002
    2(ff:1):>> Fat32: Volume name:(VOL_BOOT) Partition Total Size:264289280 Used:47383552 time us: 94775
    3(fe:1):>> Fat16: Volume name:(SDSPI_VOL) Partition Total Size:1015283712 Used:0 time us: 137409
    done...
    Enter partition number to format or Enter to Bypass
       change volume label: v <pn> new_vol_label
       dump volume first 24 sectors: d<pn>
       toggle on/off changed data: c
    ExFatFormatter - WIP
        m_sectorsPerCluster:64
        m_sectorsPerClusterShift:6
        m_relativeSectors:8194048
        m_clusterHeapStartSector: 8195200
        m_fatLength: 960
        m_fatStartSector: 8194176
        m_fatType: 64
        m_clusterCount: 117710
        m_totalSectors: 7534592
        m_bytesPerSector: 512
        m_bytesPerCluster: 32768
        m_rootDirectoryCluster: 4
        m_bytesPerSectorShift: 9
    
    VS: 23
    sectorsPerClusterShift: 6,
     sectorsPerCluster: 64,
     fatLength 960
    fatOffset: 128,
     partitionOffset: 8194048
    clusterHeapOffset: 1152,
     clusterCount: 117710,
     volumeLength 7534592
    cluster 2 bitmap: 8195200
    Up case table: 8195264
        m_relativeSectors:8194048
        m_totalSectors:7534592
    Writing Partition Boot Sector
    	Writing Sector: 0
    Write eight Extended Boot Sectors
    	Writing Sector: 1
    Write OEM Parameter Sector and reserved sector
    	Writing Sector: 9
    Write Boot CheckSum Sector
    	Writing Sector: 11
    Writing exFAT 	Writing Sector: 128, ns: 920
    .................................
    Write cluster two, bitmap
    	Writing Sector: 1152
    bitmapSize: 14714, ns: 29
    Writing upcase table
    	Writing Sector: 1216
    Writing root
    	Writing 1st Sector of root: 1280
    Format done
    Sector 0(8194048)
    Sector 1(8194049)
    Sector 2(8194050)
    Sector 3(8194051)
    Sector 4(8194052)
    Sector 5(8194053)
    Sector 6(8194054)
    Sector 7(8194055)
    Sector 8(8194056)
    Sector 9(8194057)
    Sector 10(8194058)
    Sector 11(8194059)
    Sector 12(8194060)
    Sector 13(8194061)
    Sector 14(8194062)
    Sector 15(8194063)
    Sector 16(8194064)
    Sector 17(8194065)
    Sector 18(8194066)
    Sector 19(8194067)
    Sector 20(8194068)
    Sector 21(8194069)
    Sector 22(8194070)
    Sector 23(8194071)
     D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7:..X...X...X...X...X...X...X...X.
     D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7:..X...X...X...X...X...X...X...X.
     D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7:..X...X...X...X...X...X...X...X.
     D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7:..X...X...X...X...X...X...X...X.
     D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7:..X...X...X...X...X...X...X...X.
     D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7:..X...X...X...X...X...X...X...X.
     D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7:..X...X...X...X...X...X...X...X.
     D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7:..X...X...X...X...X...X...X...X.
     D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7:..X...X...X...X...X...X...X...X.
     D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7:..X...X...X...X...X...X...X...X.
     D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7:..X...X...X...X...X...X...X...X.
     D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7:..X...X...X...X...X...X...X...X.
     D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7:..X...X...X...X...X...X...X...X.
     D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7:..X...X...X...X...X...X...X...X.
     D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7:..X...X...X...X...X...X...X...X.
     D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7 D1 AE 58 E7*D1*AE*58*E7*D1*AE*58*E7:..X...X...X...X...X...X...X...X.
    
    Press any key to run again
    Attached Files Attached Files

  5. #255
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    8,988
    Third update: I took that 32gb SD card that would not allow me to set the label or format back to PC, which gave an error. I then reformatted it to exFat, brought it back to Teensy,
    It found it... I used my dump command to dump the first sectors.

    I then told it to format (again of SDIO) It did fail again but interestingly several of the sectors were changed anyway...

    Took it back to PC and the PC did not like it...
    Code:
    Cards up to 2 GiB (GiB = 2^30 bytes) will be formated FAT16.
    Cards larger than 2 GiB and up to 32 GiB will be formatted
    FAT32. Cards larger than 32 GiB will be formatted exFAT.
    
    Waiting up to 5 seconds for a USB drive 
    Initialize USB drive...UsbBase::mscBegin called 200060c0 1 1
        After usbDriveBegin
    
    msc # Partition Table
    	part,boot,bgnCHS[3],type,endCHS[3],start,length
    exFAT:	1,0,0x20,0x21,0x0,0x7,0xFE,0xFF,0xFF,2048,8192000
    exFAT:	2,0,0x20,0x21,0x0,0x7,0xFE,0xFF,0xFF,8194048,7534592
    pt_#0:	3,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    pt_#0:	4,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    drive 0 Partition 0 valid:1
    drive 0 Partition 1 valid:1
    
    Initialize SDIO SD card...FsVolume::begin(2000867c)
    
    msc # Partition Table
    	part,boot,bgnCHS[3],type,endCHS[3],start,length
    exFAT:	1,0,0x82,0x3,0x0,0x7,0xFE,0xFF,0xFF,8192,62543872
    pt_#0:	2,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    pt_#0:	3,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    pt_#0:	4,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    drive s Partition 0 valid:536907924
    
    Initialize SPI SD card...FsVolume::begin(20008bb8)
    
    msc # Partition Table
    	part,boot,bgnCHS[3],type,endCHS[3],start,length
    FAT16:	1,0,0x3,0x3D,0x0,0x6,0x1F,0xFF,0xD7,249,1983495
    pt_#0:	2,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    pt_#0:	3,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    pt_#0:	4,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    drive g Partition 0 valid:3
    
    ***** Partition List *****
    0(0:1):>> ExFat: Volume name:(VOL_EX1) Partition Total Size:4193714176 Used:3342336 time us: 31999
    1(0:2):>> ExFat: Volume name:(VOL_EX2) Partition Total Size:3857121280 Used:3047424 time us: 29002
    2(ff:1):>> ExFat: Volume name:(FORMAT_ONPC) Partition Total Size:32017219584 Used:294912 time us: 9239
    3(fe:1):>> Fat16: Volume name:(SDSPI_VOL) Partition Total Size:1015283712 Used:0 time us: 137512
    done...
    Enter partition number to format or Enter to Bypass
       change volume label: v <pn> new_vol_label
       dump volume first 24 sectors: d<pn>
       toggle on/off changed data: c
    
    Sector 0(8192)
    EB 76 90 45 58 46 41 54 20 20 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :.v.EXFAT   .....................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 20 00 00 00 00 00 00 00 58 BA 03 00 00 00 00 00 08 00 00 00 1E 00 00 00 28 00 00 C0 E8 0E 00 :. .......X...............(......
    07 00 00 00 9F 30 B8 D8 00 01 00 00 09 06 01 80 00 00 00 00 00 00 00 00 33 C9 8E D1 8E C1 8E D9 :.....0..................3.......
    BC D0 7B BD 00 7C 88 16 6F 7C B4 41 BB AA 55 CD 13 72 69 81 FB 55 AA 75 63 F6 C1 01 74 5E FE 06 :..{..|..o|.A..U..ri..U.uc...t^..
    02 7C 66 50 B0 65 E8 A6 00 66 58 66 B8 01 00 00 00 8A 0E 6D 7C 66 D3 E0 66 89 46 E8 66 B8 01 00 :.|fP.e...fXf.......m|f..f.F.f...
    00 00 8A 0E 6C 7C 66 D3 E0 66 89 46 D8 66 A1 40 7C 66 40 BB 00 7E B9 01 00 66 50 E8 41 00 66 58 :....l|f..f.F.f.@|f@..~...fP.A.fX
    66 40 BB 00 80 B9 01 00 E8 34 00 66 50 B0 78 E8 5D 00 66 58 E9 09 01 A0 FC 7D EB 05 A0 FB 7D EB :f@.......4.fP.x.].fX.....}....}.
    00 B4 7D 8B F0 AC 98 40 74 0C 48 74 0E B4 0E BB 07 00 CD 10 EB EF A0 FD 7D EB E6 CD 16 CD 19 66 :..}....@t.Ht............}......f
    60 66 6A 00 66 50 06 53 66 68 10 00 01 00 B4 42 B2 80 8A 16 6F 7C 8B F4 CD 13 66 58 66 58 66 58 :`fj.fP.Sfh.....B....o|....fXfXfX
    66 58 66 61 72 B1 03 5E D8 66 40 49 75 D1 C3 66 60 B4 0E BB 07 00 B9 01 00 CD 10 66 61 C3 42 00 :fXfar..^.f@Iu..f`..........fa.B.
    4F 00 4F 00 54 00 4D 00 47 00 52 00 0D 0A 52 65 6D 6F 76 65 20 64 69 73 6B 73 20 6F 72 20 6F 74 :O.O.T.M.G.R...Remove disks or ot
    68 65 72 20 6D 65 64 69 61 2E FF 0D 0A 44 69 73 6B 20 65 72 72 6F 72 FF 0D 0A 50 72 65 73 73 20 :her media....Disk error...Press 
    61 6E 79 20 6B 65 79 20 74 6F 20 72 65 73 74 61 72 74 0D 0A 00 00 00 00 00 00 00 00 00 00 FF FF :any key to restart..............
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF :................................
    FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 6C 8B 98 55 AA :...........................l..U.
    
    Sector 1(8193)
    66 50 B0 46 E8 48 FF 66 58 66 A1 40 7C 66 03 06 58 7C 66 89 46 FC 66 C7 46 F8 FF FF FF FF 66 A1 :fP.F.H.fXf.@|f..X|f.F.f.F.....f.
    60 7C 66 83 F8 02 0F 82 D2 FE 66 3D F8 FF FF 0F 0F 83 C8 FE C6 46 EF 01 66 50 66 83 E8 02 66 8B :`|f.......f=.........F..fPf...f.
    5E E8 66 8B CB 66 8B F3 66 F7 E3 66 03 46 FC 66 50 66 BB 00 82 00 00 66 8B FB 66 B9 01 00 00 00 :^.f..f..f..f.F.fPf.....f..f.....
    E8 BC FE 80 3D 00 0F 84 0D 01 80 7E EF 01 0F 84 13 00 80 7E EF 02 0F 84 23 00 80 7E EF 03 0F 84 :....=......~.......~....#..~....
    8B 00 E9 F2 00 80 3D 85 0F 85 C0 00 8B 45 04 25 10 00 0F 85 B6 00 C6 46 EF 02 E9 AF 00 80 3D C0 :......=......E.%.......F......=.
    0F 85 A4 00 66 8B 45 14 66 89 46 F0 66 53 66 8B 45 18 66 8B 5E D8 66 4B 66 03 C3 66 F7 D3 66 23 :....f.E.f.F.fSf.E.f.^.fKf..f..f#
    C3 66 89 46 E4 66 5B 66 C7 46 E0 00 00 00 00 8A 45 01 88 46 DC 24 02 0F 84 25 00 66 B8 01 00 00 :.f.F.f[f.F......E..F.$...%.f....
    00 8A 0E 6D 7C 02 0E 6C 7C 66 D3 E0 66 48 66 53 66 8B 5D 18 66 03 C3 66 5B 66 D3 E8 66 89 46 E0 :...m|..l|f..fHfSf.].f..f[f..f.F.
    8A 45 03 3C 07 75 41 C6 46 EF 03 EB 3F 80 3D C1 75 36 66 50 66 53 66 57 83 C7 02 BB 07 00 8B 05 :.E.<.uA.F...?.=.u6fPfSfW........
    25 DF FF 89 05 83 C7 02 4B 75 F3 66 5F 66 5B 66 58 66 57 83 C7 02 B9 07 00 66 56 BE 5E 7D F3 A7 :%.......Ku.f_f[fXfW......fV.^}..
    66 5E 66 5F 0F 84 B8 00 C6 46 EF 01 66 83 C7 20 66 3B FB 0F 82 0C FF 66 58 66 40 4E 0F 85 EF FE :f^f_.....F..f.. f;.....fXf@N....
    66 58 66 52 66 53 66 33 D2 66 33 DB E8 3D 01 66 5B 66 5A 0F 82 C1 FE 83 C4 04 E9 7F FD 00 20 00 :fXfRfSf3.f3..=.f[fZ........... .
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 AA :..............................U.
    
    Sector 2(8194)
    66 50 B0 41 E8 48 FD 66 58 83 C4 04 8B 76 F2 8B 7E F0 8B C6 66 C1 E0 10 8B C7 66 83 F8 02 0F 82 :fP.A.H.fX....v..~...f.....f.....
    DA FC 66 83 F8 F8 0F 83 D2 FC 66 50 66 83 E8 02 66 8B 4E E8 66 F7 E1 66 03 46 FC 66 51 66 B9 01 :..f.......fPf...f.N.f..f.F.fQf..
    00 00 00 BB 00 00 06 8E 06 7D 7F E8 D1 FC 07 C1 EB 04 01 1E 7D 7F 66 8B 4E E4 66 2B 4E D8 66 89 :.........}..........}.f.N.f+N.f.
    4E E4 66 83 F9 00 0F 84 24 00 66 59 66 49 75 CB 66 58 66 53 66 52 8A 5E DC 66 8B 56 E0 E8 2C 00 :N.f.....$.fYfIu.fXfSfR.^.f.V..,.
    66 89 56 E0 66 5A 66 5B 0F 83 02 00 EB 9C 50 B0 54 E8 BB FC 58 8B 46 D8 A3 0B 7C 66 A1 40 7C 66 :f.V.fZf[......P.T...X.F...|f.@|f
    A3 1C 7C 8A 16 6F 7C EA 00 00 00 20 F6 C3 02 0F 85 0C 00 E8 23 00 26 66 8B 01 66 83 F8 F8 C3 66 :..|..o|.... ........#.&f..f....f
    83 FA 00 0F 84 06 00 66 40 66 4A F9 C3 66 B8 F8 FF FF FF 66 83 F8 F8 F8 C3 66 52 BF 00 82 66 33 :.......f@fJ..f.....f.....fR...f3
    D2 66 53 66 8B 5E D8 66 C1 EB 02 66 F7 F3 66 5B 66 3B 46 F8 74 41 66 89 46 F8 66 03 06 40 7C 66 :.fSf.^.f...f..f[f;F.tAf.F.f..@|f
    03 06 50 7C 66 0F B7 1E 6A 7C 83 E3 01 74 1C 8A 1E 6E 7C 80 FB 02 0F 87 E2 FB 66 52 66 8B C8 66 :..P|f...j|...t...n|.......fRf..f
    A1 54 7C 66 F7 E3 66 03 C1 66 5A 66 52 8B DF B9 01 00 E8 EA FB 66 5A 66 C1 E2 02 8B DA 66 5A C3 :.T|f..f..fZfR........fZf.....fZ.
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 AA :..............................U.
    
    Sector 3(8195)
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 AA :..............................U.
    
    Sector 4(8196)
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 AA :..............................U.
    
    Sector 5(8197)
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 AA :..............................U.
    
    Sector 6(8198)
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 AA :..............................U.
    
    Sector 7(8199)
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 AA :..............................U.
    
    Sector 8(8200)
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 AA :..............................U.
    
    Sector 9(8201)
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    
    Sector 10(8202)
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 :................................
    
    Sector 11(8203)
    C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 :................................
    C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 :................................
    C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 :................................
    C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 :................................
    C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 :................................
    C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 :................................
    C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 :................................
    C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 :................................
    C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 :................................
    C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 :................................
    C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 :................................
    C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 :................................
    C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 :................................
    C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 :................................
    C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 :................................
    C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 :................................
    
    Sector 12(8204)
     EB 76 90 45 58 46 41 54 20 20 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:.v.EXFAT   .....................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 20 00 00 00 00 00 00 00 58 BA 03 00 00 00 00 00 08 00 00 00 1E 00 00 00 28 00 00 C0 E8 0E 00:. .......X...............(......
     07 00 00 00 9F 30 B8 D8 00 01 00 00 09 06 01 80 00 00 00 00 00 00 00 00 33 C9 8E D1 8E C1 8E D9:.....0..................3.......
     BC D0 7B BD 00 7C 88 16 6F 7C B4 41 BB AA 55 CD 13 72 69 81 FB 55 AA 75 63 F6 C1 01 74 5E FE 06:..{..|..o|.A..U..ri..U.uc...t^..
     02 7C 66 50 B0 65 E8 A6 00 66 58 66 B8 01 00 00 00 8A 0E 6D 7C 66 D3 E0 66 89 46 E8 66 B8 01 00:.|fP.e...fXf.......m|f..f.F.f...
     00 00 8A 0E 6C 7C 66 D3 E0 66 89 46 D8 66 A1 40 7C 66 40 BB 00 7E B9 01 00 66 50 E8 41 00 66 58:....l|f..f.F.f.@|f@..~...fP.A.fX
     66 40 BB 00 80 B9 01 00 E8 34 00 66 50 B0 78 E8 5D 00 66 58 E9 09 01 A0 FC 7D EB 05 A0 FB 7D EB:f@.......4.fP.x.].fX.....}....}.
     00 B4 7D 8B F0 AC 98 40 74 0C 48 74 0E B4 0E BB 07 00 CD 10 EB EF A0 FD 7D EB E6 CD 16 CD 19 66:..}....@t.Ht............}......f
     60 66 6A 00 66 50 06 53 66 68 10 00 01 00 B4 42 B2 80 8A 16 6F 7C 8B F4 CD 13 66 58 66 58 66 58:`fj.fP.Sfh.....B....o|....fXfXfX
     66 58 66 61 72 B1 03 5E D8 66 40 49 75 D1 C3 66 60 B4 0E BB 07 00 B9 01 00 CD 10 66 61 C3 42 00:fXfar..^.f@Iu..f`..........fa.B.
     4F 00 4F 00 54 00 4D 00 47 00 52 00 0D 0A 52 65 6D 6F 76 65 20 64 69 73 6B 73 20 6F 72 20 6F 74:O.O.T.M.G.R...Remove disks or ot
     68 65 72 20 6D 65 64 69 61 2E FF 0D 0A 44 69 73 6B 20 65 72 72 6F 72 FF 0D 0A 50 72 65 73 73 20:her media....Disk error...Press 
     61 6E 79 20 6B 65 79 20 74 6F 20 72 65 73 74 61 72 74 0D 0A 00 00 00 00 00 00 00 00 00 00 FF FF:any key to restart..............
     FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF:................................
     FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 6C 8B 98 55 AA:...........................l..U.
    
    Sector 13(8205)
     66 50 B0 46 E8 48 FF 66 58 66 A1 40 7C 66 03 06 58 7C 66 89 46 FC 66 C7 46 F8 FF FF FF FF 66 A1:fP.F.H.fXf.@|f..X|f.F.f.F.....f.
     60 7C 66 83 F8 02 0F 82 D2 FE 66 3D F8 FF FF 0F 0F 83 C8 FE C6 46 EF 01 66 50 66 83 E8 02 66 8B:`|f.......f=.........F..fPf...f.
     5E E8 66 8B CB 66 8B F3 66 F7 E3 66 03 46 FC 66 50 66 BB 00 82 00 00 66 8B FB 66 B9 01 00 00 00:^.f..f..f..f.F.fPf.....f..f.....
     E8 BC FE 80 3D 00 0F 84 0D 01 80 7E EF 01 0F 84 13 00 80 7E EF 02 0F 84 23 00 80 7E EF 03 0F 84:....=......~.......~....#..~....
     8B 00 E9 F2 00 80 3D 85 0F 85 C0 00 8B 45 04 25 10 00 0F 85 B6 00 C6 46 EF 02 E9 AF 00 80 3D C0:......=......E.%.......F......=.
     0F 85 A4 00 66 8B 45 14 66 89 46 F0 66 53 66 8B 45 18 66 8B 5E D8 66 4B 66 03 C3 66 F7 D3 66 23:....f.E.f.F.fSf.E.f.^.fKf..f..f#
     C3 66 89 46 E4 66 5B 66 C7 46 E0 00 00 00 00 8A 45 01 88 46 DC 24 02 0F 84 25 00 66 B8 01 00 00:.f.F.f[f.F......E..F.$...%.f....
     00 8A 0E 6D 7C 02 0E 6C 7C 66 D3 E0 66 48 66 53 66 8B 5D 18 66 03 C3 66 5B 66 D3 E8 66 89 46 E0:...m|..l|f..fHfSf.].f..f[f..f.F.
     8A 45 03 3C 07 75 41 C6 46 EF 03 EB 3F 80 3D C1 75 36 66 50 66 53 66 57 83 C7 02 BB 07 00 8B 05:.E.<.uA.F...?.=.u6fPfSfW........
     25 DF FF 89 05 83 C7 02 4B 75 F3 66 5F 66 5B 66 58 66 57 83 C7 02 B9 07 00 66 56 BE 5E 7D F3 A7:%.......Ku.f_f[fXfW......fV.^}..
     66 5E 66 5F 0F 84 B8 00 C6 46 EF 01 66 83 C7 20 66 3B FB 0F 82 0C FF 66 58 66 40 4E 0F 85 EF FE:f^f_.....F..f.. f;.....fXf@N....
     66 58 66 52 66 53 66 33 D2 66 33 DB E8 3D 01 66 5B 66 5A 0F 82 C1 FE 83 C4 04 E9 7F FD 00 20 00:fXfRfSf3.f3..=.f[fZ........... .
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 AA:..............................U.
    
    Sector 14(8206)
     66 50 B0 41 E8 48 FD 66 58 83 C4 04 8B 76 F2 8B 7E F0 8B C6 66 C1 E0 10 8B C7 66 83 F8 02 0F 82:fP.A.H.fX....v..~...f.....f.....
     DA FC 66 83 F8 F8 0F 83 D2 FC 66 50 66 83 E8 02 66 8B 4E E8 66 F7 E1 66 03 46 FC 66 51 66 B9 01:..f.......fPf...f.N.f..f.F.fQf..
     00 00 00 BB 00 00 06 8E 06 7D 7F E8 D1 FC 07 C1 EB 04 01 1E 7D 7F 66 8B 4E E4 66 2B 4E D8 66 89:.........}..........}.f.N.f+N.f.
     4E E4 66 83 F9 00 0F 84 24 00 66 59 66 49 75 CB 66 58 66 53 66 52 8A 5E DC 66 8B 56 E0 E8 2C 00:N.f.....$.fYfIu.fXfSfR.^.f.V..,.
     66 89 56 E0 66 5A 66 5B 0F 83 02 00 EB 9C 50 B0 54 E8 BB FC 58 8B 46 D8 A3 0B 7C 66 A1 40 7C 66:f.V.fZf[......P.T...X.F...|f.@|f
     A3 1C 7C 8A 16 6F 7C EA 00 00 00 20 F6 C3 02 0F 85 0C 00 E8 23 00 26 66 8B 01 66 83 F8 F8 C3 66:..|..o|.... ........#.&f..f....f
     83 FA 00 0F 84 06 00 66 40 66 4A F9 C3 66 B8 F8 FF FF FF 66 83 F8 F8 F8 C3 66 52 BF 00 82 66 33:.......f@fJ..f.....f.....fR...f3
     D2 66 53 66 8B 5E D8 66 C1 EB 02 66 F7 F3 66 5B 66 3B 46 F8 74 41 66 89 46 F8 66 03 06 40 7C 66:.fSf.^.f...f..f[f;F.tAf.F.f..@|f
     03 06 50 7C 66 0F B7 1E 6A 7C 83 E3 01 74 1C 8A 1E 6E 7C 80 FB 02 0F 87 E2 FB 66 52 66 8B C8 66:..P|f...j|...t...n|.......fRf..f
     A1 54 7C 66 F7 E3 66 03 C1 66 5A 66 52 8B DF B9 01 00 E8 EA FB 66 5A 66 C1 E2 02 8B DA 66 5A C3:.T|f..f..fZfR........fZf.....fZ.
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 AA:..............................U.
    
    Sector 15(8207)
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 AA:..............................U.
    
    Sector 16(8208)
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 AA:..............................U.
    
    Sector 17(8209)
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 AA:..............................U.
    
    Sector 18(8210)
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 AA:..............................U.
    
    Sector 19(8211)
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 AA:..............................U.
    
    Sector 20(8212)
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 AA:..............................U.
    
    Sector 21(8213)
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
    
    Sector 22(8214)
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
    
    Sector 23(8215)
     C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7:................................
     C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7:................................
     C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7:................................
     C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7:................................
     C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7:................................
     C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7:................................
     C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7:................................
     C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7:................................
     C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7:................................
     C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7:................................
     C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7:................................
     C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7:................................
     C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7:................................
     C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7:................................
     C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7:................................
     C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7 C6 EC F0 F7:................................
    Press any key to run again
    Initialize USB drive...UsbBase::mscBegin called 200060c0 1 1
        After usbDriveBegin
    
    msc # Partition Table
    	part,boot,bgnCHS[3],type,endCHS[3],start,length
    exFAT:	1,0,0x20,0x21,0x0,0x7,0xFE,0xFF,0xFF,2048,8192000
    exFAT:	2,0,0x20,0x21,0x0,0x7,0xFE,0xFF,0xFF,8194048,7534592
    pt_#0:	3,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    pt_#0:	4,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    drive 0 Partition 0 valid:1
    drive 0 Partition 1 valid:1
    
    Initialize SDIO SD card...FsVolume::begin(2000867c)
    
    msc # Partition Table
    	part,boot,bgnCHS[3],type,endCHS[3],start,length
    exFAT:	1,0,0x82,0x3,0x0,0x7,0xFE,0xFF,0xFF,8192,62543872
    pt_#0:	2,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    pt_#0:	3,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    pt_#0:	4,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    drive s Partition 0 valid:536907924
    
    Initialize SPI SD card...FsVolume::begin(20008bb8)
    
    msc # Partition Table
    	part,boot,bgnCHS[3],type,endCHS[3],start,length
    FAT16:	1,0,0x3,0x3D,0x0,0x6,0x1F,0xFF,0xD7,249,1983495
    pt_#0:	2,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    pt_#0:	3,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    pt_#0:	4,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    drive g Partition 0 valid:3
    
    ***** Partition List *****
    0(0:1):>> ExFat: Volume name:(VOL_EX1) Partition Total Size:4193714176 Used:3342336 time us: 31999
    1(0:2):>> ExFat: Volume name:(VOL_EX2) Partition Total Size:3857121280 Used:3047424 time us: 29002
    2(ff:1):>> ExFat: Volume name:(FORMAT_ONPC) Partition Total Size:32017219584 Used:294912 time us: 7273
    3(fe:1):>> Fat16: Volume name:(SDSPI_VOL) Partition Total Size:1015283712 Used:0 time us: 137463
    done...
    Enter partition number to format or Enter to Bypass
       change volume label: v <pn> new_vol_label
       dump volume first 24 sectors: d<pn>
       toggle on/off changed data: c
    ExFatFormatter - WIP
        m_sectorsPerCluster:64
        m_sectorsPerClusterShift:6
        m_relativeSectors:8192
        m_clusterHeapStartSector: 18432
        m_fatLength: 7680
        m_fatStartSector: 10240
        m_fatType: 64
        m_clusterCount: 977088
        m_totalSectors: 62543872
        m_bytesPerSector: 512
        m_bytesPerCluster: 32768
        m_rootDirectoryCluster: 7
        m_bytesPerSectorShift: 9
    
    VS: 26
    sectorsPerClusterShift: 6,
     sectorsPerCluster: 64,
     fatLength 7680
    fatOffset: 2048,
     partitionOffset: 8192
    clusterHeapOffset: 10240,
     clusterCount: 977088,
     volumeLength 62543872
    cluster 2 bitmap: 18432
    Up case table: 18496
        m_relativeSectors:8192
        m_totalSectors:62543872
    Writing Partition Boot Sector
    	Writing Sector: 0
    Write eight Extended Boot Sectors
    	Writing Sector: 1
    Write OEM Parameter Sector and reserved sector
    	Writing Sector: 9
    Write Boot CheckSum Sector
    	Writing Sector: 11
    Writing exFAT 	Writing Sector: 2048, ns: 7634
    .................................
    Write cluster two, bitmap
    	Writing Sector: 10240
    bitmapSize: 122136, ns: 239
    DBG_FAIL: PFsExFatFormatter.cpp.358
    Format failed
    Sector 0(8192)
     EB 76 90 45 58 46 41 54 20 20 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:.v.EXFAT   .....................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 20 00 00 00 00 00 00 00 58 BA 03 00 00 00 00 00 08 00 00 00 1E 00 00 00 28 00 00 C0 E8 0E 00:. .......X...............(......
     07 00 00 00*00*58*BA*03 00 01 00 00 09 06 01 80 00 00 00 00 00 00 00 00*F4*F4*F4*F4*F4*F4*F4*F4:.....X..........................
    *F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4:................................
    *F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4:................................
    *F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4:................................
    *F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4:................................
    *F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4:................................
    *F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4 F4*F4*F4*F4*F4*F4*F4*F4*F4:................................
    *F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4:................................
    *F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4:................................
    *F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4:................................
    *F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4:................................
    *F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4:................................
    *F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4 55 AA:..............................U.
    
    Sector 1(8193)
    *00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00:................................
    *00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00:................................
    *00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00 00*00 00 00*00*00*00*00*00*00 00 00 00:................................
    *00*00*00*00*00 00*00*00*00*00*00*00*00*00*00*00*00 00*00*00*00*00*00*00*00 00*00*00*00*00*00*00:................................
    *00 00*00*00 00*00*00*00*00*00*00 00*00*00*00*00*00 00*00*00*00 00*00*00*00*00*00*00 00*00*00*00:................................
    *00*00*00 00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00:................................
    *00*00*00*00*00*00*00*00*00*00*00 00 00 00 00*00*00*00*00*00*00*00*00*00*00*00 00*00*00*00 00 00:................................
     00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00:................................
    *00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00 00*00*00:................................
    *00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00 00*00*00*00*00*00*00*00:................................
    *00*00*00*00*00*00*00 00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00:................................
    *00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00 00*00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 AA:..............................U.
    
    Sector 2(8194)
    *00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00:................................
    *00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00:................................
     00 00 00*00 00 00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00:................................
    *00*00*00*00*00 00*00*00*00 00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00 00:................................
    *00*00*00*00*00*00*00*00*00*00*00 00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00:................................
    *00*00*00*00*00*00*00*00 00 00 00*00*00*00*00*00*00*00 00*00*00 00*00*00*00*00*00*00*00*00*00*00:................................
    *00*00 00*00*00*00 00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00 00*00*00*00:................................
    *00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00:................................
    *00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00:................................
    *00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00 00*00*00*00*00*00*00*00*00*00*00*00*00*00*00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 AA:..............................U.
    
    Sector 3(8195)
    Sector 4(8196)
    Sector 5(8197)
    Sector 6(8198)
    Sector 7(8199)
    Sector 8(8200)
    Sector 9(8201)
    Sector 10(8202)
    Sector 11(8203)
    *1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6:..X...X...X...X...X...X...X...X.
    *1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6:..X...X...X...X...X...X...X...X.
    *1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6:..X...X...X...X...X...X...X...X.
    *1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6:..X...X...X...X...X...X...X...X.
    *1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6:..X...X...X...X...X...X...X...X.
    *1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6:..X...X...X...X...X...X...X...X.
    *1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6:..X...X...X...X...X...X...X...X.
    *1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6:..X...X...X...X...X...X...X...X.
    *1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6:..X...X...X...X...X...X...X...X.
    *1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6:..X...X...X...X...X...X...X...X.
    *1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6:..X...X...X...X...X...X...X...X.
    *1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6:..X...X...X...X...X...X...X...X.
    *1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6:..X...X...X...X...X...X...X...X.
    *1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6:..X...X...X...X...X...X...X...X.
    *1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6:..X...X...X...X...X...X...X...X.
    *1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6:..X...X...X...X...X...X...X...X.
    
    Sector 12(8204)
     EB 76 90 45 58 46 41 54 20 20 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:.v.EXFAT   .....................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 20 00 00 00 00 00 00 00 58 BA 03 00 00 00 00 00 08 00 00 00 1E 00 00 00 28 00 00 C0 E8 0E 00:. .......X...............(......
     07 00 00 00*00*58*BA*03 00 01 00 00 09 06 01 80 00 00 00 00 00 00 00 00*F4*F4*F4*F4*F4*F4*F4*F4:.....X..........................
    *F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4:................................
    *F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4:................................
    *F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4:................................
    *F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4:................................
    *F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4:................................
    *F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4 F4*F4*F4*F4*F4*F4*F4*F4*F4:................................
    *F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4:................................
    *F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4:................................
    *F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4:................................
    *F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4:................................
    *F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4:................................
    *F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4*F4 55 AA:..............................U.
    
    Sector 13(8205)
    *00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00:................................
    *00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00:................................
    *00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00 00*00 00 00*00*00*00*00*00*00 00 00 00:................................
    *00*00*00*00*00 00*00*00*00*00*00*00*00*00*00*00*00 00*00*00*00*00*00*00*00 00*00*00*00*00*00*00:................................
    *00 00*00*00 00*00*00*00*00*00*00 00*00*00*00*00*00 00*00*00*00 00*00*00*00*00*00*00 00*00*00*00:................................
    *00*00*00 00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00:................................
    *00*00*00*00*00*00*00*00*00*00*00 00 00 00 00*00*00*00*00*00*00*00*00*00*00*00 00*00*00*00 00 00:................................
     00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00:................................
    *00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00 00*00*00:................................
    *00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00 00*00*00*00*00*00*00*00:................................
    *00*00*00*00*00*00*00 00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00:................................
    *00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00 00*00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 AA:..............................U.
    
    Sector 14(8206)
    *00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00:................................
    *00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00:................................
     00 00 00*00 00 00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00:................................
    *00*00*00*00*00 00*00*00*00 00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00 00:................................
    *00*00*00*00*00*00*00*00*00*00*00 00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00:................................
    *00*00*00*00*00*00*00*00 00 00 00*00*00*00*00*00*00*00 00*00*00 00*00*00*00*00*00*00*00*00*00*00:................................
    *00*00 00*00*00*00 00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00 00*00*00*00:................................
    *00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00:................................
    *00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00:................................
    *00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00*00 00*00*00*00*00*00*00*00*00*00*00*00*00*00*00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:................................
     00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 AA:..............................U.
    
    Sector 15(8207)
    Sector 16(8208)
    Sector 17(8209)
    Sector 18(8210)
    Sector 19(8211)
    Sector 20(8212)
    Sector 21(8213)
    Sector 22(8214)
    Sector 23(8215)
    *1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6:..X...X...X...X...X...X...X...X.
    *1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6:..X...X...X...X...X...X...X...X.
    *1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6:..X...X...X...X...X...X...X...X.
    *1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6:..X...X...X...X...X...X...X...X.
    *1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6:..X...X...X...X...X...X...X...X.
    *1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6:..X...X...X...X...X...X...X...X.
    *1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6:..X...X...X...X...X...X...X...X.
    *1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6:..X...X...X...X...X...X...X...X.
    *1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6:..X...X...X...X...X...X...X...X.
    *1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6:..X...X...X...X...X...X...X...X.
    *1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6:..X...X...X...X...X...X...X...X.
    *1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6:..X...X...X...X...X...X...X...X.
    *1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6:..X...X...X...X...X...X...X...X.
    *1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6:..X...X...X...X...X...X...X...X.
    *1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6:..X...X...X...X...X...X...X...X.
    *1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6*1D*0B*58*D6:..X...X...X...X...X...X...X...X.
    
    Press any key to run again
    Note: I have a sligthly hacked up version of your ExFormatter, that is I added at top:
    Code:
    #define LOCAL_USE_DBG_MACROS
    
    #ifdef LOCAL_USE_DBG_MACROS
    static void dbgPrint(uint16_t line) {
      Serial.print(F("DBG_FAIL: "));
      Serial.print(F(DBG_FILE));
      Serial.write('.');
      Serial.println(line);
    }
    #undef DBG_FAIL_MACRO
    #undef DBG_PRINT_IF
    #undef DBG_HALT_IF
    
    #define DBG_PRINT_IF(b) if (b) {Serial.print(F(__FILE__));\
                            Serial.println(__LINE__);}
    #define DBG_HALT_IF(b) if (b) {Serial.print(F("DBG_HALT "));\
                           Serial.print(F(__FILE__)); Serial.println(__LINE__);\
                           while (true) {}}
    #define DBG_FAIL_MACRO dbgPrint(__LINE__);
    #else  // USE_DBG_MACROS
    #define DBG_FAIL_MACRO
    #define DBG_PRINT_IF(b)
    #define DBG_HALT_IF(b)
    #endif  // USE_DBG_MACROS
    So the failure was at:
    Code:
      if (ns > sectorsPerCluster) {
        DBG_FAIL_MACRO;
        goto fail;
      }
    So 239 > 64...

    EDIT: Looking at: https://events.static.linuxfound.org...unegowda_s.pdf Page 14
    Generally the cluster 2 contains the cluster heap

    if cluster heap size is more than cluster size; then the index 2 of File Allocation Table (FAT) contains the next cluster number which contains the cluster heap.

    There can exist multiple clusters ( cluster chain in FAT) as cluster heap
    Last edited by KurtE; 03-22-2021 at 04:33 PM.

  6. #256
    Senior Member+ mjs513's Avatar
    Join Date
    Jul 2014
    Location
    New York
    Posts
    6,958
    Quote Originally Posted by KurtE
    So the failure was at:
    Code:
      if (ns > sectorsPerCluster) {
        DBG_FAIL_MACRO;
        goto fail;
      }
    So 239 > 64...
    Yep - that's the exact failure point for less than 32GB free for the partition. So even if you have a 32GB card it will probably really be 29.8GB when windows formats it. Found that by turning the debugging on and it shows me where it fails.

    See post #252 and you will see exactly what;s happening. Tried to fix it so it gets past that point but no luck. The reason it works for SDFat formatter is that its using the cluster count of the card so it pretty much always passes that test. The lines right before it show the comparison values:
    Code:
      // The 7)/8 converts clusterCount to bytes rounded up to whole bytes.
      bitmapSize = (clusterCount + 7)/8;  
      ns = (bitmapSize + BYTES_PER_SECTOR - 1)/BYTES_PER_SECTOR;

  7. #257
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    8,988
    Hi again,

    Not sure if you noticed my edit to my previous message:

    EDIT: Looking at: https://events.static.linuxfound.org...unegowda_s.pdf Page 14
    Generally the cluster 2 contains the cluster heap

    if cluster heap size is more than cluster size; then the index 2 of File Allocation Table (FAT) contains the next cluster number which contains the cluster heap.

    There can exist multiple clusters ( cluster chain in FAT) as cluster heap
    I was curious to see if the partition code already looks at the 2nd directory item?

  8. #258
    Senior Member+ mjs513's Avatar
    Join Date
    Jul 2014
    Location
    New York
    Posts
    6,958
    Afternoon @KurtE
    Nope - missed the edit. Think we cross posted and didn't notice the update.

    That's the same reference I go the MBR layout in post #222. An even more detailed one is https://digital-forensics.sans.org/s...-exfat-ham.pdf.

    But more to the point don't think so. I am wondering now if we really should copy that over. Have to run a few experiments if it changes when I add files. It may. Since the block F8 is the media the series of 0xff is the end block i think. Not the right terminology.

  9. #259
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    8,988
    For the heck of it, I just ran the ExFatDbgDmp example sketch (edited for SDIO)... On the volume just formatted by PC...
    Code:
    Type any character to begin
    
    dirLabel: 0x83
    labelLength: 11
    unicode: FORMATED_PC
    
    dirBitmap: 0x81
    flags: 0x0
    firstCluster: 2
    size: 122136
    
    dirUpcase: 0x82
    checksum: 0xE619D30D
    firstCluster: 6
    size: 5836
    
    dirFile: 0x85
    setCount: 3
    setChecksum: 0x56FB
    attributes: 0x16
    createTime: 2021-03-22 09:01:44 UTC-07:00
    modifyTime: 2021-03-22 09:01:44 UTC-07:00
    accessTime: 2021-03-22 09:01:44 UTC-07:00
    
    dirStream: 0xC0
    flags: 0x3
    nameLength: 25
    nameHash: 0xFFB8
    validLength: 32768
    firstCluster: 8
    dataLength: 32768
    
    dirName: 0xC1
    unicode: System Volume I
    
    dirName: 0xC1
    unicode: nformation
    setChecksum: 0x56FB == calcChecksum: 0x56FB
    nameHash: 0xFFB8 == calcHash: 0xFFB8
    Done
    FAT:
           0 FFFFFFF8 FFFFFFFF        3        4        5 FFFFFFFF FFFFFFFF FFFFFFFF
           8        0        0        0        0        0        0        0        0
          10        0        0        0        0        0        0        0        0
          18        0        0        0        0        0        0        0        0
          20        0        0        0        0        0        0        0        0
          28        0        0        0        0        0        0        0        0
          30        0        0        0        0        0        0        0        0
          38        0        0        0        0        0        0        0        0
          40        0        0        0        0        0        0        0        0
          48        0        0        0        0        0        0        0        0
          50        0        0        0        0        0        0        0        0
          58        0        0        0        0        0        0        0        0
          60        0        0        0        0        0        0        0        0
          68        0        0        0        0        0        0        0        0
          70        0        0        0        0        0        0        0        0
          78        0        0        0        0        0        0        0        0
    bitmap:
       0 FF 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
     100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
     120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
     140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
     160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
     180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
     1A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
     1C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
     1E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    mbrSig: 0xAA55
    00 82 03 00 07 FE FF FF 2000 3BA5800
    00 00 00 00 00 00 00 00 0 0
    00 00 00 00 00 00 00 00 0 0
    00 00 00 00 00 00 00 00 0 0
    bpbSig: 0xAA55
    FileSystemName: EXFAT   
    PartitionOffset: 0x2000
    VolumeLength: 62543872
    FatOffset: 0x800
    FatLength: 7680
    ClusterHeapOffset: 0x2800
    ClusterCount: 977088
    RootDirectoryCluster: 7
    VolumeSerialNumber: 0x14A7F02E
    FileSystemRevision: 0x100
    VolumeFlags: 0x0
    BytesPerSectorShift: 9
    SectorsPerClusterShift: 6
    NumberOfFats: 1
    DriveSelect: 0x80
    PercentInUse: 0
    
    Checking upcase table
    skip 1415 6134
    skip 8581 843
    skip 9450 1862
    skip 11558 53787
    Done checkUpcase
    Done
    Now ran his ExFatformatter on it...

    Code:
    ype any character to begin
    
    Your SD will be formated exFAT.
    All data on the SD will be lost.
    Type 'Y' to continue.
    
    Writing FAT .................................
    Writing upcase table
    Writing root
    Format done
    Bytes per cluster: 131072
    Done
    Now to run his test program again...
    Code:
    Type any character to begin
    
    Unused dirType: 0x3
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    
    dirBitmap: 0x81
    flags: 0x0
    firstCluster: 2
    size: 30527
    
    dirUpcase: 0x82
    checksum: 0xE619D30D
    firstCluster: 3
    size: 5836
    Done
    FAT:
           0 FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF        0        0        0
           8        0        0        0        0        0        0        0        0
          10        0        0        0        0        0        0        0        0
          18        0        0        0        0        0        0        0        0
          20        0        0        0        0        0        0        0        0
          28        0        0        0        0        0        0        0        0
          30        0        0        0        0        0        0        0        0
          38        0        0        0        0        0        0        0        0
          40        0        0        0        0        0        0        0        0
          48        0        0        0        0        0        0        0        0
          50        0        0        0        0        0        0        0        0
          58        0        0        0        0        0        0        0        0
          60        0        0        0        0        0        0        0        0
          68        0        0        0        0        0        0        0        0
          70        0        0        0        0        0        0        0        0
          78        0        0        0        0        0        0        0        0
    bitmap:
       0 07 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
     100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
     120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
     140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
     160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
     180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
     1A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
     1C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
     1E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    mbrSig: 0xAA55
    00 01 01 00 07 FE FF FF 4000 3BA3800
    00 00 00 00 00 00 00 00 0 0
    00 00 00 00 00 00 00 00 0 0
    00 00 00 00 00 00 00 00 0 0
    bpbSig: 0xAA55
    FileSystemName: EXFAT   
    PartitionOffset: 0x4000
    VolumeLength: 62535680
    FatOffset: 0x2000
    FatLength: 8192
    ClusterHeapOffset: 0x4000
    ClusterCount: 244216
    RootDirectoryCluster: 4
    VolumeSerialNumber: 0x3BA7800
    FileSystemRevision: 0x100
    VolumeFlags: 0x0
    BytesPerSectorShift: 9
    SectorsPerClusterShift: 8
    NumberOfFats: 1
    DriveSelect: 0x80
    PercentInUse: 0
    
    Checking upcase table
    skip 1415 6134
    skip 8581 843
    skip 9450 1862
    skip 11558 53787
    Done checkUpcase
    Done
    And the size is different... ?

    And if I plug it into my PC, it comes up OK???

  10. #260
    Senior Member+ mjs513's Avatar
    Join Date
    Jul 2014
    Location
    New York
    Posts
    6,958
    @KurtE
    Ok - getting confused. I have a partition that is 29.3 GB is size according to windows.

    When I do:
    Code:
    Serial.printf("Partition Size (GB): %u\n", partVol.getExFatVol()->clusterCount()*partVol.getExFatVol()->bytesPerCluster());
    it gives me 1,507,852,288 bytes??????

    How can that be? What am I missing.

  11. #261
    Senior Member+ mjs513's Avatar
    Join Date
    Jul 2014
    Location
    New York
    Posts
    6,958
    @KurtE
    Thats an easy one. When you run ExFatFormatter it reduces the size of the Partition by 8MB - it creates an unallocated space on the drive;
    SD cards internal flash memory is managed in "Allocation Units".

    Code:
    AU (Allocation Unit): is a physical boundary of the card and consists of one or more blocks and its size depends on each card. The maximum AU size is defined for memory capacity. Furthermore AU is the minimal unit in which the card guarantees its performance for devices which complies with Speed Class Specification.
    The standard SD format for exFAT specifies a BU, Boundary Unit which is a multiple of an AU. For a 64GB card the BU is 16 MB. Here is a quote from the spec.

    Code:
    exFAT file system for SD Memory Card has the similar recommendation with FAT32 file system described in the previous section. The structure of the file system should be implemented as follows. 1. The number of the sectors before Boot Region is the same as the Boundary Unit size. Boundary Unit is the logical value determined taking the recommended size at physical layer into account. The concrete value is described in Appendix C.5.3. 2. The total number of the sectors included in Boot Region and FAT is a multiple size of the Boundary Unit. Here, this size shall be set to minimum complying with the format parameter computations described in Appendix C.5.4. 3. The first sector of the Master Boot Record, the Main Boot Sector, and the first sector of the Cluster Heap are always placed on the boundary of Boundary Unit.
    So there are several reserved regions in the card to align file structures on AUs.
    Maybe we have to do something like this but need to translate it first - also windows does seem to do that so maybe ....

  12. #262
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    8,988
    My guess is that you overflow 32 bit math... so printf needs: %llu to print 64 bit values... You may need to cast..

    On my previous post: I noticed that the windows format had:
    Code:
    dirBitmap: 0x81
    flags: 0x0
    firstCluster: 2
    size: 122136
    
    dirUpcase: 0x82
    checksum: 0xE619D30D
    firstCluster: 6
    size: 5836
    But after the ExFat format sketch these show:
    Code:
    dirBitmap: 0x81
    flags: 0x0
    firstCluster: 2
    size: 30527
    
    dirUpcase: 0x82
    checksum: 0xE619D30D
    firstCluster: 3
    size: 5836
    Done
    I wonder if he truncated the logical size of it, and expecting that if saving a file will go beyond the number of clusters shown in the map, the map file will then be increased in size?

    SideNote: on my PC I then used SDFormatter, which then silently changed it to Fat32...
    Last edited by KurtE; 03-22-2021 at 05:47 PM.

  13. #263
    Senior Member+ mjs513's Avatar
    Join Date
    Jul 2014
    Location
    New York
    Posts
    6,958
    More for me to remember.

    0x81 (Bitmap data entry): flags = 0 implies 1st cluster Heap, size = 122136 is the size of the bitmap. But just notice this comment in the linux reference Size of cluster heap in bytes, it is calculated as: Ceil (Cluster count / 8 ) which is basically what he is doing with bitmapsize = (clusterCount+7)/8 which should give the rounded up value for the bitmap size. So technically if the clusterCount is wrong the bitmap size will be wrong as well.

    Yep - did overflow it. Recast and its about right now - give me about 2 GB more that what Windows shows.

  14. #264
    Senior Member+ mjs513's Avatar
    Join Date
    Jul 2014
    Location
    New York
    Posts
    6,958
    Easy solution.

    When you format an exFAT volume in windows make sure you specify the ALLOCATION UNIT SIZE OF 64 Kilobytes or higher and then you can format all 4 exFAT volumes regardless of partition size. But there are probably performance drawbacks I guess.

  15. #265
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    8,988
    The main drawback is a 3 byte file will now take 64KB on disk

    Edit: but at least it runs now. And I was able to reformat the SDCArd while in the T4.1 SD holder with the sketch.

  16. #266
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    8,988
    @mjs513 - I am starting to hack up my updated version of the format partition code, with maybe the option of allowing you to format to a different format:
    right now I have: f 1
    Will format partition 1 (second one) with whichever format that was on it. But suppose for now it is a Fat32

    I was hacking in an option like: f1 ex
    Which would say to format for FatEx...
    dito for : f1 16 or f 1 32

    Should this work, or does the code highly rely on the fact that it was already in this case FatEx?

    Then maybe in cases like:
    Code:
    Initialize SDIO SD card...FsVolume::begin(2000867c)
    
    msc # Partition Table
    	part,boot,bgnCHS[3],type,endCHS[3],start,length
    FAT32:	1,0,0x0,0x1,0x40,0xC,0x3,0xE0,0xFF,8192,524288
    ext2/3/4:	2,0,0x3,0xE0,0xFF,0x83,0x3,0xE0,0xFF,532480,16269312
    pt_#0:	3,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    pt_#0:	4,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    drive s Partition 0 valid:536907924
    Where there is another partition that is NOT fat could maybe have a version of command like:
    f D0 P1 ex

    For our usb device 0 and partition 1...
    Not sure how much of a pain that might be...

  17. #267
    Senior Member+ mjs513's Avatar
    Join Date
    Jul 2014
    Location
    New York
    Posts
    6,958
    Quote Originally Posted by KurtE View Post
    The main drawback is a 3 byte file will now take 64KB on disk

    Edit: but at least it runs now. And I was able to reformat the SDCArd while in the T4.1 SD holder with the sketch.
    Ok back at it again

    Just formatted a SDCard using ExFatFormated turns out that the reason it seems to be working is that is defaults to 128Kilobytes Allocation size:
    Code:
    VS: 26
    sectorsPerClusterShift: 8,
     sectorsPerCluster: 256,
     fatLength 8192
    fatOffset: 8192,
     partitionOffset: 16384
    clusterHeapOffset: 16384,
     clusterCount: 244216,
     volumeLength 62535680
    cluster 2 bitmap: 32768
    Up case table: 33024
    I had hacked up ExFatVolume.cpp to dump this data awhile ago just in case

  18. #268
    Senior Member+ mjs513's Avatar
    Join Date
    Jul 2014
    Location
    New York
    Posts
    6,958
    Quote Originally Posted by KurtE View Post
    @mjs513 - I am starting to hack up my updated version of the format partition code, with maybe the option of allowing you to format to a different format:
    right now I have: f 1
    Will format partition 1 (second one) with whichever format that was on it. But suppose for now it is a Fat32

    I was hacking in an option like: f1 ex
    Which would say to format for FatEx...
    dito for : f1 16 or f 1 32

    Should this work, or does the code highly rely on the fact that it was already in this case FatEx?

    Then maybe in cases like:
    Code:
    Initialize SDIO SD card...FsVolume::begin(2000867c)
    
    msc # Partition Table
    	part,boot,bgnCHS[3],type,endCHS[3],start,length
    FAT32:	1,0,0x0,0x1,0x40,0xC,0x3,0xE0,0xFF,8192,524288
    ext2/3/4:	2,0,0x3,0xE0,0xFF,0x83,0x3,0xE0,0xFF,532480,16269312
    pt_#0:	3,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    pt_#0:	4,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    drive s Partition 0 valid:536907924
    Where there is another partition that is NOT fat could maybe have a version of command like:
    f D0 P1 ex

    For our usb device 0 and partition 1...
    Not sure how much of a pain that might be...
    Right now PFsExFatFormmatter relies totally on the exFat format that is already there. On and off was hacking on it to see about making it more generic but we keep running into issues. As you said at least its working for now and now back to making it generic The key is going to be to make it fit in the same partition space, going to play with that next.

    As to your other question about formatting a not FAT partition. If its generic enough it shouldn't matter.

    2 key pieces were the default AU (doesn't seem to matter with FAT16 or FAT32, yet) and making sure the offset and total sectors is correct for the new format. Was playing with that a bit as well.

  19. #269
    Senior Member+ mjs513's Avatar
    Join Date
    Jul 2014
    Location
    New York
    Posts
    6,958
    @KurtE - @wwatson
    I hacked up the PFsExFatFormatter to make it more general so it only relies on what is already in the MBR:
    Code:
    Sector Count
    Partition Offset
    I tried it on a 4 partition ExFat thumb drive and seems to be working except for one thing. It doesn't retain the volume name. Not sure why? Maybe since the configure of the partition is different. Now for the most part it is using the same configuration that ExFatFormatter is currently using.

    Am attaching the modified file to play with. Don't want to push the change up yet - more testing is nessary.

    Now to see if I can get it to format as a FAT32 from a ExFat partition.

    EDIT: Spoke too soon have to first modify PFsFatFormatter to make that generic as well before trying to convert partitions.
    Attached Files Attached Files

  20. #270
    Senior Member wwatson's Avatar
    Join Date
    Aug 2017
    Posts
    426
    @KurtE - Saw this:
    Code:
    Initialize SDIO SD card...FsVolume::begin(2000867c)
    
    msc # Partition Table
    	part,boot,bgnCHS[3],type,endCHS[3],start,length
    FAT32:	1,0,0x0,0x1,0x40,0xC,0x3,0xE0,0xFF,8192,524288
    ext2/3/4:	2,0,0x3,0xE0,0xFF,0x83,0x3,0xE0,0xFF,532480,16269312
    pt_#0:	3,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    pt_#0:	4,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
    drive s Partition 0 valid:536907924
    That's cool Want to get back to playing with lwext4 soon. Got started but got distracted with UsbMscFat developments. Hopefully soon.

    lwext4 seems to be based on ext2/3/4/ formatted image files but I think it could also work with a block device. I had just got started learning about the ext file system.

    I have a highly modified version of lwext4 that finally compiles without errors but is still non-functional. A very stripped down version at this point Hope to get back to it soon.

  21. #271
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    8,988
    Sorry been distracted this afternoon, will hopefully get back to it tomorrow.

    But should be fun.

    @mjs513 as for Volume name, we maybe want to try to retrieve it before we call the format function and pass it in to the format or in the place that calls the format.

    But also would need to then update the PFsVolume object to update to the new underlying File system...

    EDIT: downloaded new .cpp file... There were a couple of things that were defined and not used (and not in header file...)
    So commented out the dump_hex and the //m_capacityGB = ((uint64_t)partVol.getExFatVol()->clusterCount() * (uint64_t)partVol.getExFatVol()->bytesPerCluster()/1000000000);

    As was not used nor defined...

    Will play more tomorrow.
    Last edited by KurtE; 03-23-2021 at 02:08 AM.

  22. #272
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    8,988
    @mjs513 with your updated PFsExFatFormatter.cpp and volume name issue.

    I am pretty sure the issue is that the partVol has not been updated so it still thinks it is a Fat not an ExFat...

    I had similar issue with the Fatformatter when I tried to get the updated free count...

    Fixed in that case by adding a begin call.

    So in this case something like this:

    Code:
     
    ...
     // We now need to tell the partVol that it has a new format.
      partVol.begin(m_dev, true, m_part+1);  // need to 1 bias again...
    
      if (has_volume_label) partVol.setVolumeLabel(volName);
      m_dev->syncDevice();
      return true;
    I have not tried it yet to verify it works. Will be..

    Edit: Tested on Stick with 3 partitions (Fat, Fat32, EX) and made all three 3x and it kept all 3 volume labels
    Also did it on two SD cards with one partition each
    Last edited by KurtE; 03-23-2021 at 02:20 PM.

  23. #273
    Senior Member+ mjs513's Avatar
    Join Date
    Jul 2014
    Location
    New York
    Posts
    6,958
    Quote Originally Posted by KurtE View Post
    @mjs513 with your updated PFsExFatFormatter.cpp and volume name issue.

    I am pretty sure the issue is that the partVol has not been updated so it still thinks it is a Fat not an ExFat...

    I had similar issue with the Fatformatter when I tried to get the updated free count...

    Fixed in that case by adding a begin call.

    So in this case something like this:

    Code:
     
    ...
     // We now need to tell the partVol that it has a new format.
      partVol.begin(m_dev, true, m_part+1);  // need to 1 bias again...
    
      if (has_volume_label) partVol.setVolumeLabel(volName);
      m_dev->syncDevice();
      return true;
    I have not tried it yet to verify it works. Will be..
    Good Morning @KurtE
    Yeah - kind of figured that out this morning. I was working on making FAT32 formatting more generic and saw that we did that there as well. So I just added in PFsExFatFormatter as well. Haven;t tested it yet though either. I do think I got FAT32 working to be more generic so all you need is the relative sectors and sector count. Only tested with 2 partitions (FAT32) haven't tested FAT16 yet. I've the attached the updates just in case you want to play.

    EDIT: Guess now to see if I can change formats between FAT32 and exFAT and vice versa.

    EDIT2: Forgot to add the sync device call. Just added it in my local copy.
    Attached Files Attached Files

  24. #274
    Senior Member+ mjs513's Avatar
    Join Date
    Jul 2014
    Location
    New York
    Posts
    6,958
    @KurtE
    Just tried the update to ExFat formatter and volume name is now retained.

  25. #275
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    8,988
    @mjs513 - Tried changing a ExFat back to Fat, and so far it hung... Now investigating... Maybe because earlier it was a Fat16 volume.

    Time for more coffee and...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •