My project
MCU : 18F4550
Micro SD: Sandisk 512MB FAT16
My sd card design like this , except code protect and WP pins and mcu and sd card supply 3.3v
Init_FAT() return 254 0xFE - No Response Error.
mesurements with digital ossiloscope, logik analyzer seems be ok. My ossiloscope, LA is Owon MSO7102T
What is wrong?
SD Card not response
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: SD Card not response
Hello,
Hm, have you had the card working with another system eg E-blocks or are you trying it for the first time.
I would suggest that you maybe try some other cards or try and reduce the SPI clock speed for the FAT component. There are already a few topics on the forum regarding how to do this depending on which version of Flowcode your using.
I am currently working on the FAT component in my spare time to try and improve the functionality and allow the newer uSD and SDHC type cards to work. This may be some time until completion but I will let everyone know once I am done.
Let me know how you get on.
Hm, have you had the card working with another system eg E-blocks or are you trying it for the first time.
I would suggest that you maybe try some other cards or try and reduce the SPI clock speed for the FAT component. There are already a few topics on the forum regarding how to do this depending on which version of Flowcode your using.
I am currently working on the FAT component in my spare time to try and improve the functionality and allow the newer uSD and SDHC type cards to work. This may be some time until completion but I will let everyone know once I am done.
Let me know how you get on.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- Nico595
- Posts: 84
- Joined: Mon Jan 23, 2012 6:46 pm
- Location: France
- Has thanked: 12 times
- Been thanked: 10 times
- Contact:
Re: SD Card not response
Hi,
Can you verifie if SDO and SDI is not inverted.
DI SDcard -> SPI MOSI
DO SDcard -> SPI MISO
If your UC power is 5V you must used Buffer between UC and SDcard
Source: http://fx.damasgate.com/accessing-flash-memory-cards/
Even with others SDcard hardware there is no problem but you must used SDcard no SDHC and < 2GO.
Nicolas.
Can you verifie if SDO and SDI is not inverted.
DI SDcard -> SPI MOSI
DO SDcard -> SPI MISO
If your UC power is 5V you must used Buffer between UC and SDcard
Source: http://fx.damasgate.com/accessing-flash-memory-cards/
Even with others SDcard hardware there is no problem but you must used SDcard no SDHC and < 2GO.
Nicolas.
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: SD Card not response
Beta SD FAT component for v5 topic has been moved here http://www.matrixmultimedia.com/mmforum ... 46&t=10989
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel