FAT 16 NOT FOUND

General discussion on mikroBasic PRO for AVR.
Post Reply
Author
Message
twenty
Posts: 71
Joined: 20 Oct 2010 11:44

FAT 16 NOT FOUND

#1 Post by twenty » 11 Jun 2012 08:41

I am using the mikromedia board for xmega. Board is the first board released (not rev 1.1). I have loaded the example program for mmc from the libstock. I continuously get the above error. I have tried a number of different micro SD cards. The SD cards were checked with a note book and they all work fine. The mikromedia display is also working fine. Is there someone that would be able to assist in getting the MMB to read the card?

Thanks and regards

twenty
Posts: 71
Joined: 20 Oct 2010 11:44

Re: FAT 16 NOT FOUND - RESOLVED

#2 Post by twenty » 11 Jun 2012 11:49

I have found the problem!!!!!!!!! The schematic of the MMB shows that the SD Card is connected to PortC. This is not correct!!!!! The SD socket on the MMB is in fact connected to PortD. I got the hint from the resource code in Visual TFT.

Mikrobasic, could you please update the schematic for the MMB (mikrobasic AVR Xmega) and also the example code in Libstock

Thanks and regards

User avatar
dejan.odabasic
mikroElektronika team
Posts: 2649
Joined: 30 Apr 2012 14:20

Re: FAT 16 NOT FOUND

#3 Post by dejan.odabasic » 12 Jun 2012 09:41

Hello,

schematic that can be found on web page, is the schematic of the last board revision.
There has been some pin out changes between revisions.

We can send you schematic for your board revision, just tell us which is your board HW revision.
The same thing is with LibStock examples.

Did you solve your problem regarding MMC example?

Best regards.

twenty
Posts: 71
Joined: 20 Oct 2010 11:44

Re: FAT 16 NOT FOUND

#4 Post by twenty » 12 Jun 2012 10:33

Thank you for your prompt response

I had a closer look at the board. It is HW Rev 1.10

The SD card on this board is connected to portD

Yes, SD card is working fine now after changing the example code from SPI, portc to SPI, portd

User avatar
dejan.odabasic
mikroElektronika team
Posts: 2649
Joined: 30 Apr 2012 14:20

Re: FAT 16 NOT FOUND

#5 Post by dejan.odabasic » 12 Jun 2012 11:31

Hello,

do you still need schematic for your board?

Best regards.

twenty
Posts: 71
Joined: 20 Oct 2010 11:44

Re: FAT 16 NOT FOUND

#6 Post by twenty » 15 Dec 2012 07:38

Yes please (HW rev 1.10)

Thanks

User avatar
dejan.odabasic
mikroElektronika team
Posts: 2649
Joined: 30 Apr 2012 14:20

Re: FAT 16 NOT FOUND

#7 Post by dejan.odabasic » 18 Dec 2012 13:39

Hello,

Here is the schematic:
http://www.mikroe.com/download/eng/docu ... h_v100.pdf

Best regards.

twenty
Posts: 71
Joined: 20 Oct 2010 11:44

Re: FAT 16 NOT FOUND

#8 Post by twenty » 19 Dec 2012 15:15

Many thanks

Regards,

Post Reply

Return to “mikroBasic PRO for AVR General”