Kwikstik-K40 ver 5 SD card slot

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Kwikstik-K40 ver 5 SD card slot

Jump to solution
821 Views
Hanousek
Contributor I

Hello,

I am trying get to work kwikstick's sd card slot, but without success.

I am using CodeWarrior 10.2 in Linux. I have imported SDHC example project for TWR-K60, then change the device and conection, reselect a few pin settings in processor expert inspector, and remove UART component and includes. I can compile and run my project, and in debuger printf("") is printing into debuger console.

But the program doesnt detect my microSD cards (knigston 128MB and one 1GB). Output of program is:

*********************************************************

*** DEMO project for the SDHC component - begin         

*********************************************************

Project description:

Card has to be inserted before starting the demo.

+++ Step 0 - begin +++

Description: Card initialization example

1) Reseting card...

2) Card inserted - detecting card type...

ERROR Unsupported card type

+++ Step 0 - end +++

*********************************************************

*** DEMO project for the SDHC component - end           

*********************************************************

I have tried write my own program with SDHC_LDD component, but with similar success.... the card doesnt speek with me...

Can somebody help me? With any idea wath is wrong? Or with an example of working code?

Thanks for replies.

Vitek

Labels (1)
Tags (2)
0 Kudos
1 Solution
418 Views
CarlosCasillas
NXP Employee
NXP Employee

Hi Vitek,

  

Do you still having troubles regarding this issue? Have you considered the solution mentioned on the following thread?

https://community.freescale.com/message/87974#87974

Additionally, you could also consider using the SD card example from MQX for Kwikstik BSP.

 

Hope this will be useful for you.

Best regards!

/Carlos

View solution in original post

0 Kudos
2 Replies
419 Views
CarlosCasillas
NXP Employee
NXP Employee

Hi Vitek,

  

Do you still having troubles regarding this issue? Have you considered the solution mentioned on the following thread?

https://community.freescale.com/message/87974#87974

Additionally, you could also consider using the SD card example from MQX for Kwikstik BSP.

 

Hope this will be useful for you.

Best regards!

/Carlos

0 Kudos
418 Views
Hanousek
Contributor I

Thanks, you for your reply.

I red this before, but I haven't time now to learn how MQX work, may be later.

I used other solution, I have changed board from kwikstik-k40 to TWR-k40 and this sample project, described before, works like a charm.

0 Kudos