mjs513
Senior Member+
@KurtE
Saw what you meant so made I change. Now after formatting in windows the FAT32 volume:
and after formatting with MSCFormatter sketch:
formatting looked like this:
Better?
Saw what you meant so made I change. Now after formatting in windows the FAT32 volume:
Code:
msc # Partition Table
part,boot,bgnCHS[3],type,endCHS[3],start,length
FAT16: 1,0,0x20,0x21,0x0,0xE,0x13,0x28,0xEB,2048,3774464
FAT32: 2,0,0x13,0x29,0xEB,0xC,0x1B,0x8D,0xCE,3776512,7759872
exFAT: 3,0,0x1B,0x8E,0xCE,0x7,0xFE,0xFF,0xFF,11536384,109608960
pt_#0: 4,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
PFsVolume::begin USBmscInterface(20002a54, 1)
PFsVolume::begin(20002a54, 1)
Partition 0 valid:1
PFsVolume::begin USBmscInterface(20002a54, 2)
PFsVolume::begin(20002a54, 2)
Partition 1 valid:1
PFsVolume::begin USBmscInterface(20002a54, 3)
PFsVolume::begin(20002a54, 3)
Partition 2 valid:1
PFsVolume::begin USBmscInterface(20002a54, 4)
PFsVolume::begin(20002a54, 4)
Partition 3 valid:0
0:>> Fat16: Volume name:(FAT16)###PFsVolume::freeClusterCount: FT:16
m_sectorsPerCluster:64
m_sectorsPerClusterShift:6
m_rootDirEntryCount:512
m_sectorsPerFat:231
m_dataStartSector:2544
m_fatStartSector:2050
m_rootDirStart:2512
m_bytesPerSector:512
Partition Total Size:1932263424 Used:98304 time us: 14873
Free Clusters: API: 58965 by CB:58965 time us: 14742
Free Clusters: Info: 4294967295 time us: 0
1:>> Fat32: Volume name:(FAT32)###PFsVolume::freeClusterCount: FT:32
m_sectorsPerCluster:8
m_sectorsPerClusterShift:3
m_rootDirEntryCount:0
[COLOR="#FF0000"] m_sectorsPerFat:7563[/COLOR]
m_dataStartSector:3792896
m_fatStartSector:3777770
[COLOR="#FF0000"]m_rootDirStart:2[/COLOR]
m_bytesPerSector:512
Partition Total Size:3964665856 Used:16384 time us: 472998
Free Clusters: API: 967932 by CB:967932 time us: 472992
Free Clusters: Info: 967932 time us: 1118
2:>> ExFat: Volume name:(exFAT1) Partition Total Size:56116641792 Used:786432 time us: 39376
Free Clusters: API: 428130 by CB:0 time us: 1
Free Clusters: Info: 4294967295 time us: 0
done...
Code:
msc # Partition Table
part,boot,bgnCHS[3],type,endCHS[3],start,length
FAT16: 1,0,0x20,0x21,0x0,0xE,0x13,0x28,0xEB,2048,3774464
FAT32: 2,0,0x28,0x69,0xD4,0xB,0xFE,0xFF,0xFF,3776512,7759872
exFAT: 3,0,0x1B,0x8E,0xCE,0x7,0xFE,0xFF,0xFF,11536384,109608960
pt_#0: 4,0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0,0
PFsVolume::begin USBmscInterface(20002a54, 1)
PFsVolume::begin(20002a54, 1)
Partition 0 valid:1
PFsVolume::begin USBmscInterface(20002a54, 2)
PFsVolume::begin(20002a54, 2)
Partition 1 valid:1
PFsVolume::begin USBmscInterface(20002a54, 3)
PFsVolume::begin(20002a54, 3)
Partition 2 valid:1
PFsVolume::begin USBmscInterface(20002a54, 4)
PFsVolume::begin(20002a54, 4)
Partition 3 valid:0
0:>> Fat16: Volume name:(FAT16)###PFsVolume::freeClusterCount: FT:16
m_sectorsPerCluster:64
m_sectorsPerClusterShift:6
m_rootDirEntryCount:512
m_sectorsPerFat:231
m_dataStartSector:2544
m_fatStartSector:2050
m_rootDirStart:2512
m_bytesPerSector:512
Partition Total Size:1932263424 Used:98304 time us: 14873
Free Clusters: API: 58965 by CB:58965 time us: 14742
Free Clusters: Info: 4294967295 time us: 0
1:>> Fat32: Volume name:(FAT32)###PFsVolume::freeClusterCount: FT:32
m_sectorsPerCluster:64
m_sectorsPerClusterShift:6
m_rootDirEntryCount:0
[COLOR="#FF0000"] m_sectorsPerFat:7563
[/COLOR] m_dataStartSector:3792896
m_fatStartSector:3777770
[COLOR="#FF0000"] m_rootDirStart:2
[/COLOR] m_bytesPerSector:512
Partition Total Size:3964665856 Used:32768 time us: 59373
Free Clusters: API: 120991 by CB:120991 time us: 59367
Free Clusters: Info: 4294967295 time us: 1118
2:>> ExFat: Volume name:(exFAT1) Partition Total Size:56116641792 Used:786432 time us: 39376
Free Clusters: API: 428130 by CB:0 time us: 0
Free Clusters: Info: 4294967295 time us: 0
done...
Code:
Initialize USB drive...UsbBase::mscBegin called 200045a0 1 1
After usbDriveBegin
PFsVolume::begin USBmscInterface(20002a54, 1)
PFsVolume::begin(20002a54, 1)
USB drive 1 is present.
PFsVolume::begin(20002a54, 2)
Partition 1 valid:1
1
Volume name:(FAT32)
PFsFatFormatter::format................
Sector Count: 7759872, Sectors/MB: 2048
Partition Capacity (MB): 3789
Fat Type: 32
m_dataStart:3792896
m_sectorsPerCluster:8
m_relativeSectors:3776512
m_sectorsPerFat: 7563
MAKEFAT32
m_sectorCount: 7759872
m_dataStart: 3792896
m_sectorsPerCluster: 64
nc: 61984
m_fatSize: 7563
m_fatSize: 7563
partType: 11, fatStart: 3777770, totalSectors: 7759872
Writing FAT ................................
free clusters after format: 967932
PFsVolume::begin(20002a54, 2)
free clusters after begin on partVol: 120991
Format Done