logo elektroda
logo elektroda
X
logo elektroda

[Solved] Easy UART Flasher "failed with serial" on BK7231T devices but works fine with BK7231N devi

roquestrongo 2892 2
ADVERTISEMENT
  • #1 20681361
    roquestrongo
    Level 5  

    Good day,

    I'm having issues with flashing BK7231T modules.

    During the last days, I was flashing several devices with openBeken. So far, I was successful with flashing several CB2S CB3S modules, shutters modules, smartsockets, etc. As long as the module contains BK7231N, everything works fine. I didn't have any issues.

    However, the modules containing BK7231T variants all failed. Not one single module could be flashed. No matter what I tried, I checked if anything is connected to UART or even completely unsoldered the module and soldered it directly to a ribbon cable connected to the Serial/USB Adapter.

    The output looks like this always:

    Flasher mode: BK7231T
    Going to open port: COM3.
    Serial port open!
    Getting bus... (now, please do reboot by CEN or by power off/on)
    Getting bus failed, will try again - 0/100!
    Getting bus success!
    Going to set baud rate setting (921600)!
    Failed with serial.BytesToRead 0 (expected 12)
    The beginning of buffer in UART contains data.
    Failed to set baud rate!


    My USB Serial Adapter is this one (DSD Tech isolated FTDI): https://www.amazon.de/gp/product/B07TS3GPQ1/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1

    So, as flashing the BK7231N works without issue, I am wondering if there is a problem with the BK7231 Easy UART Flasher or if anyone can give me a hint what else to try to flash BK7231T modules.

    Regards and have a nice weekend!

    Roque
  • ADVERTISEMENT
  • Helpful post
    #2 20681573
    p.kaczmarek2
    Moderator Smart Home
    BK7231 Easy GUI Flasher has been used many times successfully with T chips, so maybe there is some specific issue with your setup. Please try the legacy tool:
    https://github.com/openshwprojects/OpenBK7231T/blob/master/bk_writer1.60.zip
    It works on T, but doesn't work too well on N. Also, just make sure you don't try to use it to restore backup. Use it only to read data (2MB len) to make a backup and then flash OBK
    Helpful post? Buy me a coffee.
  • #3 20718765
    roquestrongo
    Level 5  

    Ok, strange thing, I tried it again using a non-isolated Serial Adapter and this time it worked. Possibly the Insulated Serial Adapter could not deliver enough current due to the DC/DC converter.
ADVERTISEMENT