logo elektroda
logo elektroda
X
logo elektroda

RDA 5981AM/Broadlink BL3335-P - Generic/nobrand 15W RGBW B22 Bulb - basic teardown

Altirix 3879 200
ADVERTISEMENT
  • #181 21726910
    insmod
    Level 29  
    >>21726903
    It's not that, it's just that there's no command in rom for baud change. Or if there is, i couldn't find it.
  • ADVERTISEMENT
  • #183 21727017
    insmod
    Level 29  
    >>21726995
    If erase is not used, then obk config write fails.
    I don't know why it isn't required for fw.
    checksum 1 - crc32, checksum 2 - sha1
    >>21726995
    Good, i'll adjust my code tomorrow.

    I think after this i'll have to try to convert flasher from threads to tasks + cancellation tokens.
    Crashes when stopping current operation are too annoying.
  • #184 21727068
    divadiow
    Level 36  
    insmod wrote:
    Crashes when stopping current operation are too annoying.

    this. yes

    insmod wrote:
    Good, i'll adjust my code tomorrow.


    cool. many more things. a few bootloaders and AT firmwares. lots of repeats, some not so relevant. all from Gitee from "RDA5981" search.

    Maybe I should have cloned to GH instead.

    MQLinks from MQ-12F fame have an RDA5981 module - M0R1. https://blog.csdn.net/mqlinks/article/details/106709888
  • ADVERTISEMENT
  • #185 21727072
    divadiow
    Level 36  
    newer MbedOS SDK clues
    Spoiler:
    # M0R1 Series Wi-Fi Module MQTT Transparent Transmission Version Notes

    ## 1. Wi-Fi Firmware Download

    **MQTT Version Firmware Download Address: [Click to View](http://mqlinks.tpddns.cn:1888/DirectoryLister/?dir=WIFI\M0R1_RDA5981\firmware\mqtt)**

    **Multi-Function Version Firmware Download Address: [Click to View](http://mqlinks.tpddns.cn:1888/DirectoryLister/?dir=WIFI\M0R1_RDA5981\firmware\at_uart)**

    ## 2. Version Notes
    ### Release Date: October 18, 2021 Version Number: Mbedos515_V21_0430.011
    1. Optimized the connection speed of the Alibaba Cloud IoT Suite
    2. Now supports querying Alibaba Cloud configurations
    3. Added the ability to save configurations to factory defaults

    ### Release Date: September 21, 2021 Version Number: Mbedos515_V21_0430.010
    1. Added AP network configuration interface functionality
    2. Optimized AIRKISS network configuration speed

    ### Release Date: August 1, 2021 Version Number: Mbedos515_V21_0430.009
    1. Optimized MQTT packet stability

    ### Release Date: July 17, 2021 Version Number: Mbedos515_V21_0430.008
    1. Resolved issues with receiving large amounts of data from the serial port over the network

    ### Release Date: March 15, 2021 Version Number: Mbedos515_V21_0430.007
    1. Supports AP network configuration
    2. Adds slow serial port commands to ensure the integrity of MQTT packets
    3. Starting with version 007, there are two versions: one that remains the same as before, and one that includes GPIO port reset configuration and access to airkiss network configuration

    ### Release Date: March 15, 2021 Version Number: Mbedos515_V21_0430.006
    1. Improves connection stability across MQTT platforms
    2. Improves MQTT communication responsiveness

    ### Release Date: February 23, 2021 Version Number: Mbedos515_V21_0430.005
    1. Updates the SDK package to Mbedos515_V21_0430

    ### Release Date: January 15, 2021 Version: Mbedos515_V20_0712.004
    1. Fixed an issue where only setting the three Alibaba Cloud elements failed to connect to the server.
    2. Added two super commands for users to configure parameters for the Alibaba Cloud IoT Suite and MQTT server.

    ### Release Date: January 9, 2021
    Version: Mbedos515_V20_0712.003
    1. Added the AT+MRD command to set the "Retained" attribute of the MQTT publish function: AT+MRD=on turns on the "Retained" attribute.

    ### Release Date: January 3, 2021 Version Number: Mbedos515_V20_0712.002
    Starting in 2021, the SDK version for version M0R1 will be updated to Mbedos515_V20_0712. Major updates compared to previous versions include:
    1. Fixed a memory leak during the scan process;
    2. Fixed an issue where some phones failed to connect to hotspots;
    3. Fixed an issue where link loss could not be detected in sniffer mode;
    4. Fixed an issue causing out-of-bounds exceptions;
    5. Fixed an issue with beacon hopping in STA+AP mode;
    6. Fixed an issue with deduplication timers;

    Version 002 adds the following:
    1. Fixed the pinout feature in the previous version M0E1.
    2. When configured in APSTA mode, AP connections will work even if STA connections are unavailable.

    ### Release Date: December 22, 2020 Version Number: Mbedos515_V1.3.7.001
    1. MQTT transparent transmission version released


    Added after 12 [minutes]:

    Cloudspeaker device. USB fw update

    http://info.mqlinks.com:1888/dokuwiki/doku.ph...=search&id=mq-12fusermanual&q=rda5981
    Two QR code stands for payment on a restaurant table.
    CloudSpeaker V7.2 PCB with wires connected via pin header
  • ADVERTISEMENT
  • Helpful post
    #186 21727217
    insmod
    Level 29  
    Release is 'broken' - there is no UART binary.
    https://github.com/openshwprojects/OpenBK7231T_App/pull/1840
    And since there is no 'release' yet, i've decided to switch bootloader to ali one.
    It allows for better OTA image compression. 15kb is saved in my case (gcc 10).

    Added after 14 [minutes]:

    Comparison:

    Old:
    1839_merge_a0818b4b69d3
    input_file: sdk/OpenRDA5981/.build/OpenBeken.bin
    lzma_file: sdk/OpenRDA5981/.build/OpenBeken.bin.lzma
       size: 308741
       version: 1839_merge_a0818b4b69d3
       crc32_lzma: b3aba129

    New:
    1840_merge_7310c557b9c5
    input_file: sdk/OpenRDA5981/.build/OpenBeken.bin
    lzma_file: sdk/OpenRDA5981/.build/OpenBeken.bin.lzma
       size: 293299
       version: 1717805796
       crc32_lzma: bfe5866c

    15442 bytes lighter.
  • #187 21727673
    divadiow
    Level 36  
    yummy
    BK7231 Easy UART Flasher interface with firmware write operation completed
    OpenRDA5981 control panel with active WiFi and MQTT connection

    Added after 13 [minutes]:

    insmod wrote:
    And since there is no 'release' yet, i've decided to switch bootloader to ali one


    Code: Text
    Log in, to see the code


    tbh I thought the bl wasn't changeable (without SPI or whatever, like BK-T)

    OTA list stops at OpenRDA5981_1.18.203.img and OTA attempt causes
    Code: Text
    Log in, to see the code


    requiring re-flash. I see naming has changed a little. and of course file size makes sense now
    https://github.com/openshwprojects/OpenBK7231...ownload/1.18.205/OpenRDA5981_1.18.205_ota.img

    Code: Text
    Log in, to see the code


    Added after 14 [minutes]:

    https://github.com/OpenBekenIOT/webapp/pull/232
  • #188 21727683
    insmod
    Level 29  
    Updated flasher, now supports only obk config write.
    Also implemented full erase.

    A note about ali bootloader - it doesn't allow same version upgrade. (uart and ota versions are different, so 1.18.205 uart will upgrade to 1.18.205 ota).
  • #191 21728390
    divadiow
    Level 36  
    erase all. no crash but not getting past:

    Flashing tool interface for RDA5981 chip using COM46 port
  • #192 21728395
    insmod
    Level 29  
    >>21728390
    Buttons are enabled, meaning it succeeded.
  • ADVERTISEMENT
  • #193 21728399
    divadiow
    Level 36  
    damn. fallen for that again. thanks

    Added after 7 [minutes]:

    is erase one of those soft-erase kinda functions where only a few bytes are removed so it's seen to be marked as erased? I took backup after erase and I see data from 0x1000 still
  • #195 21728560
    divadiow
    Level 36  
    >>21728432

    yes. blank now. appreciate the additional logging

    BK7231 Easy UART Flasher interface with COM46 port open and flash log visible
  • #196 21730163
    divadiow
    Level 36  
    RDA5981 seen in USB borescope device - https://reverseengineering.stackexchange.com/...mera-ypc99-how-to-stream-on-linux/27180#27180

    source: Tasmota Discord https://discord.com/channels/479389167382691863/790917300210368562/975139694285299782

    hurricos — 5/14/22, 9:57 PM
    Quote:
    A long shot, but: I'm trying to identify the MCU used in the "YPC99" USB boroscope USBcam-to-WiFi module.

    The device provides 11n WiFi and supports acting as a USB 2.0 host. It is made to find a USB Camera device and associate with it, then provide an RTSP stream.
  • #198 21739138
    p.kaczmarek2
    Moderator Smart Home
    Yes!! Great progress, just keep platforms md updated
    Helpful post? Buy me a coffee.

Topic summary

The discussion revolves around the Broadlink BL3335-P smart bulb, which utilizes the RDA 5981AM chip. The original poster seeks information on the device and its components after peeling off the can to reveal the chip. They mention the bulb likely originated from AliExpress and express interest in moving away from proprietary firmware. Other participants inquire about the availability of a datasheet and suggest methods for obtaining a boot log, including using an Arduino for serial communication. They also note the existence of a similar module available on AliExpress (HLK-M50) and discuss the outdated nature of the available SDKs for the RDA5981AM chip.
Summary generated by the language model.
ADVERTISEMENT