Closed greencoder closed 2 years ago
Soft WDT reset
sounds like the Watchdog timer:
https://www.sigmdel.ca/michel/program/esp8266/arduino/watchdogs_en.html
Here are the decoded stack results:
Decoding stack results
0x401010c4: _stopPWM(uint8_t) at /Users/snewman/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/cores/esp8266/core_esp8266_waveform_pwm.cpp line 264
0x40205be6: Adafruit_VS1053::spiwrite(unsigned char*, unsigned short) at /Users/snewman/Documents/Arduino/libraries/Adafruit_VS1053_Library-master/Adafruit_VS1053.cpp line 741
0x40205f4c: Adafruit_VS1053::playData(unsigned char*, unsigned char) at /Users/snewman/Documents/Arduino/libraries/Adafruit_VS1053_Library-master/Adafruit_VS1053.cpp line 452
0x4020a238: fs::File::read(unsigned char*, unsigned int) at /Users/snewman/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/cores/esp8266/FS.cpp line 73
0x40205fc2: Adafruit_VS1053_FilePlayer::feedBuffer_noLock() at /Users/snewman/Documents/Arduino/libraries/Adafruit_VS1053_Library-master/Adafruit_VS1053.cpp line 311
0x40206004: Adafruit_VS1053_FilePlayer::feedBuffer() at /Users/snewman/Documents/Arduino/libraries/Adafruit_VS1053_Library-master/Adafruit_VS1053.cpp line 290
0x40206169: Adafruit_VS1053_FilePlayer::startPlayingFile(char const*) at /Users/snewman/Documents/Arduino/libraries/Adafruit_VS1053_Library-master/Adafruit_VS1053.cpp line 265
0x40205c68: Adafruit_VS1053::spiwrite(unsigned char) at /Users/snewman/Documents/Arduino/libraries/Adafruit_VS1053_Library-master/Adafruit_VS1053.cpp line 725
0x402021a8: fs::FS::_defaultTimeCB() at /Users/snewman/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/cores/esp8266/FS.h line 249
0x40100b86: free(void*) at /Users/snewman/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/cores/esp8266/umm_malloc/umm_malloc.cpp line 595
0x402012f3: playRandomMp3File() at /Users/snewman/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/cores/esp8266/WString.h line 79
0x4020256c: sdfat::SdBase ::begin(unsigned char, unsigned int) at /Users/snewman/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/libraries/ESP8266SdFat/src/FatLib/FatVolume.h line 74
0x402021a8: fs::FS::_defaultTimeCB() at /Users/snewman/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/cores/esp8266/FS.h line 249
0x40206984: Print::write(char const*) at /Users/snewman/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/cores/esp8266/Print.h line 59
0x40206ac0: Print::println(char const*) at /Users/snewman/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/cores/esp8266/Print.cpp line 238
0x40201322: loop() at /Users/snewman/Dropbox/Code/arduino/random-mp3-player/Random_MP3_Player/Random_MP3_Player.ino line 50
0x402076b8: loop_wrapper() at /Users/snewman/Library/Arduino15/packages/esp8266/hardware/esp8266/3.0.2/cores/esp8266/core_esp8266_main.cpp line 201
Here's the serial output: