SD card access seems broken with tasks

jsarrett
Posts: 4
Joined: Thu Apr 20, 2017 7:52 am

SD card access seems broken with tasks

Postby jsarrett » Thu May 04, 2017 5:54 am

This is a cross post to github issue #569(https://github.com/espressif/esp-idf/issues/569), because I'm not sure which is better.

When I try and access the SD card from any task other than app_main I get weird errors and often illegal instruction crashes. attached is a very simple test case. The file FOO.TXT on the root of the SD card just has one line of text.

attached is a very simple test case.

I am testing against esp-idf from github @f73c6f875cc564fa6c9962be71eac4dbdc56aa63 which was master as of a few days ago

-James
Attachments
test_sd.zip
(11.55 KiB) Downloaded 482 times

ESP_igrr
Posts: 2067
Joined: Tue Dec 01, 2015 8:37 am

Re: SD card access seems broken with tasks

Postby ESP_igrr » Thu May 04, 2017 7:04 am

Yes, filing a Github issue is better if you can give sufficient info to reproduce the issue (which you did). Thanks for the report.

Who is online

Users browsing this forum: No registered users and 31 guests