logo elektroda
logo elektroda
X
logo elektroda

BK7238 - identical MAC address after flashing OpenBK firmware 1.18.247 and 1.18.248

tplewa 96 5
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 21818853
    tplewa
    Level 39  
    @p.kaczmarek2

    Hello ;)

    I am struggling with these thermometers on the BK7238 and a problem has arisen. Namely, I uploaded firmware 1.18.247 (also tested on 1.18.248) and both thermometers get the same MAC address (C8:47:8C:42:88:48).

    Unfortunately the option to change the MAC address in the configuration does not work for this chip :( Ot disconnects the connection and that's the end of it....

    UART2 console log attached change_ma..og.txt Download(24.82 kB)

    In the web application the MAC shown is wrong (in the configuration it shows ok)


    Screenshot of BK7238 device info panel showing invalid MAC address

    I've also read the RF Config section and it looks empty and restoring does nothing....


    UART2 console showing RF config with only 0xFF bytes, indicating blank memory

    Any ideas how the MAC can be changed ?
  • ADVERTISEMENT
  • #2 21818854
    p.kaczmarek2
    Moderator Smart Home
    We are working on it. The RF partition needs to be moved. Colleague @divadiow knows something more about this. We had a topic about it the other day, check on com and maybe I can find it myself....

    M.in. test post: https://www.elektroda.com/rtvforum/topic4133895.html#21722611
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #3 21818960
    divadiow
    Level 37  
    Hello.

    This post details the RF recovery procedure but still requires UART flashing: https://www.elektroda.com/rtvforum/topic4106397.html#21764525

    I don't know what the ultimate solution is, but I do recall suggesting recently that maybe Easy Flasher should make a point of telling users to definitely backup BK7238 before flashing OBK and maybe even auto-restoring RF from backup automatically.

    I'm not sure why the current OBK offset for RF on BK7238 does not align with Tuya's, but maybe it's already too late for a breaking change - BK7238 is already super popular, the BK7231 of 2026.
  • ADVERTISEMENT
  • #4 21818971
    insmod
    Level 30  
    RF section on common, non-Tuya BK7238 is at 0x1E0000. On T1 - at 0x1E3000.
    And unfortunately, that's where OBK stores it's flash vars (reboot count, etc.).
    Implement dummy RF generation in web app?
  • ADVERTISEMENT
  • #5 21818979
    divadiow
    Level 37  
    insmod wrote:
    Implement dummy RF generation in web app?


    Indeed! Will add. I gated RF restore to be for chipset T, N only in vueoverhaul commits currently. Also, was considering restore function in web app of RF from real backup file
  • #6 21819043
    p.kaczmarek2
    Moderator Smart Home
    Can't we move away flash vars? On BK7238? It won't hurt, people won't lose much on update, just saved relays states, led state, etc? Hm? Or am I missing something.
    Helpful post? Buy me a coffee.
ADVERTISEMENT