2017-03-24 06:38 AM
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 #sdioSolved! Go to Solution.
2017-03-27 10:21 PM
I've fixed it, I disable SDIO interrupt and, I put f_mount on reading file, and it's ok, now, thanks
2017-03-24 07:35 AM
>>
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.
2017-03-24 08:46 AM
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 ..
2017-03-24 09:17 AM
Is it related with this :
________________ Attachments : eldofojchpjkegig.jpg : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Hykn&d=%2Fa%2F0X0000000bC0%2FmA_H0qkvJIBnoi7q3pvyekUOg2ybhdKuLxvJeH9fwWk&asPdf=false2017-03-24 09:24 AM
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.
2017-03-27 10:21 PM
I've fixed it, I disable SDIO interrupt and, I put f_mount on reading file, and it's ok, now, thanks
2017-03-30 11:37 AM
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.
2017-03-30 05:10 PM
I put f_mount before f_open, and I disable SDIO interrupt now, and it's
working that's what I have here.