FreeRTOS and SDIO setting ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-03-24 6: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.
- Labels:
-
FreeRTOS
-
SDIO-SDMMC
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-03-24 7: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.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-03-24 8: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 ..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-03-24 9: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=false- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-03-24 9: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.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-03-30 5: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.
