logo elektroda
logo elektroda
X
logo elektroda

BK3431Q Program Mode Entry: Pinout, UART Boot Commands, and SPI Flash Dump Methods

apubadulake 63 0
ADVERTISEMENT
  • #1 21821576
    apubadulake
    Level 1  
    Hi everyone,

    I'm currently working with a Beken BK3431Q chip and I'm having some trouble entering Program Mode to dump the flash memory.

    On the standard BK3431, there is usually a specific pin to trigger the bootloader/program mode, but I cannot find an equivalent hardware trigger for the Q variant.

    Current Status:

    UART: I can successfully connect to the UART console, but it seems to be locked in Debug Mode. I can see logs, but I cannot execute commands to dump flash or interact with the bootloader.

    SPI: I’ve attempted to access the chip via SPI using pins P00 (SCK), P01 (CSN), P02 (MOSI), and P03 (MISO) [Note: Verify if you meant these or the P04-P07 you mentioned], but as a beginner in SPI interfacing, I haven't had any luck getting a response.

    My Questions:

    Does the BK3431Q require a specific high/low voltage on a certain pin during power-on to enter Program Mode (similar to the ESP32's GPIO0)?

    Is there a specific "magic key" or command sent via UART at boot time to interrupt the boot process?

    For SPI access, is there a recommended tool or script (like flashrom or a specific Beken Programmer tool) that works specifically for this revision?

    Any guidance, datasheets, or pinout tips would be greatly appreciated!

    Thanks in advance!
  • ADVERTISEMENT
ADVERTISEMENT