Closed angustyler closed 6 years ago
That's not a good idea. With my english I will spread even more confusion there.
Well this is a argument. Have fun with the RF Bridge
Thanks, the hint with the download made it work for me too. I saw you already updated the wiki. I just added the "Magic byte is not 0xE9" string to make it easier to find (index) by search engines.
Thanks for the support!
Dear All, it seems that I need your help. I have two RF remote controllers for my Sonoff Bridge R2 V1.0, and only 1-2 buttons work on each, so I decided to upgrade the RF firmware. Flashing Tasmota is under control (I did it like 50 times already :)). I had numerous errors while trying to flash RF, but now I am stuck with this "Failed to erase RF chip". 1) I erase ESP and flash clean Tasmota (pre-compiled binary, core 242, from today (but I try to flash RF since 1 week)) (FTDI serial port connected, 3.3v selected, jumper to OFF, with keeping the button, rebooting etc, this works without problems). 2) I log onto sonoff Wifi and configure my wifi (it works and connects to the wifi without problems) 3) I switch sonoff off and I connect the extra wires according to the image above https://github.com/arendst/Sonoff-Tasmota/issues/3061#issuecomment-439417439 4) I configure the Module as Sonoff Bridge (25) 5) I go to Firmware Upgrade, I select the HEX file 6) I get Upload Failed - Failed to erase RF chip
Trouble shooting; = My Bridge is the R2 V1.0, so I decided to cut the wires according the page below and connect with the USB port (maybe not enough power ?): https://github.com/arendst/Sonoff-Tasmota/wiki/Sonoff-RF-Bridge-433 It did not help. So I powered once with USB and once with serial adapter. = I exchanged the extra wires C2CK to GPIO4, C2D to GPIO5 and then the other way around C2CK to GPIO5, C2D to GPIO4. Neither work. = I flashed different Tasmota versions (core 250, core 242, normal, sensor...). Nothing helps. = I did the reset 5 trick = I tried to switch the jumper ON and OFF (not logical, but I was trying everything :)) = I checked the HEX files (redownloaded from different sources, and checked) I have 5 HEX files (including the original one), not one works.
One thing which I find confusing, in some posts it is written that the pair button should be pressed during powering. This is probably not correct, as then no WIFI is available (or am I wrong here ?).
I found on the EFM8 chip description, that one of the connectors should be grounded to enforce booting into boot loader (in case of issues). This did not help either.
As a last resort I wanted to flash EFM8 directly (not through Tasmota), but it seems to be harder than expected (or not possible with serial-USB interface ?).
I will be grateful for any help. This RF thingy is needed for my Home Assistant. Additionally I am planning to integrate door bell (with 433mhz) to log if somebody was ringing to the doors :)
I was facing the exact same problem as @yunnanpl above with R2 V1.0 2017.11.23 board.
What finally did it for me:
Thanks, now the upload works. I downloaded the file directly from the website, see screenshot. DL.zip You should add the hint "Download the whole content via the download button (green) from github" in the wiki.
Can you please update the Wiki, so that others can learn from how you did it? Maybe a picture of your wiring, etc....
As most only come here to ask if they have an issue and do not properly report how they fixed their issue finally, I gathered all info, how it worked for me.... 1) flash rf Bridge with sonoff-minimal (only needed if you are unsure if your firmware has rf-flash enabled). 2) flash rf bridge with sonoff.bin (pre-compiled bin has rf-flash enabled) https://github.com/arendst/Sonoff-Tasmota/releases 3) Open rf bridge BOX and set the RF-Switch to OFF 4) connect with 2 temporary cables: https://github.com/arendst/Sonoff-Tasmota/wiki/Sonoff-RF-Bridge-433 io o5 to c2ck io 04 to C2D !!! In R2 the text on the board was switched so do it as in above picture on the wiki. No crossing of the cables. 5) go to your downloaded git-arendst project on your computer, go into folder C:\Arduino Git\Sonoff-Tasmota\tools\fw_efm8bb1 (or similar) use following file... RF-Bridge-EFM8BB1-20181127.hex below 6) now start your bridge but NOT WITH USB!!! connecct 3.3v and ground to pins 7) ensure that you have module 25 activated and you can access the web 8) go to upgrade firmware and search the hex file above, hit UPLOAD/UPGRADE 9) don't breaze or move, just wait for the ZIRRRP.... if you get an error "can not erase blabla" then you have switched the cables 10) turn off power, put rf-switch to ON again 11) remove cables and put back into box
Hmm, and what is different to the wiki?
Flashing the RF Bridge with Tasmota 6.0.0a worked perfectly and is now accessible from the web page just fine. However, I'm now trying to install the Porticsh RF-Bridge-EFM8BB1 updated firmware by following the instructions: https://github.com/arendst/Sonoff-Tasmota/wiki/Sonoff-RF-Bridge-433 . But am getting error: "Upload Failed. Magic byte is not 0xE9" I've using the RF_Bridge.hex found at: https://github.com/Portisch/RF-Bridge-EFM8BB1/blob/master/Keil%208051%20v9.53%20-%20Release/RF_Bridge.hex (Note: I guess this is the correct location as the folder "tools/fw_efm8bb1" does not appear to exist - unless of course I am looking in the wrong place!) Any help greatly appreciated!