Error during flash firmware for ST67W61
Continued from: STM32 Host with ST67W611 Wifi BLE
Hi everyone,
Currently, I'm trying to re-flash firmware for ST67W61 module via UART without host ( use USB TTL), and I got the issue in below:
[22:36:53.388] - Serial port is COM5
[22:36:53.394] - ==================================================
[22:36:53.394] - FW get address from partiton file C:\Users\Admin\STM32Cube\Repository\Packs\STMicroelectronics\X-CUBE-ST67W61\1.2.0\Projects\ST67W6X_Scripts\Binaries\NCP_Binaries\./partition.bin
[22:36:53.394] - Address=0x10000
[22:36:53.394] - FW get size from partiton file C:\Users\Admin\STM32Cube\Repository\Packs\STMicroelectronics\X-CUBE-ST67W61\1.2.0\Projects\ST67W6X_Scripts\Binaries\NCP_Binaries\./partition.bin
[22:36:53.394] - Size=1785856
[22:36:53.397] - Program Start
[22:36:53.397] - ========= eflash loader cmd arguments =========
[22:36:53.397] - serial port is COM5
[22:36:53.397] - cpu_reset=False
[22:36:53.677] - com speed: 2000000
[22:36:53.677] - ========= Interface is uart =========
[22:36:53.677] - Bootrom load
[22:36:53.677] - ========= get_boot_info =========
[22:36:53.679] - ========= image get bootinfo =========
[22:36:53.939] - tx rx and power off, press the machine!
[22:36:53.939] - cutoff time is 0.05
[22:36:53.993] - power on tx and rx
[22:36:54.988] - reset cnt: 0, reset hold: 0.05, shake hand delay: 0.1
[22:36:54.989] - clean buf
[22:36:54.995] - send sync
[22:36:55.097] - ack is b''
[22:36:55.097] - retry
[22:36:55.363] - tx rx and power off, press the machine!
[22:36:55.364] - cutoff time is 0.05
[22:36:55.419] - power on tx and rx
[22:36:56.382] - reset cnt: 0, reset hold: 0.05, shake hand delay: 0.1
[22:36:56.383] - clean buf
[22:36:56.388] - send sync
[22:36:56.612] - ack is b'4f4b'
[22:36:56.612] - shake hand success
[22:36:57.127] - data read is b'0200160601000100a7128201dcd2037b82401c008f758090e8805be3'
[22:36:57.127] - ========= ChipID: 40827b03d2dc =========
[22:36:57.127] - Get bootinfo time cost(ms): 3448.666748046875
[22:36:57.127] - change bdrate: 2000000
[22:36:57.127] - Clock PLL set
[22:36:57.127] - Set clock time cost(ms): 0.0
[22:36:57.253] - flash set para
[22:36:57.253] - get flash pin cfg from bootinfo: 0x08
[22:36:57.253] - set flash cfg: 1014108
[22:36:57.253] - Set flash config
[22:36:59.261] - ack is b''
[22:36:59.261] - Retry
[22:37:01.267] - ack is b''
[22:37:01.267] - Retry
[22:37:03.279] - ack is b''
[22:37:03.279] - Retry
[22:37:05.283] - ack is b''
[22:37:05.283] - {"ErrorCode": "003B","ErrorMsg":"CHIP FLASH SET PARA FAIL"}
[22:37:05.286] - Burn Retry
[22:37:05.286] - Burn return with retry fail
The Hardware that I setup in below:
1. USB-TTL connect to ST67W61 via TX/RX pin
2. PIN BOOT, ENABLE is to pull-up with 3.3V via SW1 (BOOT) and SW2 (ENABLE), see the picture in attachment
3. The sequence that I did : press and hold SW2 (chip ENABLE), press and release SW1 (BOOT), then release SW2.
Do everyone has experience please help me to check whether my HW and sequence already correct or not?
Thank you very much!
Giang
