Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 19:58 14 Nov 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Misleading error message : File System Error

Author Message
MustardMan

Senior Member

Joined: 30/08/2019
Location: Australia
Posts: 175
Posted: 10:52am 06 Sep 2020
Copy link to clipboard 
Print this post

Hi,

This doesn't really fall into the category of a bug, but it is misleading and could possibly be better.

I loaded a BAS (text) file onto an SD card using a PC, and a while later decided to load that file into an Explore 100 (MMbasic v 5.05.01). The file was an "uncrunched" version of the program already running on the E100 (crunched using MMedit).

When I executed LOAD "PROGRAM.BAS" I was greeted with "Error: File system error"

At first I though I had a corrupted card, but other files loaded OK. I next thought corrupted file. Reading the file back on my PC indicated the file was fine. Card format? No, it was FAT32 and MMbasic is supposed to read FAT32.

After several days of intermittent head scratching (it was not a big issue, but I wanted to find out what was going on) I eventually realised that the uncrunched version of PROGRAM.BAS was too big to fit in memory.

To my mind the error message should have been something along the lines of "Error: Out of memory" as there was nothing wrong with the card or the file system on it.

Cheers,
Edited 2020-09-06 20:56 by MustardMan
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3308
Posted: 01:25pm 06 Sep 2020
Copy link to clipboard 
Print this post

Thanks Owen.  I will add it to the to-do-list for the next release.

Geoff
Geoff Graham - http://geoffg.net
 
MustardMan

Senior Member

Joined: 30/08/2019
Location: Australia
Posts: 175
Posted: 10:45am 07 Sep 2020
Copy link to clipboard 
Print this post

Thanks Geoff.

No biggie, and definitely not a priority.

I had put my uncrunched program on the card to serve as a backup in case everything on my PC went out, and then tried to load it without even thinking it was considerably larger than the crunched version!

I eventually cottoned on when I took note of the 'memory' command results and compared it to the file size reported by 'files'. I then tried the crunched version and it worked just fine (of course).

Cheers,
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025