2025-12-11 2:13 PM - edited 2025-12-11 2:18 PM
Hi
I want to update firmware on my X-NUCLEO-67W61M1 board. I'm talking directly to the board using QconnFlash tool.
I have pulled BOOT and ENABLE pins high as described in manual. Looks like communication is established, but later it fails on receiving the ack. Any idea while it fails?
Log is here:
F:\Projects\ST67W6X_Utilities\Binaries>QConn_Flash\QConn_Flash_Cmd.exe --port COM18 --config NCP_Binaries\mission_t01_flash_prog_cfg.ini --efuse=NCP_Binaries\efusedata.bin
[23:06:09.042] - Serial port is COM18
[23:06:09.042] - ==================================================
[23:06:09.058] - FW get address from partiton file F:\Projects\ST67W6X_Utilities\Binaries\NCP_Binaries\./partition.bin
[23:06:09.060] - Address=0x10000
[23:06:09.060] - FW get size from partiton file F:\Projects\ST67W6X_Utilities\Binaries\NCP_Binaries\./partition.bin
[23:06:09.062] - Size=1785856
[23:06:09.069] - Program Start
[23:06:09.069] - ========= eflash loader cmd arguments =========
[23:06:09.097] - serial port is COM18
[23:06:09.097] - cpu_reset=False
[23:06:10.848] - com speed: 2000000
[23:06:10.848] - ========= Interface is uart =========
[23:06:10.850] - Bootrom load
[23:06:10.853] - ========= get_boot_info =========
[23:06:10.854] - ========= image get bootinfo =========
[23:06:11.381] - tx rx and power off, press the machine!
[23:06:11.381] - cutoff time is 0.05
[23:06:11.443] - power on tx and rx
[23:06:12.464] - reset cnt: 0, reset hold: 0.05, shake hand delay: 0.1
[23:06:12.464] - clean buf
[23:06:12.613] - send sync
[23:06:12.831] - ack is b'004f4b'
[23:06:12.899] - shake hand success
[23:06:13.405] - data read is b'0200160601000100a7128201c436007b824020008f7580901ab72ce6'
[23:06:13.405] - ========= ChipID: 40827b0036c4 =========
[23:06:13.407] - Get bootinfo time cost(ms): 2553.46826171875
[23:06:13.408] - change bdrate: 2000000
[23:06:13.408] - Clock PLL set
[23:06:13.410] - Set clock time cost(ms): 1.00048828125
[23:06:13.595] - flash set para
[23:06:13.595] - get flash pin cfg from bootinfo: 0x08
[23:06:13.597] - set flash cfg: 1014108
[23:06:13.599] - Set flash config
[23:06:15.606] - ack is b''
[23:06:15.606] - Retry
[23:06:17.622] - ack is b''
[23:06:17.622] - Retry
[23:06:19.635] - ack is b''
[23:06:19.635] - Retry
[23:06:21.644] - ack is b''
[23:06:21.644] - {"ErrorCode": "003B","ErrorMsg":"CHIP FLASH SET PARA FAIL"}
[23:06:21.699] - Burn Retry
[23:06:21.700] - Burn return with retry fail
2025-12-11 10:54 PM
Hello,
Can you try to pull the boot (maintain it), then pull the Chip_en and release it and finally release the boot ? this sequential action is needed to enter the boot mode.
Regards,
Damien
2025-12-12 1:44 AM
Hi. I tried it in all configurations.
When exactly should I pull the enable high?
From my trials looks like chip_en doesn't influence the boot process so far.
Boot has to be high in order to have the handshake executed, but after that no matter the configuration I apply.
2025-12-14 10:48 PM
Hello,
By default the Boot is pull down so you have to pull it up, then make a Reset (CHIP_EN pull down) and release it and finally release the Boot.
Hope it will help,
Damien.