Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 03:29 19 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 : CMM2 SD Card (Nearly) Full Warning

Author Message
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1106
Posted: 09:01am 19 May 2021
Copy link to clipboard 
Print this post

Hi,

I was wondering if there was a way of telling if the SD card was nearly full from within a running program?

There is MM.INFO(SDCARD), MM.INFO(DISK SIZE) & MM.INFO(FILESIZE) but I can't find anything for the remaining capacity.

My CMM2 played silly buggers today & eventually found that the SC Card was full & it couldn't save any more data to it. (BMP files are much larger than for the CMM1).

Thanks

Brian
ChopperP
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10606
Posted: 09:21am 19 May 2021
Copy link to clipboard 
Print this post

mm.info(free space)
 
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1106
Posted: 09:27am 19 May 2021
Copy link to clipboard 
Print this post

Ah, missed that one.

Thanks Peter
ChopperP
 
Chopperp

Guru

Joined: 03/01/2018
Location: Australia
Posts: 1106
Posted: 02:47pm 19 May 2021
Copy link to clipboard 
Print this post

After clearing out most of the SD Card, MM Edit now uploads my program fully to the CMM2.
It had been slowing down & stopping towards the end of the file upload for a while now.

I had to resort to removing the SD card from the CMM2 & inserting into my laptop to update the program when necessary. (It was quicker but less convenient doing it this way).  

Now have MM.INFO(FREE SPACE) working & value displayed.
ChopperP
 
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