Description
Hello! I encountered a problem loading firmware into the CB3S module based on the bk7231n
The project compiles as it should, then, after my command, which the console advises me: .../tuyaopen/platform/bk7231x/tools/tyutool/cli write -d bk7231n -p [Port] -b [Baudrate] -f /home/vboxuser/tuyaopen/apps/tuya_cloud/switch_demo/.build/sample_project_bk7231x/bin/sample_project_bk7231x_QIO_1.0.0.bin - loading fails. The following outputs:
[INFO]: tyut_logger init done.
[INFO]: Run Tuya Uart Tool.
[INFO]: Use default start address: [0x00]
[INFO]: Waiting Reset ...
[WARNING]: Shake timeout!
[INFO]: Reboot done
[ERROR]: Flash write failed.
I specify the port available to me /dev/ttyUSB0 (this is a converter and it is in the list of USB devices), baudrate 921600 (I also tried to set different ones).
I assumed that one of the CSN pins (pin 12 or 19) is responsible for BOOT and before rebooting the controller I threw them to ground, but this did not help. I also tried to download the binary file through the BK7231GUIFlashTool program, but this also did not help
Please tell me how to flash BK7231N correctly?
I am attaching the file that I entered and what the console output to me
Activity