Do not get any data from SD CARD.

Technical discussions related to any XMOS development kit or reference design. Eg XK-1A, sliceKIT, etc.
User avatar
mon2
XCore Legend
Posts: 1910
Joined: Thu Jun 10, 2010 11:43 am

Post by mon2 »

@jems - is the posted project complete?

Unable to import into the toolchain and compile without errors.

Does it compile for you ok?

Please select the root folder and zip / rar the entire folder structure and post again.

Also, is sdcard_test.c your main source file inside this project? That C source code file is not initializing any XMOS related hardware.

This project is dealing with the SPI 1 bit interface. Which hardware kit are you using for this development? Recommend to code up SPI routines to read/write to the SPI flash memory that is onboard your kit. Somewhere on this forum I posted working code for the XMOS StartKit that does this. It should be relatively straight forward to shift the same code onto any XMOS kit. Then you can have a working code foundation that can be expanded for use with the SD card use.


jems
Member++
Posts: 27
Joined: Tue Jun 25, 2019 1:23 pm

Post by jems »

I had done as per example suggested.
It compiles ok with .c file which actually calls the particular selected mode xc file and print the data on print line.
If possible go through GitHub example and revert back.
jems
Member++
Posts: 27
Joined: Tue Jun 25, 2019 1:23 pm

Post by jems »