logo elektroda
logo elektroda
X
logo elektroda

Beken BK7231/BK7252 SPI flashing and recovery - new flasher tool and protocol specs

p.kaczmarek2 4971 154
ADVERTISEMENT
📢 Listen (AI):
  • #151 21794507
    insmod
    Level 29  
    >>21794505
    Basic communications should work, but first i would need to know bootrom version.
    Only firmware dump would be supported.
  • ADVERTISEMENT
  • #152 21794521
    divadiow
    Level 37  
    p.kaczmarek2 wrote:
    I am not sure about BL702 currently, it was a Zigbee module.

    ah k.

    insmod wrote:
    Did some additional fixes for BL, now write always succeeds for me on BL702 with 1024 buffer (and 4096 too).

    yes, much better. at least 10 consecutive writes on BL602 have been successful @921600 for me. Also, it now catches with just BT+RST button depression between retries. Before I had to remove power and insert power again with BT pressed, which seemed odd.

    I do see a VERY quick flash of red in the EF window, not on every write attempt. Nothing to say what it is in log I don't think. trying to capture it..

    Added after 3 [minutes]:

    got it

    Erase failed! error in BK7231 Easy UART Flasher while flashing BL602.
  • ADVERTISEMENT
  • ADVERTISEMENT
  • #155 21796177
    p.kaczmarek2
    Moderator Smart Home
    divadiow wrote:

    sadly no. @p.kaczmarek2 has BL702 though

    It seems that you were right, but the one I found has only USB and currently I can't get it to be visible by PC:
    Beken BK7231/BK7252 SPI flashing and recovery - new flasher tool and protocol specs
    I can't see any USB to UART converter on the board.
    Beken BK7231/BK7252 SPI flashing and recovery - new flasher tool and protocol specs Beken BK7231/BK7252 SPI flashing and recovery - new flasher tool and protocol specs Beken BK7231/BK7252 SPI flashing and recovery - new flasher tool and protocol specs Beken BK7231/BK7252 SPI flashing and recovery - new flasher tool and protocol specs
    Helpful post? Buy me a coffee.
📢 Listen (AI):

Topic summary

BK7231GUIFlashTool version 98 and later introduces a new SPI flashing method for Beken BK7231/BK7252 devices using only a CH341 SPI programmer. This method enables recovery of bricked devices with overwritten bootloaders and functions as a general-purpose SPI flasher supporting various memory chips. The approach builds on previous SPI programming techniques using Python and Banana Pi, adapting them for CH341 hardware and C# implementation. Required hardware includes a CH341 programmer and soldering tools for wire attachment. Recent user feedback on version 98 highlights issues such as the tool requiring a COM port selection in SPI mode, lack of CH341A detection warnings, and missing ch341dll.dll errors. The developer has addressed the COM port requirement and plans to add the missing DLL, requesting further debugging via Visual Studio to handle CH341 initialization exceptions.
Summary generated by the language model.
ADVERTISEMENT