logo elektroda
logo elektroda
X
logo elektroda

Hi-Link HLK-B30 Development Board with C-Chip CC8000 and OpenBK7231U Firmware

divadiow 51 2
ADVERTISEMENT
  • #1 21586747
    divadiow
    Level 34  
    There are a few posts around that reference the C-Chip CC8000/BK7231U chip and that it can be found on the Hi-Link HLK-B30 development board, but experiments with it appear mixed in with several other threads, so here's a thread dedicated to the HLK-B30 and now with OpenBK7231U.


    Hi-Link HLK-B30 Development Board with C-Chip CC8000 and OpenBK7231U Firmware
    Hi-Link HLK-B30 Development Board with C-Chip CC8000 and OpenBK7231U Firmware

    Hi-Link HLK-B30 Development Board with C-Chip CC8000 and OpenBK7231U Firmware

    Photo of the Hi-Link HLK-B30 development board with a C-Chip CC8000/BK7231U and visible EN25QH16 flash chip. Screenshot showing startup and configuration logs of a BK7231U microcontroller on an HLK-B30 development board. Screenshot showing boot log output of HLK-B30 module with BK7231U chip, including pin mapping and debug data.

    PinPin NameTypeDescriptions
    1CENIChip enabled, highly effective
    2P26_PWM5I/OP26,PWM5
    3P24_PWM4I/OP24,PWM4
    4P23_TDO_F_S0I/OP23,ADC3
    5P22_TDI_F_SII/OES0, enter at command mode / restore factorysettings, please pull up if not used, same as P28
    6P21_TMS_F_CSI/OP21
    7P20_TCK_F_SCI/OP20
    8VBATP3.3V power supply
    9P28I/OEnter at command mode / restore factory settings, please pull up if not in use, same as P22
    10P16I/OP16
    11P17I/OP17
    12P14I/OP14
    13P15I/OP15
    14P6_PWM0I/OP6,PWM0
    15GNDPGND
    16P7_PWM1I/OP7,PWM1
    17P8_PWM2I/OWiFi indicator light
    18P9_PWM3I/OP9,PWM3
    19P1_URAT2_RXDI/OP1,UART2
    20P0_UART2_TXDI/OP0,UART2
    21P10_UART1_RXDI/OP10,UART1, For upgrading, command settingand transparent transmission
    22P11_UART1_TXDI/OP11,UART1, For upgrading, command setting and transparent transmission


    Pin mapping for SPI flashing with CH341A/Python method - needed if writing bootloader from 0x0. BK7231U is like BK7231T - no rom. Note that on v2.1 of the board D16 is incorrectly labelled as "ESO". In v3.0 (pictured above) D16 is labelled correctly.

    HLK-B30CH341A
    RSTD2
    D17SCK
    ESO/D16 (between D17 and D15)CS0
    ESO (between GND and D1)MOSI
    D15MISO
    GNDGND


    2mb EN25QH16 flash detected in NeoProgrammer when in SPI mode
    Photo of the Hi-Link HLK-B30 development board featuring the C-Chip CC8000/BK7231U and labeled pins.



    OpenBK7231U_QIO_1680_merge_55ebe0a12aba.bin from https://github.com/openshwprojects/OpenBK7231T_App/pull/1680 flashed in its entirety from 0

    Photo of Hi-Link HLK-B30 development board featuring BK7231U microcontroller, flash memory, and labeled GPIO pins.

    Code: Text
    Log in, to see the code


    Hi-Link HLK-B30 development board with visible C-Chip CC8000/BK7231U chip and pin labels on the PCB.

    Photo of Hi-Link HLK-B30 development board with the BK7231U chip and connector pinout description.
  • ADVERTISEMENT
  • #2 21586752
    divadiow
    Level 34  
    OTA test success. this was with quick GUI page
    Code: Text
    Log in, to see the code

    web app OTA filtering for .img not .rbl currently

    Screenshot showing detailed log of a successful OTA firmware update process, including progress bar and confirmation messages.

    Added after 7 [hours] 42 [minutes]:

    akosschneemaier wrote:
    hey @divadiow , Yes I was able to backup the fimrware. I already uploaded it to github: https://github.com/libretiny-eu/ltchiptool/issues/28#issuecomment-2054045065

    I am still wating for my HLK-B30 to arrive so I can try flashing it.


    @akosschneemaier this fw should work on your AiDot Leedarson module bulb if you still have it
  • #3 21586895
    insmod
    Level 23  
    To make sure that MAC and calibration data is correct TLV must be moved from 0x1FE000 to 0x1E0000 on BK7231U.
ADVERTISEMENT