p.kaczmarek2 wrote:
Anyway, are we talking about the same device you have already programmed before?
Regarding the problems, I need to have more information. There can be multiple reasons for such error. Can you show a photo of your setup?
1. Was it working earlier? I am not sure as it sounded you are already flashing it correctly and now you report errors.... is it the same device?
2. Do you have anything also connected on RX/TX lines? There are some devices that have, for example, a debouncing capacitor on RX line (I've had such relay once) that needs to be removed before flashing. Some other devices might use RX/TX lines to communicate with TuyaMCU chip, which also makes flashing a bit more problematic, because you have to remove TuyaMCU or cut the lines first (or put the MCU In reset state)
3. How do you reset the WiFi module, by CEN or by power on/off cycle? Doing a reset is tricky, it takes several times to get it right.
We're talking about the same thermometer (and humidity) device, which I try to flash with your bin, couldn't flash it yet.
1. Nope, I wrote this in my first post:
Quote: When I try to write the BK7231N (OpenBK7231N_QIO_1.12.48.bin) with -s 0x0, -u options, then I get an error right after start: "WriteSector 1 Failed"
2. Only the MCU was, I've cut the lines as the MCU RST pin grounding didn't do the trick for me.
Quote: I couldn't achieve better results by trying to connect GND to Unicmicro UM8005-ACTE (TSSOP20) microcontroller's RST - which I think is pin 4: P0.2/NRST.
So I cut the tracks to RX, TX on the back, checked with multimeter, definitely not connected anymore.
3. By connecting CEN to ground, as I mentioned before. This is working as it starts the backup process also (until I don't ground it, it waits).
Quote: I connected pins to the CB3S (8) VCC, (9) GND, (15) RX, (16) TX, and for resetting (3) CEN