Using 64GB SDHC/SDXC "exFAT" cards with the P2 and TAQOZ
Peter Jakacki
Posts: 10,193
I finally got around to picking up a Sandisk 64GB card today. After I ran a quick scan of active sectors it didn't report anything after sector $1..0200 but it would have taken a few hours maybe although it got through well over a 1GB in about 10 minutes just finding active sectors and then dumping the first 16 bytes for reference.
Anyway, I was really more interested in formatting these cards to FAT32 using my new disk utilities. So it works really well and it's fast. I just typed "0 FORMAT" to select automatic cluster sizing which in this case would be the maximum 64kB clusters.
Here's what my PC saw the card as:
Remounting the card after checking and loading files from the PC then backing up the system to a file which is then renamed and the system rebooted.
Anyway, I was really more interested in formatting these cards to FAT32 using my new disk utilities. So it works really well and it's fast. I just typed "0 FORMAT" to select automatic cluster sizing which in this case would be the maximum 64kB clusters.
Here's what my PC saw the card as:
Remounting the card after checking and loading files from the PC then backing up the system to a file which is then renamed and the system rebooted.
TAQOZ# .DISK --- CARD: SANDISK SD SC64G REV$80 #35190404 DATE:2018/10 *** OCR *** VALUE........................... $C0FF_8000 RANGE........................... 2.7V to 3.6V *** CSD *** CARD TYPE....................... SDHC LATENCY......................... 1ms+1400 clocks SPEED........................... 50Mbps CLASSES......................... 010110110101 BLKLEN.......................... 512 SIZE............................ 62,367MB *** SPEEDS *** SECTOR.......................... 660us,333us,334us,335us,333us,334us,335us,333us, BLOCKS.......................... 2,519kB/s @240MHz *** MBR *** PARTITION....................... 0 00 INACTIVE FILE SYSTEM..................... FAT32 LBA CHS START....................... 1023,254,63 CHS END......................... 0,0,0 FIRST SECTOR.................... $0000_8000 TOTAL SECTORS................... 124,702,720 = 63,847MB 00170: 0000_0000 0000_0000 0000_0000 0000_0000 '................' *** FAT32 *** OEM............................. TAQOZ P2 Byte/Sect....................... 512 Sect/Clust...................... 128 = 64kB FATs............................ 2 Media........................... F8 Sect/Track...................... $003F Heads........................... $00FF Hidden Sectors.................. 32,768 = 16MB Sect/Part....................... 124,702,720 = 63,847MB Sect/FAT........................ 7,675 = 3MB Flags........................... 0 Ver............................. 00 00 ROOT Cluster.................... $0000_0002 SECTOR: $0000_BC16 INFO Sector..................... $0001 = $0000_8001 Backup Sector................... $0006 = $0000_8006 res............................. 00 00 00 00 00 00 00 00 00 00 00 00 Drive#.......................... 128 Ext sig......................... $29 OK! Part Serial#.................... $50AD_0021 #1353515041 Volume Name..................... P2 CARD FAT32 ok TAQOZ# DIR --- 0: ROOTDIR 08 1: P2 .ROM 20 $0000_BC96 2019-02-24 08:21 65,536 / 65,536 X...P2D2F ........ 2: _BOOT_P2.BIN 20 $0000_BD16 2019-02-24 08:21 65,536 / 65,536 X...P2D2F ........ 3: P2D2A .BMP 20 $0000_BD96 2018-12-24 14:26 308,346 / 327,680 BMz.......z...l..... 4: TIGER .BMP 20 $0000_C016 2018-12-24 14:23 308,346 / 327,680 BMz.......z...l..... 5: BIRD .BMP 20 $0000_C296 2018-12-24 06:54 308,346 / 327,680 BMz.......z...l..... 6: BUZZ .BMP 20 $0000_C516 2018-11-24 01:53 308,346 / 327,680 BMz.......z...l..... 7: FIRE .BMP 20 $0000_C796 2018-11-24 23:51 308,346 / 327,680 BMz.......z...l..... 8: SPIDEY .BMP 20 $0000_CA16 2018-10-24 04:24 308,346 / 327,680 BMz.......z...l..... 9: MCQUEEN .BMP 20 $0000_CC96 2018-10-24 04:19 308,346 / 327,680 BMz.......z...l..... 10: EYEGOD .BMP 20 $0000_CF16 2018-10-24 04:17 308,346 / 327,680 BMz.......z...l..... 11: SUNSET .BMP 20 $0000_D196 2018-10-24 04:13 308,346 / 327,680 BMz.......z...l..... 12: FACE .BMP 20 $0000_D416 2018-10-24 04:03 308,346 / 327,680 BMz.......z...l..... 13: DRAGON .BMP 20 $0000_D696 2018-10-24 01:21 308,346 / 327,680 BMz.......z...l..... 14: LMMS .BMP 20 $0000_D916 2018-10-24 01:01 308,280 / 327,680 BM8.......6...(..... 15: FISH2 .VT 20 $0000_DB96 2017-11-24 15:08 211,945 / 262,144 .[H.[J..[1;0H 16: ASCIIART.TXT 20 $0000_DD96 2017-11-24 15:05 55,148 / 65,536 From dondd@hpmwtd.HP 17: MIDENG .TXT 20 $0000_DE16 2017-11-24 14:11 1,248,077 / 1,310,720 ...The Project Guten 18: VULGAR .TXT 20 $0000_E816 2017-11-24 13:56 511,916 / 524,288 ...Project Gutenberg 19: ROUGES .TXT 20 $0000_EC16 2017-11-24 13:51 219,885 / 262,144 ...The Project Guten 20: LEXICON .TXT 20 $0000_EE16 2017-11-24 13:48 988,130 / 1,048,576 ...The Project Guten 21: WARWORLD.TXT 20 $0000_F616 2017-11-24 13:42 365,413 / 393,216 ...The Project Guten 22: WEBSTERS.TXT 20 $0000_F916 2017-11-24 12:59 28,956,348 / 28,966,912 ...The Project Guten 23: ILIAD .TXT 20 $0001_D616 2017-11-24 12:55 1,201,891 / 1,245,184 ...The Project Guten 24: PRIDE .TXT 20 $0001_DF96 2017-11-24 12:54 726,223 / 786,432 ...The Project Guten 25: KJV .TXT 20 $0001_E596 2017-08-24 12:28 5,504,282 / 5,505,024 _______________ 26: WARPEACE.TXT 20 $0002_0F96 2015-08-24 07:27 3,226,652 / 3,276,800 The Project Gutenber 27: LOVE .WAV 20 $0002_2896 2015-02-24 08:06 14,630,692 / 14,680,064 RIFF.?..WAVEfmt .... 28: POPCORN .WAV 20 $0002_9896 2012-11-24 13:26 3,242,394 / 3,276,800 RIFF.y1.WAVEfmt .... 29: P2 .LZ4 20 $0002_B196 2019-02-24 14:03 18,057 / 65,536 ."M.d@.vF...0X...P2D ok TAQOZ# --- ok TAQOZ# --- ok TAQOZ# BACKUP _BOOT_P2.BIN SUCCESS! --- ok TAQOZ# --- ok TAQOZ# RW --- ok TAQOZ# RENAME _BOOT_P2.BIN _BOOT_P2.BIX --- ok TAQOZ# --- ok TAQOZ# --- ok TAQOZ# FLUSH --- ok TAQOZ# --- ok TAQOZ# REBOOT ---� ------------------------------------------------------------------------------- Parallax P2 *TAQOZ* Extensible Firmware V2.0 'CHIP' 240MHz 190212-1700 ------------------------------------------------------------------------------- TAQOZ#
Comments
BTW I just cracked reading exFAT. I’ll put it into my SD code ready in case there is a chance to update the ROM. There is the silly -2 clusters as a base from the DIR.