ESP32 bricked after template apply? #22719
-
Hi, I have custom board (made by myself) with ESP-WROOM-32 module. I've had flashed tasmota32-display 14.4.1. Everything works great. I've played with configuration -> module settings to get working things which where on the board. When I was done (and everything works), I typed template 255 to the console which gives mi this result:
I've only changed name and retype it to Configuration -> Other. That was the last moment when I have seen this board working :-) When I connect uart console to board I see this errors (it's in loop):
After that in boot mode I run esptool erase flash and writed new firmware (compiled from tasmocompiler). Write was successful but ESP still won't boot and error remains. Only the last line changed (the terminal report above was copied after this flash, previously it reports tasmota32-display version. So do have anybody some idea what happens? If there some chance to get this chip working if the error remains even after erase_flash command? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
Seems to be in a boot loop it cannot recover from, as indicated by the bad message: Maybe try with a stepwise template buildup, to see if there is a point where it starts to happen, and notice whether that time stamp is bad before that. |
Beta Was this translation helpful? Give feedback.
-
Ok, I have found cause of this issue and it's really stupid :-) It's power issue - power supply in UART convertor is not powerful enough to full boot process. On normal supply it's working. But still the template above break it and prevent device from booting. Now I have to figure out why (or I have to find way how to have serial console and working power supply at one time :-) ) |
Beta Was this translation helpful? Give feedback.
-
Ok, another thing. It seems that command "Template 255" has some bug. It produced output in first post and it's apparently wrong. When I tried it again without apply check box, it's possible to see that it has wrong order. It assigned some functions to GPIO6-11 which is probably the reason why it doesn't boot anymore. After creating new module configuration manually and exporting it with "template" command it works OK. |
Beta Was this translation helpful? Give feedback.
-
Just for note, today I've played with some unused devel module to replicate problem to fill issue. But without success, now it works, I can't break it. I wonder how I managed to break it with this prototype :-) Maybe there was some race condition involved with some older firmwares (prototype was several time upgraded)... |
Beta Was this translation helpful? Give feedback.
Ok, another thing. It seems that command "Template 255" has some bug. It produced output in first post and it's apparently wrong. When I tried it again without apply check box, it's possible to see that it has wrong order. It assigned some functions to GPIO6-11 which is probably the reason why it doesn't boot anymore. After creating new module configuration manually and exporting it with "template" command it works OK.