SD card with ST mini-M4

General discussion on mikroBasic PRO for ARM.
Post Reply
Author
Message
darione
Posts: 24
Joined: 18 Sep 2016 16:43

SD card with ST mini-M4

#1 Post by darione » 14 Mar 2018 17:44

hallo!
I connected a mini sd card to the mini-M4 kit (stm32f415)
I connected PC8-9-10-11-12 pin from stm32f415 to the sd Card

all pin have a pull up.
I use the Fat_32 library downloaded from here.... but
but when the program enters the INIT function it stops
and it does not come out anymore.

I also used the fat16 library the result does not Change.

STOP HERE
;__Lib_System_4XX.mpas, 361 ::
L____GenExcept56:
0x8D06 0xE7FE B L____GenExcept56

HARD FAULT IPS=3
(i use mikrobasic)
I do not know what to do anymore, can someone help me?
Compiler image
Compiler image
Immagine.jpg (123.24 KiB) Viewed 1362 times
bye
thenks
Darione

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: SD card with ST mini-M4

#2 Post by filip » 19 Mar 2018 10:11

Hi,

Which compiler version are you using ?
Can you provide the minimal example that demonstrates this issue ?

Regards,
Filip.

darione
Posts: 24
Joined: 18 Sep 2016 16:43

Re: SD card with ST mini-M4

#3 Post by darione » 21 Mar 2018 09:48

Hello Filippo
thanks for reply, I have solved.
I had the MMC statement wrong

now it works well.

thanks
Darione

Post Reply

Return to “mikroBasic PRO for ARM General”