Huzzah32 Wifi Task Stack Overflow

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
ryan_banks
 
Posts: 2
Joined: Wed Jun 09, 2021 12:19 pm

Huzzah32 Wifi Task Stack Overflow

Post by ryan_banks »

Hi all,

I have been working on a project using the Huzzah32 and the Adalogger Featherwing for data storage.
I have used this combo for a few months now, although I have recently run into an issue.
Whenever I try and initialize the SD functionality, I get an error followed by an abort. Typically there will
be an error stating that the task WiFi encountered a stack overflow. Sometimes this does not appear.

Below is the relevant error message:
***ERROR*** A stack overflow in task wifi has been detected.
abort() was called at PC 0x400890f4 on core 0
ELF file SHA256: 0000000000000000
Backtrace: 0x40088e60:0x3ffb41e0 0x400890dd:0x3ffb4200 0x400890f4:0x3ffb4220 0x4008ace7:0x3ffb4240 0x4008c8d8:0x3ffb4260 0x4008c88e:0x3ffb4250 0x7ffffffc:0x3ffb4260


The specific function being called is

Code: Select all

SD.begin(SD_CARD_SELECT)
where SD_CARD_SELECT is 33.

If anyone knows where I might start in debugging this, I would be very appreciative!
Thanks for your help and time!

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: Huzzah32 Wifi Task Stack Overflow

Post by mikeysklar »

Your SD.begin using pin 33 all seems correct.

Can you post the full code? Is there a version or one of our examples you can go back to that does not crash? Was there anything else of interest in the decoded crash?

User avatar
ryan_banks
 
Posts: 2
Joined: Wed Jun 09, 2021 12:19 pm

Re: Huzzah32 Wifi Task Stack Overflow

Post by ryan_banks »

I ended up rolling back to a simpler SD card example and rebuilding the code block which utilized it.
This solved my issue, so I believe there was a bad line somewhere originally.

Thanks for the reply!

Locked
Please be positive and constructive with your questions and comments.

Return to “Feather - Adafruit's lightweight platform”