Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 06:57 02 Aug 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 : SD card access error with MM+ V5.05.02

Author Message
pjmart
Newbie

Joined: 13/11/2016
Location: Australia
Posts: 9
Posted: 03:53am 10 May 2020
Copy link to clipboard 
Print this post

I have just upgraded my Ex100 from v5.2 to v5.05.02 and am now getting error messages when using the DIR$() function as follows:

f$=DIR$("*.*",VOL)  error:INVALID FLAG SPECIFICATION
f$=DIR$("*.*",DIR   no error but sub directories are blank ""
f$=DIR$("*.*")      error:SYNTAX

There are 2 sub directories on the SD card plus a volume title. The sub directories are displayed correctly by the FILES command and the CWD$ function.  

The function f$=DIR$("*.*",FILE) works, successfully finding all files.

Is it possible that I have done something wrong when loading the new firmware causing this or is there a bug in the latest version?
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 05:04am 10 May 2020
Copy link to clipboard 
Print this post

I don't have an E100/E64 handy but try
f$=DIR$("*",DIR)

The wildcard *.* doesn't find files/folders without any extension.

Jim
VK7JH
MMedit
 
pjmart
Newbie

Joined: 13/11/2016
Location: Australia
Posts: 9
Posted: 06:24am 10 May 2020
Copy link to clipboard 
Print this post

Thanks TassyJim, that fixes the DIR file search.  Perhaps could be clarified in future manuals.

However the error associated with VOL search remains.  
I did try f$=dir$("*",VOL) but same error.

Peter
 
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