Skip to content

Unknown Bootloader BK7231N / CB3S #59

Open
@Wolly300

Description

@Wolly300

Hello together,

I tried to flash my CB3S chip from a Tuya device, but unfortunately it's failing

I: Found new device: COM3 - Silicon Labs CP210x USB to UART Bridge - Silicon Labs (10C4/EA60)
I: Connect UART1 of the BK7231 to the USB-TTL adapter:
I: 
I:     --------+        +--------------------
I:          PC |        | BK7231             
I:     --------+        +--------------------
I:          RX | ------ | TX1 (GPIO11 / P11) 
I:          TX | ------ | RX1 (GPIO10 / P10) 
I:             |        |                    
I:         GND | ------ | GND                
I:     --------+        +--------------------
I:  
I: Using a good, stable 3.3V power supply is crucial. Most flashing issues
I: are caused by either voltage drops during intensive flash operations,
I: or bad/loose wires.
I:  
I: The UART adapter's 3.3V power regulator is usually not enough. Instead,
I: a regulated bench power supply, or a linear 1117-type regulator is recommended.
I:  
I: To enter download mode, the chip has to be rebooted while the flashing program
I: is trying to establish communication.
I: In order to do that, you need to bridge CEN pin to GND with a wire.
W: Unknown bootloader CRC - 0xDA3A34FA - please report this on GitHub issues!
E: An error has occurred
E: SerialTimeoutException: Write timeout
E: |-- File "ltchiptool\gui\work\base.py", line 24, in run
E: |-- File "ltchiptool\gui\work\flash.py", line 73, in run_impl
E: |-- File "ltchiptool\gui\work\flash.py", line 161, in _do_write
E: |-- File "ltchiptool\soc\bk72xx\flash.py", line 286, in flash_write_raw
E: |-- File "ltchiptool\util\streams.py", line 177, in update_from
E: |-- File "bk7231tools\serial\cmd_hl_flash.py", line 182, in program_flash
E: |-- File "bk7231tools\serial\cmd_ll_flash.py", line 173, in flash_write_4k
E: |-- File "bk7231tools\serial\protocol.py", line 128, in command
E: |-- File "bk7231tools\serial\protocol.py", line 87, in write
E: |-- File "serial\serialwin32.py", line 325, in write

I tried it with the compiled software from ESPHome and the BIN from here https://github.com/openshwprojects/OpenBK7231T_App/releases/tag/1.18.57

Image

Always the same result.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions