Basic "Hello World" firmware for an A9 camera on Beken BK7252 chip. This project serves as a proof of concept to verify whether my code can function as firmware on this particular device.
- usb uart adapter
- docker
- make
- tio or minicom
- https://github.com/tiancj/hid_download_py
Connect usb uart adapter to UART2 RX TX GND pins on device (watch image)
Do a backup before flash!!!
uartprogram -r 0x00011000_app_$(date +%Y-%m-%d_%H%M%S)_crc.bin
Reconnect power if uartprogram not connected to port.
now build and flash
make
uartprogram -w src/build/hello-world_crc.bin
Ensure "new firmware" is working.
tio -b 115200 /dev/ttyUSB0