-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
Boot Loop After flashing #169
Comments
We've seen similar issues with other people. Are you trying to run stable or beta? |
Im using the beta nspanelmanager on home assistant. But as far as .bin file I'm using the marged_flash.bin found inside the docker/web/ folder. Is there maybe a different bin file I should be using/trying? |
No, that is the correct one given you downloaded it from the "beta" branch? If not, try that. If that is indeed the file you've downloaded send over the logs it spits out when it reboots. Chapter 5 in the manual describes the procedure to capture the logs over serial. |
Will test the beta and also pull the logs. Thank you. |
Pardon my ignorance, where can I find the other .bin file? I can only find one. |
Switch the branch out to the left. Here's a direct link: https://github.com/NSPManager/NSPanelManager/tree/beta/docker/web/nspanelmanager |
logs.txt Attached the log file. |
Thanks. I'll try and rake a look at it. In the mean time, do you happen to have the specific TFT file that you have flashed to it currently? I believe that's where the issue is. |
Correct I have a tft file on it. |
It's possible to solder wires to test pads and flash a new file via the software that is used to create them. But I would really appreciate to get my hands on the file you have on it. That way I can solve this so it hopefully doesn't happen again for someone else. |
We are facing the exact same here at the moment. We had been using this https://github.com/Blackymas/NSPanel_HA_Blueprint. We used our own tft and now reflashed this one here: https://github.com/Blackymas/NSPanel_HA_Blueprint/blob/main/hmi/nspanel_eu.tft Using stable. |
We just had the following idea: flashing your tft with esphome. Then try the NSPanelmanager install according to the manual. Uploading at the moment. Will give update asap. |
I know people have done that previously. Thanks for sending over the TFT though. This shouldn't be necessary. |
I was using the same as well and using the US version of the .tft |
Maybe the .tft takes away too much space for nspanelmanager to fully boot? |
They are two different microprocessor so I wouldn't think that. My suspicion is that the HA Blueprint sends something in boot that our firmware doesn't like. |
they also have a blank.tft file I will now re flash esp home, update to teh blank tft file then re try flashing with NSPM. I will keep you updated. |
So this worked! We had previously also tryied the blank file and it didn't work. |
I'm no programmer, but the unit seems to reboot shortly after this line in the attached log file: That seems to be part of the issue? Without a boot log from a working bootup to compare, I can't say for sure. |
Sure looks suspicious, the big question is why it tries to do that with that TFT file and not our. |
If the PSRAM id is read from the TFT, then the ESP home tft file might be setting a nonstandard value, which is confounding your firmware. Just a hunch. |
confirming it didn't work for me either. |
I have an unused NSPanel which has never been installed. I flashed NSPanel a while back, but the TFT firmware should be stock. That said, I do have 2 different NSPanels, and may have confused/switched them without realizing it. I am attaching the log from my boot, but it looks largely the same. |
Okay... Steps Taken:
It will boot |
@tpanajott Just a thought: Is there a way to compile firmware for the main NSPanel portion (non-tft) that will basically relay serial data to the TFT panel firmware chip, allowing one to write this special firmware first, then use the serial port without grounding the io0 port to directly write the TFT file over the serial pins, then poweroff? One could then again ground the io0 port and rewrite the normal NSPanelManager firmware. Perhaps a bit drastic, but until a better solution is found, this might be needed? |
So, a bit of an update. There were two bugs that happened to coincide.
Both of the issues above have been fixed in the attached firmware files for the BETA version. The "stable" version is no longer supported and we will not be updating that. If any of you still have problems please give them a try. I've attached both the merged_flash.bin that you use to flash the full firmware (partition table, firmware and LittleFS) to the panel over serial. I've also attached an update firmware.bin that you may use via the "Upload" -> "Firmware" menu in the manager. This is so that you don't update the firmware on the panels and the same problem happens. Thank you for reporting the bug, it sure was a bit of a hunt to find the actual problem. Good thing it hopefully won't happen again. I am currently flashing our TFT OTA to the panel which was running the HA Blueprint TFT. |
…ze the TFT with NSPanel Manager TFT file. Please see issue #169 for more information.
Woo impressive job Tim! :) |
…ze the TFT with NSPanel Manager TFT file. Please see issue #169 for more information.
…ze the TFT with NSPanel Manager TFT file. Please see issue #169 for more information.
…ze the TFT with NSPanel Manager TFT file. Please see issue #169 for more information.
Describe the bug
After flashing a previously flashed esp home panel, the screen goes into a boot loop. i have tried going back to esp home and it works.
Due to the boot loop that feels like a constant rebooting I cannot even get to the wifi to connect to the panel and link it to the manager.
Has this happened to anyone else or am I maybe doing something wrong?
Thank you.
The text was updated successfully, but these errors were encountered: