-
Notifications
You must be signed in to change notification settings - Fork 7
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
Flashing BK7231N (CBU) Tuya TH08 keeps crashing mid-way #58
Comments
The fact that you're getting random crashes would suggest a power supply issue. |
Thanks for the quick reply, very powerful 3.3V external, by grounding I mean both the power supply -ve and the FT232 needs the ground connected together and connected to the chip? I’ve tried different USB leads, have just ordered a new FT232 in case it was that. I feel I’m so close, yet so far away!! |
All parts of the setup (FT232, the chip, the power supply) must have their grounds connected together. Otherwise it simply won't work. |
All connected, just tried again with a new FT board I ordered, cannot even connect now. Could it be Windows drivers? Totally perplexed. I appreciate your help. Thank you. |
Post what kind of error are you getting while flashing. Make sure to enable verbose logging in ltchiptool before that. |
It would be best if you flashed a full factory firmware dump. Doing that, remember to uncheck "auto-detect" in ltchiptool and set start and skip to 0x0, length to 0x200000. However, the bootloader is not active during the flashing process, so corrupting the bootloader won't make a difference during flashing. |
|
This is the most common error, and it usually means that there is something wrong with the way you supply power to the chip. Either the power supply is too weak/unstable, or your wires are not connected properly. If you soldered the wires, check the soldering and see if it's okay. If you didn't... well then that's most likely the problem 🙂 I can't really help any further, because I don't know your exact setup. If you can, maybe posting a photo of the components and connections would help somewhat. |
Ok, in a way it's good to know it's common, and yes, I soldered, so I'm going to re solder, I presume I can just ignore the bootloader issue then? |
Well, you'll need the correct bootloader to boot the firmware afterwards. But for getting the right flashing procedure, it's not needed on BK7231N. |
Any help appreciated. I flashed my BK7231N chip with OpenBekin (it's a Tuya TH08 Temp and Humidity display). I then tried to do an OTA update to ESP Home, something went wrong and nothing worked. I've used Itchiptool to try and put ESP Kickstart, or an original binary back on to no avail. I've erased all, re-created the RF partition, tried putting OpenBekin back on, and tried Itchiptool. It just keeps failing at various degrees of the erase or flash process. I have two, and both are doing the same. It's driving me nuts. I've used an external 3.3V Power Supply (presume no special grounding required)? Any advice appreciated, so annoying given I once got OpenBekin on, and now can't seem to do anything! Thank you.
The text was updated successfully, but these errors were encountered: