logo elektroda
logo elektroda
X
logo elektroda

NiceMCU XH-WB3S BK7238 Flashing, Testing, Pinout, Development, Porting

divadiow 26652 382
ADVERTISEMENT
  • #361 21834217
    insmod
    Level 31  
    Posts: 1432
    Help: 168
    Rate: 455
    It's old, present since early bk7252 sdks, i think?
    Most important lib is rtt_ota, but it's closed source.
  • ADVERTISEMENT
  • #362 21869255
    divadiow
    Level 38  
    Posts: 5208
    Help: 446
    Rate: 914
    not exactly ESP8266 bargain basement cheap, but couldn't resist.

    Store checkout screenshot: NiceMCU WB5E board, £5.49, total £8.27, estimated delivery Apr 10, 2026
  • #365 21876990
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14754
    Help: 659
    Rate: 12875
    What is OpenSDK?
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #367 21877108
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14754
    Help: 659
    Rate: 12875
    Maybe we should change OBK name to OpenSDK...
    Helpful post? Buy me a coffee.
  • #368 21877163
    divadiow
    Level 38  
    Posts: 5208
    Help: 446
    Rate: 914
    could do..

    poll needed with options?

    I know there's been mention of renaming OpenBK7231T_App in the past. Is that still on the cards?
  • ADVERTISEMENT
  • #369 21877331
    DeDaMrAz
    Level 23  
    Posts: 620
    Help: 34
    Rate: 130
    p.kaczmarek2 wrote:
    Maybe we should change OBK name to OpenSDK...


    My vote is for OpenIOT 🙂 even got the domen purchased...
  • #370 21877332
    divadiow
    Level 38  
    Posts: 5208
    Help: 446
    Rate: 914
    DeDaMrAz wrote:
    My vote is for OpenIOT 🙂 even got the domen purchased...

    oh yes! :D
  • #371 21877340
    insmod
    Level 31  
    Posts: 1432
    Help: 168
    Rate: 455
    My vote is for OpenBeken, simply because it's more known/recognizable.
    Even if there are more non-Beken platforms than Beken now.
  • #372 21877346
    DeDaMrAz
    Level 23  
    Posts: 620
    Help: 34
    Rate: 130
    insmod wrote:
    Even if there are more non-Beken platforms than Beken now.


    I would argue for this more, beken is "legacy" at this point, even Tuya removed their name from chips.
  • #373 21877348
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14754
    Help: 659
    Rate: 12875
    insmod wrote:
    My vote is for OpenBeken, simply because it's more known/recognizable.

    Oh no, that's exactly what I think as well. That's the main reason for the hesistance for change.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #374 21877352
    DeDaMrAz
    Level 23  
    Posts: 620
    Help: 34
    Rate: 130
    We can always keep it as legacy name and even call it out as derived from openbeken but we are long past just Beken chips and I think we have just started - just my 2 cents of course.

    openIOT.me domain is in my possession just in case 😉
  • #375 21877817
    divadiow
    Level 38  
    Posts: 5208
    Help: 446
    Rate: 914
    insmod wrote:
    My vote is for OpenBeken, simply because it's more known/recognizable.


    I wonder if a name that uses the real company name would invite the unwanted attention of Beken. like LibreTuya -> Tiny
  • #377 21882551
    DeDaMrAz
    Level 23  
    Posts: 620
    Help: 34
    Rate: 130
    10 out of 10 times spikes in any reading is a bad cap in the power supply - my experience on more than 10 devices 😁
  • #378 21882553
    divadiow
    Level 38  
    Posts: 5208
    Help: 446
    Rate: 914
    oh sure, but this spikiness is fixed by setting loglevel to 0

    I was using the measurement spike issue as a sneaky way to justify posting about that PR and its fix, even though it doesn't ultimately relate
  • #380 21895692
    p.kaczmarek2
    Moderator Smart Home
    Posts: 14754
    Help: 659
    Rate: 12875
    Interesting, a TuyaMCU?
    Helpful post? Buy me a coffee.
  • BK7258 boots but TuyaMCU comms fail

    #381 21895704
    divadiow
    Level 38  
    Posts: 5208
    Help: 446
    Rate: 914
    seems to be, though it's not quite standard. the MCU I think sends product info first instead of heartbeat or something. TMDA won't talk to it. IO34 might need something on it too, low or high hasn't helped bring it to life though.

    it boots on BK7258. boot log without TuyaMCU comms:

    Code: Text
    Log in, to see the code
  • BK7236 boot query and TuyaMCU simulator reply

    #382 21895833
    divadiow
    Level 38  
    Posts: 5208
    Help: 446
    Rate: 914
    MCU is on IO0/IO1, 38400 baud.

    XH-WB5E NiceMCU doesn't route IO1 from module to a header, so had to solder

    NiceMCU XH-WB3S BK7238 Flashing, Testing, Pinout, Development, Porting

    NiceMCU XH-WB3S BK7238 Flashing, Testing, Pinout, Development, Porting Phone screenshot of “Advanced Settings” with a green controller icon featuring a solar panel

    Attached is simulator used to communicate and reset dump for pairing.

    At boot the BK7236 asks for product info of the TuyaMCU by sending
    55 AA 00 01 00 00 00
    . Simulator replies with product key for this product.
    Attachments:
    • TuyaMCU_BK7236_T3_GUI_Simulator_v1.9.zip (276 Bytes) You must be logged in to download this attachment.

Topic summary

LABEL_AI_GENERATED
Discussion centers on NiceMCU XH-WB3S dev boards/modules, initially suspected to be BK7231T but confirmed to use BK7238. Participants identify flash IDs, per-chip encryption keys, and note that OTA flashing is blocked for unencrypted images, while BKFIL and factory restore methods can still recover devices. The thread evolves into porting OpenBeken/OpenBK7231T to the BK7238/new Beken SDK, including Arduino-based builds, makefile/HAL adjustments, flashvars alignment fixes, timing/delay_us implementation, HTTP/TCP server stability fixes, UART logging routing, power-save handling, and sensor support such as DHT11 and DS18B20. Later posts cover BK7231N/BK7231U compatibility, bootloader behavior, flash chip detection, and flashing tool fixes for unsupported flash MID values.
AI summary based on the discussion. May contain errors.
ADVERTISEMENT