cancel
Showing results for 
Search instead for 
Did you mean: 

STM3210C-Eval - microSD(SPI3)

4316139955_stm1_st
Associate II
Posted on March 31, 2011 at 16:06

STM3210C-Eval - microSD(SPI3)

10 REPLIES 10
Andrew Neil
Evangelist
Posted on May 17, 2011 at 14:30

''I didnt managed this matter:''

 

 

What did you try?

Where did you get stuck?

/ae012fe5

rosarium
Associate II
Posted on May 17, 2011 at 14:30

Hi Marc,

Can you please let me know whta exactly your requirement. I mean the application you are working for. Actually I had an application on STM32C-EVAL in which I am using uSD card.

Regards,

Rosarium

4316139955_stm1_st
Associate II
Posted on May 17, 2011 at 14:30

Hi,

so on the Attachment is my wrong microSD Card program. I cant find a problem. And so on every using of the SD Card the display telling me '' Warning No loaded Bitmap files...''(thats my error message), although I stored Images. Can you help me to read my stored Pictures on the STM32?!

Regards,

Schumann

Andrew Neil
Evangelist
Posted on May 17, 2011 at 14:30

About using SD Cards in SPI mode: 

http://elm-chan.org/docs/mmc/mmc_e.html

A FAT File System module:

http://elm-chan.org/fsw/ff/00index_e.html

 - look at the Resources section at the end; it includes STM32 examples...

4316139955_stm1_st
Associate II
Posted on May 17, 2011 at 14:30

Yes I know this two links for SPI and FAT File System, but anyway I can´t see any results on my display, for example a picture. Can you or somebody give me an example code to see a Picture on the display from my sd-card? Or someone help me on my Code?

Andrew Neil
Evangelist
Posted on May 17, 2011 at 14:30

''I can´t see any results on my display''

 

What? Not any??

But you said before that you see a warning message?!

''Or someone help me on my Code?''

 

It's your code what debugging have you done?

Here are some debugging tips & techniques:

http://www.8052.com/faqs/120313

http://www.techonlineindia.com/article/09-09-23/Developing_a_good_bedside_manner.aspx

4316139955_stm1_st
Associate II
Posted on May 17, 2011 at 14:30

Sry I mean that I see only my warning message on the display, but I cant see a picture, what I have stored bevor on my microSD. So my program debug correctly, but I see only the messages. Could you look at my attechment program!?  Or give me an other idea, where I can see picture on the display...

thank you and regards

marc

Andrew Neil
Evangelist
Posted on May 17, 2011 at 14:30

''my program debug correctly''

 

No - clearly it doesn't!

''Or give me an other idea''

 

If the program is giving you a message saying that it can't find a picture, then it should be easy to find that message in the source code.

It should then be easy to find what things could cause that message to be displayed.

Then you'll have a good clue as to what needs fixing...

4316139955_stm1_st
Associate II
Posted on May 17, 2011 at 14:30

Yes okay but I had loaded a picture to my SD-Card, but evertime comes the error message of my display, a

s soon as

I

plug

my

sdcard in the board.

I cant find a mistake in my program und need some help in this case, to get a picture on my display.