logo elektroda
logo elektroda
X
logo elektroda

Fehlermeldung beim Auslesen der OBK Config auf BK7231N: Header is bad

fragehanz 402 3
ADVERTISEMENT
  • #1 21146297
    fragehanz
    Level 2  
    @ElektrodaBot

    Habe folgendes Problem. Wollte gerade OBK config auslesen und bekomme folgende Fehlermeldung
    "It's not an OBK config, header is bad
    OBK config load failed."

    Was bedeutet das bzw. wo finde ich genauere Infos.

    Starting read!
    Read parms: start 0x1D1000 (sector 465), len 0x1000 (1904640 sectors)
    Now is: Sonntag, 7. Juli 2024 17:18:43.
    Flasher mode: BK7231N
    Going to open port: COM3.
    Serial port open!
    Getting bus... (now, please do reboot by CEN or by power off/on)
    Getting bus success!
    Going to set baud rate setting (115200)!
    Will try to read device flash MID (for unprotect N):
    Flash MID loaded: 1560EB
    Will now search for Flash def in our database...
    Flash def found! For: 1560EB
    Flash information: mid: 1560EB, icName: TH25Q_16HB, manufacturer: TH, szMem: 1000000, szSR: 2, cwUnp: 0, cwEnp: 7, cwMsk: 407C, sb: 2, lb: 5, cwdRd: 05-35-FF-FF, cwdWr: 01-FF-FF-FF
    Entering SetProtectState(True)...
    sr: 0
    sr: 0
    final sr: 0
    msk: 407c
    cw: 0, sb: 2, lb: 5
    bfd: 0
    SetProtectState(True) success!
    Going to read encryption key...
    Encryption key read done!
    Encryption key: 510fb093 a3cbeadc 5993a17e c7adeb03
    Going to start reading at offset 0x1D1000...
    Reading 0x1D1000... Ok!
    Basic read operation finished, but now it's time to verify...
    Starting CRC check for 1 sectors, starting at offset 0x1D1000
    CRC matches 0xEAB98F5!
    All read!
    Loaded total 0x1000 bytes
    It's not an OBK config, header is bad
    OBK config load failed. @ElektrodaBot
  • ADVERTISEMENT
  • Helpful post
    #2 21146324
    p.kaczmarek2
    Moderator Smart Home
    OBK config will only exist in the device if you have flashed it before with OBK and configured it.

    Why do you want to load OBK config?

    Maybe you're trying to find Tuya config instead?
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #3 21162976
    fragehanz
    Level 2  
    Thank you very much for the quick help. Even though I'm only getting around to responding now, it was very helpful.

    I was a bit confused. I am still very new to this. I wanted to make a backup of everything before flashing, and there was an error with the OBK config. But now it's clear to me that it can't be there before the flash.
  • #4 21177180
    p.kaczmarek2
    Moderator Smart Home
    This is correct, there is no OBK config yet.

    If you want to extract GPIO information, use Tuya config method, as shown on Elektroda YT channel:


    Helpful post? Buy me a coffee.
ADVERTISEMENT