Les membres ayant 30 points peuvent parler sur les canaux annonces, projets et hs du chat.
La shoutbox n'est pas chargée par défaut pour des raisons de performances. Cliquez pour charger.

Forum Casio - Vos tutoriels et astuces


Index du Forum » Vos tutoriels et astuces » A few notes about the storage memory of Casio graphic calculators
Calcloverhk Hors ligne Membre Points: 333 Défis: 10 Message

A few notes about the storage memory of Casio graphic calculators

Posté le 16/07/2020 10:36

Casio recently released new generation of monochrome calculators (fx-9750GIII/fx-9860GIII/Graph 35+EII) which are treated as USB mass storage device as same as fx-CG50 and Graph 90+E in your PC. This was a good news.

However, supposedly a normal USB mass storage device should also be supported by Android devices through USB On-The-Go (OTG) technology, but I can't connect my fx-9750GIII to my Android phone. The message I got was: "The file format of this USB storage is unsupported by Android."

The file system of the storage memory is FAT (be careful, not FAT32 nor NTFS nor exFAT as we know), which is surprisingly not supported by Android. Moreover, you cannot format it to FAT32/NTFS/exFAT as it only supports FAT (File System ERROR will be shown and requires you to initialize it). Currently there is no tool to enable FAT support in Android (I can only find NTFS/exFAT tool) since FAT is a very old file format.

Also, the new-gen monochrome calcs has 8MB storage, while fx-CG50 and Graph 90+E has 16MB capacity. I highly suspect that Casio uses FAT12 (the earliest version of FAT which only supports up to 32MB/file) for their storage memory. Therefore, the above-mentioned problem may also occur in fx-CG50 and Graph 90+E even though if they have USB 2.0.

I am a heavy phone user so this matters me a lot. But whatever, FAT32 supports up to 4GB/file and long file name, and is supported by Android too. Its benefits overwhelm FAT12 completely.


Lephenixnoir En ligne Administrateur Points: 24122 Défis: 170 Message

Citer : Posté le 16/07/2020 11:51 | #


The filesystem used in the storage memory of the fx-9860G III, which was introduced with the fx-CG 10/20, is called Fugue : http://www.kyoto-sr.co.jp/products/fugue/productinfo/cf-fat.html

We don't have any documentation other than the page above, which indicates that FAT 12/16/32 and VFAT are supported. It is possible that Casio used FAT12 for compatibility with its earlier homebrew filesystem. Even though FAT32 is better in all aspects, they probably didn't choose to use it because of space, Flash management, or engineering constraints.

Yatis will probably know a bit more than me on this topic.
Mon graphe (19 Mars): (fxsdk#11 ; gint#27 ; (Rogue Life || HH2) ; PythonExtra ; serial gint ; Boson X ; ...) || (shoutbox v5 ; v5)
Yatis Hors ligne Membre Points: 579 Défis: 0 Message

Citer : Posté le 17/09/2020 21:14 | #


The file system of the storage memory is FAT (be careful, not FAT32 nor NTFS nor exFAT as we know), which is surprisingly not supported by Android. Moreover, you cannot format it to FAT32/NTFS/exFAT as it only supports FAT

The "new" file system used by Casio is called Fugue and is a custom FAT12 format. I said "custom" because its use undocumented file attributes (like 0x0f to store the name in FONTCHARACTER) and many file information (like date, time, ...) are not set (replaced by internal Fugue information).

I'm not very surprise that you cannot format the calculator because Casio use wrappers around Fugue's primitives and some addresses are hard-coded in the OS (like Bfile file descriptor table, Bios Parameter Block and more) so is really not possible to add a custom FS on the device. But, recently, I have found internal Fugue's File System primitives which seems unused by Casio. I think that I can trigger some "hidden" Fugue's tests menus that will tell us more about it (?)

Currently, I can list all files from the root directory and get information from the Fugue File System but I don't find the (first?) File Allocation Table (FAT) address So I am not able to handle clusters yet (I'm currently tracing the Bfile_OpenFile(), Bfile_SeekFile() and Bfile_ReadFile() primitives but due to undocumented Fugue structures in RAM, personal projects and school... I don't have time to finish the documentation now).

Also, the new-gen monochrome calcs has 8MB storage, while fx-CG50 and Graph 90+E has 16MB capacity. I highly suspect that Casio uses FAT12 (the earliest version of FAT which only supports up to 32MB/file) for their storage memory. Therefore, the above-mentioned problem may also occur in fx-CG50 and Graph 90+E even though if they have USB 2.0.

Your intuition was good because Fugue use 8 sectors of 512 bytes per cluster for each "new-gen" calculators that use this file system and this is the maximum configuration that the FAT12 allow
Calcloverhk Hors ligne Membre Points: 333 Défis: 10 Message

Citer : Posté le 17/02/2023 11:18 | #


Update

Well it's been around 2.5 years since the last reply But I feel like I need to revive this thread as I got some information from my recently acquired fx-CG20CN. Contrary to GIII calcs, my Android phone successfully detected my fx-CG20CN storage despite having the same Fugue storage with my fx-9750GIII. According to this information (https://github.com/adafruit/circuitpython/issues/2751), FAT16 is widely supported by Android, so I deduce fx-CG calcs use FAT16 format instead of FAT12.
C.Basic Wiki Project progress as of 2024/2/12
   30%


Fcalva Hors ligne Membre Points: 495 Défis: 9 Message

Citer : Posté le 01/07/2023 22:59 | #


I can confirm that the Prizms use FAT16, as it is how it shows up in "Disks" when i connect it to my computer (More precisely W95 FAT16 (LBA) )
It also reports itself as "CASIO ColorGraph (1.00)", serial number 0000X0MLFV18, which doesn't match since my hardware serial is C811A5W001069CA_11 and probably isn't revision 1.00 since i bought it in December 2021.
Pc master race - Apréciateur de Noctua moyen
Caltos : G90+E, FX-92+ (x2)

LienAjouter une imageAjouter une vidéoAjouter un lien vers un profilAjouter du codeCiterAjouter un spoiler(texte affichable/masquable par un clic)Ajouter une barre de progressionItaliqueGrasSoulignéAfficher du texte barréCentréJustifiéPlus petitPlus grandPlus de smileys !
Cliquez pour épingler Cliquez pour détacher Cliquez pour fermer
Alignement de l'image: Redimensionnement de l'image (en pixel):
Afficher la liste des membres
:bow: :cool: :good: :love: ^^
:omg: :fusil: :aie: :argh: :mdr:
:boulet2: :thx: :champ: :whistle: :bounce:
valider
 :)  ;)  :D  :p
 :lol:  8)  :(  :@
 0_0  :oops:  :grr:  :E
 :O  :sry:  :mmm:  :waza:
 :'(  :here:  ^^  >:)

Σ π θ ± α β γ δ Δ σ λ
Veuillez donner la réponse en chiffre
Vous devez activer le Javascript dans votre navigateur pour pouvoir valider ce formulaire.

Si vous n'avez pas volontairement désactivé cette fonctionnalité de votre navigateur, il s'agit probablement d'un bug : contactez l'équipe de Planète Casio.

Planète Casio v4.3 © créé par Neuronix et Muelsaco 2004 - 2024 | Il y a 67 connectés | Nous contacter | Qui sommes-nous ? | Licences et remerciements

Planète Casio est un site communautaire non affilié à Casio. Toute reproduction de Planète Casio, même partielle, est interdite.
Les programmes et autres publications présentes sur Planète Casio restent la propriété de leurs auteurs et peuvent être soumis à des licences ou copyrights.
CASIO est une marque déposée par CASIO Computer Co., Ltd