cancel
Showing results for 
Search instead for 
Did you mean: 

FreeRTOS and SDIO setting ?

antonius
Senior
Posted on March 24, 2017 at 14:38

Everyone,

I tried to run SDIO with RTOS, but never got luck,

Any ideas why ?

If I disabled RTOS, SDIO can run properly but if I enabled it, SDIO is stopped running..

Thanks

#freertos #sdio
1 ACCEPTED SOLUTION

Accepted Solutions
Posted on March 28, 2017 at 05:21

I've fixed it, I disable SDIO interrupt and, I put f_mount on reading file, and it's ok, now, thanks

View solution in original post

7 REPLIES 7
Posted on March 24, 2017 at 15:35

>>

Any ideas why ?

Debugging would involve looking at any error status returned by the peripheral or the card.

Examine the interactions of interrupts (SDIO, DMA, etc) in the two cases (working vs not).

Add telemetry so you see/identity differences in behaviour.

User/System execution of code. 

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..
Posted on March 24, 2017 at 15:46

Ok, thanks for the advice,

Do you reckon there is a interrupts conflict between RTOS and SDIO ?

I don't change any settings on RTOS, only by default, but it's blocking

SDIO straight ..

Posted on March 24, 2017 at 16:24

Does the SDIO IRQ Handler use FreeRTOS functions?

>>Do you reckon there is a interrupts conflict between RTOS and SDIO ?

Something is 'not working', the trick is to figure out what.

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..
Posted on March 28, 2017 at 05:21

I've fixed it, I disable SDIO interrupt and, I put f_mount on reading file, and it's ok, now, thanks

Posted on March 30, 2017 at 18:37

Hi, your 'fix' answer is pretty vague. Can you give more details of extacly what you mean by ' I put f_mount on reading file'? And if you disable SDIO interrupt, how does it continue to work?

Thanks.

Posted on March 31, 2017 at 00:10

I put f_mount before f_open, and I disable SDIO interrupt now, and it's

working that's what I have here.