-
Notifications
You must be signed in to change notification settings - Fork 50
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
Can not update #136
Comments
Hi - Where did the fw image you are trying to flash come from ? Also, what version is currently running and where did that fw come from ? A few of us use ttgo-tdisplays as dev units without issue - although tbh we usually build and flash the firmware using the idf tools, rather than trying to use the 'ota' procedure (although ofc this should still work ...) I have one here so if you can give me all the details (fw versions, how the binary was obtained, etc.) I can follow your steps and try to reproduce the issue. |
Hi, its a ttgo-tdisplay running 1.0.30-4-g29 |
OK, so once you've enabled 'secure-boot' you need to sign every firmware image - presumably you have a personal key you are signing with ? |
Yes, the signing key is in the sdkconfig.defaults. |
do you also use flash-encryption ? |
I did an ota on my tdisplay with (without secure-boot/flash-encryption - default tdisplay config) from the version you suggest to latest master and it worked ok:
So issue probably related to 'secure' features ... |
I assume you've tried a few 'destination' versions ? ie. you can't ota back to 1.0.30 ? |
I will try to go back! I came from 1.29. What is flash-encryption? I'll show the config I use |
1.29 needs a lower idf 5.1.2 |
no matter what machine I connect to the TTGO it goes dark, like with this tool: https://espressif.github.io/esptool-js/ But the jade software thats allready on it keeps working |
@jurgen2005 I think I'm getting the same issue with the m5stickC, after confirming it starts, then reboot - No further logging on the console (--log debug) - I'm also using secureboot. Did you find a solution with this one? Cheers |
Nope no solution, for now they are stuck in this version. I think the problem is in the device firmware itself, so might be impossible to fix... |
I tried using the tool you mentioned ttps://espressif.github.io/esptool-js/ and it bricked, lol Eventhough I have the PEM file I don't think it's recoverable as the key is on the unit itself. |
Hello. This happened to me too when I installed 1.0.30-18-g7 on my lilygo. The device works, it just won't update anymore, it just reboots. Found any solution @jurgen2005 ? I have another lilygo running 1.0.30 and not I'm scared of updating again. Should I just wait for 1.0.31? |
No, no solution, think it will be stuck on this version forever :-/ |
I also have a second unit but It's on version 1.0.30. Should I wait a few releases to go by before updating? What happens if I don't update at all? |
If we don't update at all, everything will still work I think. Up to a certain point. |
#151 resolves a (different) issue doing this with an M5StickCPlus2 device, so we know this secure+ota pattern works with 'production' jade units, and with the StickC ... the issue could be related to the tdisplay hw ... is that the hw you are all experiencing issues with ? |
When I run " python jade_ota.py --noagent "
The TTGO asks for a pin, then shows the old and new firmware to confirm
then very shortly shows the progress bar and then shuts off..
any idea what this could be?
The text was updated successfully, but these errors were encountered: