(I couldn't make this post without breaking all the links, 5th try is the charm?)
Quote: @xabean please send device model name + photos + flash dump (full 2mb if possible) to tuya cloudcutter guys, or send it here, I will forward it to them, so they can do OTA hack for your device.
It's the same smart outlet as Glaedr304 over in post #28. Aoycocr model X5P, or FCC ID 2AKBP-X5.
Quote:
1. If you have no 3.3V UART connected, then how did you managed to read the firmware dump?
2. Why SPIFlash.md ? It has nothing to do with UA, you just use bkWriter 1.60 and that's it. UA is a correct file to write with Beken Writer or python tool by UART.
I have my raspberry pi connected as a SPI flash programmer/reader, with the spiprogram tool from OpenBekenIOT/hid_download_py
It works great! I saw the RBL, bootloader, and app regions in the firmware. I know you prefer using the UART programming method, but I appreciate having a _full_ and _complete_ dump of the firmware, in case I brick it. Either I'm doing something wrong, or there isn't yet a process for flashing OpenBkenIOT over SPI written yet. I'm interested in figuring that out, and will make a github pull request to document it when I get it working
Quote:
3. WB3 = WB3S?
Look at my guide:
(removed)
WB3, according to the silkscreen on the PCB. Here are some close ups. The WB3 module edge is right up against the plastic and I haven't yet ohm'd out where the RX/TX/VCC/GND pins are on the edge. I have easier access to the SPI pins without having to unsolder the module:
Here's close ups of the WB3 module from one XP5 I completely tore apart:
I've attached the firmware dump, this was before ever plugging it in. I hope these help!
$ sha1sum Aoycocr_X5P_0x000000-0x1fffff.bin
95797fedac634e18b65d261ebf37e718a3b692b3 Aoycocr_X5P_0x000000-0x1fffff.bin