logo elektroda
logo elektroda
X
logo elektroda

Taobao Tuya BK7252UQN68 Bare A9 Cam PCB (SC-10024 v1.0.0) - UART/SPI Flash Backup - OpenBK7252

divadiow 1716 68
ADVERTISEMENT
  • #61 21706892
    insmod
    Level 28  
    >>21706885
    Yes, and it's that way on every beken, whether encrypted or not.
    Every 32 bytes of data is followed by 2 bytes of crc

    You can create a script that would remove those bytes to get readable strings, if required.
  • ADVERTISEMENT
  • Helpful post
    #62 21706923
    p.kaczmarek2
    Moderator Smart Home
    That's a ... a very common occurence of CRC, isn't it? I was under impression that mere bits are needed to check the validity of very large buffers, and here they use 16 bits per 32 bytes...

    I think I can read, erase and write memory now - also with full chip erase (and with status register checks):
    Terminal window showing flash memory read/write via SPI interface
    Nothing really new here, the same I did there: https://github.com/openshwprojects/OpenBK7231T_App/blob/main/src/driver/drv_spi_flash.c
    I will pack this into some C# class and prepare either a standalone tool or a EF update.. or both, not sure.

    Added after 16 [minutes]:

    I ordered one camera from local supplies, but I have a feeling it will be XR again.
    Mini Wi-Fi camera with smartphone app showing live footage
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #64 21707462
    p.kaczmarek2
    Moderator Smart Home
    @divadiow this Beken SPI is basically generic SPI + Beken RESET. As you probably know... since you've used NeoProgrammer.
    This brings the question - can we use EF as generic SPI flasher? I think we can! Do you have BIOS chips to try?

    My next camera is with delivery courier.
    Helpful post? Buy me a coffee.
  • #65 21707472
    divadiow
    Level 36  
    p.kaczmarek2 wrote:
    Do you have BIOS chips to try?


    Taobao Tuya BK7252UQN68 Bare A9 Cam PCB (SC-10024 v1.0.0) - UART/SPI Flash Backup - OpenBK7252
    plus all the usual loose chips and actual devices...
  • ADVERTISEMENT
  • #66 21707477
    p.kaczmarek2
    Moderator Smart Home
    What kind of board is it? I haven't seen it yet. I only do this that way:
    https://www.elektroda.pl/rtvforum/topic3993012.html
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #68 21707518
    p.kaczmarek2
    Moderator Smart Home
    Ok I think I've found them. I was not aware that there is this kind of breakout, but it makes sense in a hindsight.
    W25Q32 flash memory module with SPI interface on blue PCB board
    Helpful post? Buy me a coffee.
  • #69 21707521
    divadiow
    Level 36  
    ok, sure. yes. Ali Express, the cave of wonders

Topic summary

A bare A9-type PCB (SC-10024 v1.0.0) featuring the BK7252UQN68 chip was purchased from Taobao without camera, battery, or casing. The board includes an 18-pin camera connector, two buttons, and two LEDs (red and two-tone blue/green). Attempts to obtain an SDK from the seller were unsuccessful. Efforts to locate Tuya firmware download URLs programmatically also failed. Flashing combined OpenBK7252 firmware files enabled OTA functionality on first boot, confirming OTA support despite requiring SPI flash programming. Logs indicate successful OTA initialization and app partition erase/write operations. Some malloc failures were observed, possibly due to differences in memory allocation methods between OTA and default A9 bootloader environments. Further testing or suggestions for additional experiments were requested.
Summary generated by the language model.
ADVERTISEMENT