Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 04:48 07 Jul 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 : Unable to access SD Card-help please

Author Message
Bermo
Newbie

Joined: 12/06/2016
Location:
Posts: 12
Posted: 08:44pm 29 Jun 2016
Copy link to clipboard 
Print this post

I have a GCM microboard2b 64 pin.
i have used the option sdcard 49 and am still unable to address the card
I have restarted the micromite many times as it says.
using option list
OPTION AUTORUN ON
OPTION LCDPANEL ILI9341, LANDSCAPE, 21, 22, 23
OPTION TOUCH 18, 14
OPTION SDCARD 49

files
Error: Cannot access the SD card
I have 2 text files on the card.

My problem is extracting data from the micromite. my program collects data ok
But i need to extract the data so i can process it in excel.
is it possible to use WIFI or something like that to transfer the data?
Also is it possible to use the normal size SD CARD from the touch screen
i have touch screen ILI9341 attached to the microboard.
Any help would be greatly appreciated
thanks


 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 1982
Posted: 10:39pm 29 Jun 2016
Copy link to clipboard 
Print this post

Should not that be pin 47.
Paul
Edit.. no it shouldn't be I was thinking of the data pin but just checked the circuit.Edited by palcal 2016-07-01
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
MikeO
Senior Member

Joined: 11/09/2011
Location: Australia
Posts: 275
Posted: 12:49am 30 Jun 2016
Copy link to clipboard 
Print this post

Hi Bermo, Silly question, you are using the SD card on the GCM and not the one on the LCD? If its the later you need to wire and assign an I/O pin to use.

Regards your issue accessing the data on your card (and still keep on logging I assume) take a look at this post I made recently which tries to address this.
The source of the data in my project comes via wifi from my network however the data source can be from anywhere of-course.

Mike
Codenquilts
 
Bermo
Newbie

Joined: 12/06/2016
Location:
Posts: 12
Posted: 02:29am 30 Jun 2016
Copy link to clipboard 
Print this post

Hi mike I am using the GCM SD card. I would prefer to use the LCD if possible.
As i am very new to this i do not know how to wire the LCD SD card to the GCM.
I do not need to keep logging data when i need to access the SD card.
actually when i have finished logging and the program has ended that is when i need the data.
i have read the post re accessing the data even before i asked for this help.
thats what prompted me to ask for another method of accessing the data in the hope that i could do it wirelessly.
 
MikeO
Senior Member

Joined: 11/09/2011
Location: Australia
Posts: 275
Posted: 02:44am 30 Jun 2016
Copy link to clipboard 
Print this post

If you have a look at the back of the LCD module you will see a 4 pin header for the connections to the SD card. You have to wire those pins to the relevant pins on the GCM board. MOSI, MISI and SCK are the same ones as already go to the Display. The CS can go to any spare Digital pin you like to assign. I don't have access to schematics just at the moment but I can look and let you know in the morning If you like.

Mike.

Codenquilts
 
Bermo
Newbie

Joined: 12/06/2016
Location:
Posts: 12
Posted: 01:21pm 30 Jun 2016
Copy link to clipboard 
Print this post

Thank you MikeO that would be good.
My preference is WIFI with the SD card as backup.

however, I am unable to use the SD card
Why i have no idea as i have tried heaps to access it.
bermo
 
CircuitGizmos

Guru

Joined: 08/09/2011
Location: United States
Posts: 1427
Posted: 01:55pm 30 Jun 2016
Copy link to clipboard 
Print this post

Bermo: Can you take a close look at the pins of the SD card connector? Under magnification? If there is any production issue, it might be that one of the pins didn't solder in place.
Micromites and Maximites! - Beginning Maximite
 
Bermo
Newbie

Joined: 12/06/2016
Location:
Posts: 12
Posted: 02:36pm 30 Jun 2016
Copy link to clipboard 
Print this post

ok i will check that
thank you
i won't be able to do that until later this evening
will let you know
thanks again
bermo
 
geraldfryjr

Regular Member

Joined: 02/03/2014
Location: United States
Posts: 61
Posted: 04:10pm 30 Jun 2016
Copy link to clipboard 
Print this post

I had the same issue with my CGMax2.
In another thread it was suggested to try another SD card.
And it worked !!

I was using a spare Noobs card for a Rpi that I reformatted and the card works fine on my PC but would not work in my CGmax2.

I popped in my 32GB Samsung EVO SD card and it works perfectly now !!

FWIW

jer :)
Keep on DIYin' !!!
 
MikeO
Senior Member

Joined: 11/09/2011
Location: Australia
Posts: 275
Posted: 05:25pm 30 Jun 2016
Copy link to clipboard 
Print this post

Hi Bermo, I hope you have now got your SD card working on the CGM board. Unfortunately if you want to use the SD card on the LCD you will have to wire from the header pins for the SD card on the LCD to the relevant pins on the CGM however they only come out on the LCD header (as the LCD is sharing the MOSI, MISO and SCK (clock)). So if you feel comfortable soldering on the LCD board the easiest thing to do is make some wire links on the back of the LCD from the SDcard header pins to the same pins on the LCD header. Then you will only have to wire the CS pin on the SDcard header to your chosen i/o pin on the microboard.

OK for your data collection, I am assuming that's what you are doing, you can do by wireless many people on the forum are doing that, specifically I use my WiFi network for all my data collection via ESP8266 wifi modules and you will find several posts on the forum. If you would like to do something like this I will help if you send me a PM.

Mike


Codenquilts
 
Bermo
Newbie

Joined: 12/06/2016
Location:
Posts: 12
Posted: 12:28am 01 Jul 2016
Copy link to clipboard 
Print this post

geraldfryjr i will get another card and try it
thank you
 
WhiteWizzard
Guru

Joined: 05/04/2013
Location: United Kingdom
Posts: 2932
Posted: 01:15am 01 Jul 2016
Copy link to clipboard 
Print this post

Just to highlight here that there have been issues in Beta Testing with 2Gb cards - this was not a MicroMite issue, but more a 'quality issue' with cards produced at the time when the technology migrated to HC type.

The safest thing to use with a MM is anything 4Gb or greater (and they are so cheap now that it is not worth trying to get an 'old' card to work).

 
Bermo
Newbie

Joined: 12/06/2016
Location:
Posts: 12
Posted: 02:39am 01 Jul 2016
Copy link to clipboard 
Print this post

I tried a new card and was able to get it to work
thank you to those that offered help
it was very much appreciated
bermo
 
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