-
-
Notifications
You must be signed in to change notification settings - Fork 466
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Stack dump on ESP-01s on first boot #476
Comments
1 - you must be in 160Mhz but this is not your current problem I just flashed my ESP01 1M with these settings and latest git : FW version:2.1.1.b7 and ide 1.8.12 and esp core 2.7.1
So issue is in flash settings or else where but need decoded stack to figure out |
Thanks for the quick reply. Just for "fun" I also tried 2.1 with Platformio and had similar results - just in case my Arduino+ESP8266 stack was broken. Tried with your settings with 2.1.1.1 (didn't see a .zip of 2.1.1.b7) and latest ESP8266 core (2.7.1). Arduino settings below. No stack dump this time, but boot looping. Will work on decoded stack trace now. M117 ESP3D ets Jan 8 2013,rst cause:4, boot mode:(3,6) wdt reset ets Jan 8 2013,rst cause:4, boot mode:(3,6) wdt reset ets Jan 8 2013,rst cause:4, boot mode:(3,6) wdt reset |
Exception Decode below (got two different ones this time): Exception 9: LoadStoreAlignmentCause: Load or store to an unaligned address Decoding stack results Exception 4: Level1Interrupt: Level-1 interrupt as indicated by set level-1 bits in the INTERRUPT register Decoding stack results |
sorry it seems weird - seems not related to esp3d code do you use the libraries present in repository ? I suggest you to redo a clean install as the issue seems in core, remove all core elements and be sure not old versions are present |
OK - I'm stumped. I did have two versions of Arduino installed but uninstalled both, removed all of the Arduino* directories with libraries and hardware and just reinstalled from the Microsoft Store, latest ESP8266 core. Copied the libraries from the repository into the new libraries folder and duplicated your Arduino settings. Still just bootlooping with the occasional stack trace. Feels like hardware but I've tried two identical units, one fresh out of the static bag. Is there any other part of the hardware config (like bootloader or something?) that is a dependency here? I haven't done anything to these devices other than use Arduino to try and flash them. If no other ideas, feel free to close. I'll move on without this for now. Thanks for your help. ====== wdt reset ets Jan 8 2013,rst cause:4, boot mode:(3,6) wdt reset |
hmm I remember I got issue with store version of ide, so I only use manual installation from arduino website I do not think it is hardware but installation |
Ok thanks. I'll give that a try. It wasn't as painful as I thought it
would be the first time.
…On Mon, Jun 8, 2020, 5:07 PM Luc ***@***.***> wrote:
hmm I remember I got issue with store version of ide, so I only use manual
installation from arduino website
I do not think it is hardware but installation
problem
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#476 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AALGX4XH3P36WA4VXJXINJTRVVHILANCNFSM4NYT7POA>
.
|
Not enough power appears to be the issue. I had suspected this possibility but figured there'd be stronger, clearer signals. I got a different 3.3v source (another ESP-12 board with a large regulator) and guess what: it works now. The weird thing is it didn't work when I plugged it into my SKR board (on USB power). So, it must also have a weak 5v->3.3v regulator. I guess that is solved when it is running off a real power supply. Will try again once I'm done setting it up all the way.. change one thing at a time. :) I did have to up the FS size to 192KB to get the index.html.gz to upload. Other than that though, it seems to be working now. |
144kb is enough if you use the limited langage version of index.html.gz |
Ah ok. I saw a note about selecting ewer languages but didn't see
how/where to do that. Thanks.
It's still not coming up when on the SKR still even with 12v input so I'm
dead in the water either way.
…On Mon, Jun 8, 2020, 8:40 PM Luc ***@***.***> wrote:
144kb is enough if you use the limited langage version of index.html.gz
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#476 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AALGX4UJTYCQKJEDG4X6V73RVWAGBANCNFSM4NYT7POA>
.
|
what skr is it? |
if it is a pro you need to use the latest Marlin GIT code as I am not sure this PR is in a release yet |
1.4 Pro - thanks so much! This is not my first printer, but my first attempt with this board and I'm definitely just barely stumbling my way along. :) |
hope all will be fixed then |
Looks like those add'l pins on the header on the SKR 1.4 Turbo aren't connected to anything, so I just soldered a jumper on the ESP01s to always enable it, so that part is sorted. Now it doesn't look like the ESP is talking to the SKR. Found a bug where the framework package for the lpc176x didn't have UART3 mapped to anything, so I fixed that, but nothing seemed to change. Still working through that. |
Aaaand it's because the SKR firmware wasn't actually updating even though it appeared to be. All set now. Thanks so much for your patience with me! :) |
happy you succeed - have fun |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Describe the bug
On first boot after flashing, ESP-01s serial output shows stack dump (attached). Boot loops where it seems to try and initialize AP mode, but never gets there.
To Reproduce
Flashing v2.1 with basic 3.3v FTDI adapter, manually manipulating EN and GPIO0 pins to enable flashing. Confirmed flash size (1MB) and set to 128KB FS. Tried both 80mhz and 160mhz, and a few other settings with no noticeable change.
Successfully flashed CheckFlashConfig during troubleshooting, so I'm pretty confident I have a working flashing setup.
Doing my best to follow the various step-by-step instructions. Built on Arduino 1.8.12 (Windows Store) and tried several variants of the ESP8266 core (ones that will compile)
Expected behavior
Expected serial console to indicate AP mode & IP then I could connect.
Screenshots
N/A
ESP3D Firmware:
Board used (please complete the following information):
debug_output.txt
The text was updated successfully, but these errors were encountered: