Thanks, I'll try it ASAP, my Windows box is KO actually... Is it somehow possible to flash these chips under Linux? (Just a small hope, I know it's closed hw+source)
I only see a Windows version of C-SKY Flash Programmer, but the XuanTie DebugServer should be able to do it too - command line though. I've done a backup/flash before with it I think but don't see a record of it.
Flash programmer messed something up, and first 0x10000 of flash was erased before i succeeded at taking a backup.
ah, nevermind.
insmod wrote:
Btw, how did you get SP0828 to output anything?
I switched to CDK for most recent changes. Your boot log helped with something.
It's also clarified something with the init rate, which is one thing I'm unclear about. I could not get it to match SP0828 at 6Mhz. Set it to 24Mhz and it'll match.
csi_v2.c
Code: C / C++
Log in, to see the code
but then what does that mean for all the other sensors, and why doesn't 6Mhz work for me yet??
I have also been playing with hsyn, vsyn, typ, dvp_set_exchange_d5_d6, changing the order of
Code: Text
Log in, to see the code
and also changing 0x15 for 0x11, 0x13, 0x14 towards end of init table (this has made some changes to image but not silver bullet)
Code: Text
Log in, to see the code
This is current csi and sensor files, image may not quite match previous posting. I've probably lost track of which combinations of things I haven't tried yet.
I did wonder about 6Mhz and 24Mhz init scans... or maybe the os_sleep_ms(3) delay needs extending. I've spent too long on it 🤪
A mini 1080p WiFi camera from Aliexpress priced under 3€ uses a Beken BK7252UQN48 AU3437XB chip and requires the proprietary "FtyCamPro" app for operation. The device creates its own WiFi network and assigns an IPv4 address but shows no open ports on scanning. Opening the case reveals the Beken chip, and firmware resources for this chip are available on GitHub (beken7252-opencam), enabling potential firmware backup and custom flashing after identifying the flashing pins. Some similar cameras use the Taixin TXW817 chipset, which has a different ecosystem including SDKs and programming tools like TXProgrammer and CK-Link debuggers. Attempts to access internal flash memory via QSPI/SPI have been made, but require delicate soldering and specialized hardware. The Taixin TXW81x IoT SDK and C-SKY Development Kit (CDK) support firmware development and compilation. TXProgrammer can be configured to English for easier use. A 2MB flash dump from a TXW817-810 based camera has been obtained, and a demo application runs on this hardware using hgSDK. Overall, the discussion covers hardware identification, firmware extraction, SDK availability, and programming tool usage to bypass the official app and enable local control of these low-cost WiFi cameras. Summary generated by the language model.