8 years, 6 months ago.

sd card + mbed client crashed

Hi,

I have question regarding mbed client. I want to integrate sd card in mbed client but I there are some problem occurs.

I run the simple mbed client example https://developer.mbed.org/teams/sandbox/code/simple-mbed-client-example/ and it work fine. But after I initializef the SD card file system with

SDBlockDevice sd(D11, D12, D13, D10); FATFileSystem fs("sd", &sd);

The library of sd card I found here https://github.com/ARMmbed/sd-driver

The connectivity on mbed connection is fine. BUT there are some problem with the LED. First, the LED is not light on after establishing the connection. Second, when I POST to play the led pattern, it also failed. However any other request like GET, PUT worked fine,

I cant export the code for debugging with IDE. So it is quite hard to retrieve the issues,Is there any possibility that the problem is due to mbed RTOS or the crash is caused by peripheral initialization.

Thanks

Cheers

Be the first to answer this question.