logo elektroda
logo elektroda
X
logo elektroda

Easy Flasher Custom Operation: ad-hoc read/write test results

divadiow 252 3
ADVERTISEMENT
  • #1 21443861
    divadiow
    Level 35  
    Easy Flasher custom operation dump thread for success/fails - updated as stuff get tried
    Screenshot of BK7231 Easy UART Flasher program with a successful read.

    read of 0x0 length 0x11000 of a flashed firmware compared to original full dump extract
    Screenshot comparing two binary files in a hex editor with a message indicating identical content.

    I attempted to transplant the BL from another BK7231n dump so chose the whole 2mb file but only selected 0x0 - 0x11000 to flash, but it burnt the whole file. I guess chosen file needs to be exactly the size to be flashed.

    Easy Flasher software interface with a successful write message.
  • ADVERTISEMENT
  • #2 21444588
    divadiow
    Level 35  
    after setting a custom write operation going back to standard "do firmware write (no backup!)" will perform a small write to 0x00 instead of the full QIO as expected

    User interface of BK7231 Easy UART Flasher tool displaying firmware write success.



    Added after 9 [minutes]:

    to confirm custom write offset selection I erased the whole flash of a BK7231N using BKFIL then flashed 4kb file TLV_calib_moes.bin to 0x1E3000
    Screenshot of FormCustom window with Start Offset and Length fields.

    then took a whole flash backup to check location and content. looks good
    Comparison of BK7231N flash memory dumps.
    and with 0x0 up to 0x1E3000 removed from the full dump:

    Dialog window with information about file size difference.

    Added after 28 [minutes]:



    not directly related but I've proposed the erase all info text is updated to say it doesn't include BL
    https://github.com/openshwprojects/BK7231GUIFlashTool/pull/52
  • ADVERTISEMENT
  • #3 21556588
    divadiow
    Level 35  
    It's not immediately obvious to users that BK7252 mode in EF is currently for 2mb BK7252U and will skip bootloader before they begin backup.

    Code: Text
    Log in, to see the code


    to get 4mb, still with no BL, a custom read operation can be performed
    An application window named FormCustom with fields for start offset and length, and two buttons for custom read or write.

    Screenshot showing two BIN files with different names, sizes, and creation dates in a folder on a computer.

    ideally there'd be some wrap-around (?) check thing to dump full 2 or 4mb, rename of BK7252 to BK7252U and then the addition of BK7252N, which includes ROM like BK7238 and BK7231N.
  • #4 21583423
    divadiow
    Level 35  
    minor note. With no firmware selected writing wrong firmware can occur. only tested with BK7252
    Screenshot showing a warning about incorrect firmware writing without selected firmware; tested only with BK7252.
ADVERTISEMENT