2024-08-06 11:10 PM
Hello everyone, I'm sending the command
"C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin>STM32_Programmer_CLI.exe -c port=COM3 br=9600 rts=high -w C:\BinFiles\FirmwareLoader.bin 0x08005000 -v"
from STM32Programmer CLI. Sometimes it just works fine and downloads and verifies the file written, but sometimes it shows the output as below. Does anybody have any idea what "Reemission of GetID command", "GETID command not acknowledged!" means, and what might have caused it and how it can be resolved ?
P.S. : As I have already said the command works perfectly fine sometimes, so please focus on the output below, not the command. Thanks in advance.
-------------------------------------------------------------------
STM32CubeProgrammer v2.15.0
-------------------------------------------------------------------
Serial Port COM3 is successfully opened.
Port configuration: parity = even, baudrate = 9600, data-bit = 8,
stop-bit = 1.0, flow-control = off
Activating device: OK
Board : --
Response received from device: NACK
Error: GETID command not acknowledged!
Reemission of GetID command
Response received from device: NACK
Error: GETID command not acknowledged!
Reemission of GetID command
Response received from device: NACK
Error: GETID command not acknowledged!
Chip ID: 0x0
2024-08-06 11:44 PM
Dear @shiwasreet ,
Can you share the top device marking and also try to increase the UART Baudrate to a bit higher value ? To check .
Let us know ,
STOne-32
2024-08-07 12:04 AM
STM32L471. I tried using 115200 before, but the frequency of errors I'm getting is a bit less in 9600. But it's the same error I get in 115200 as well. Just letting you know that I've been using serial pins for this device, not SWD port. So, I set the device into boot mode before executing any command. The command and output I've posted above are while the device is in boot mode.
2025-05-30 9:16 AM
hi is your problem resolved.What was the issue and what's the resolution.Even I am facing the same error when using serial port
2025-05-30 10:35 AM
Dear @richaverma ,
We believe that the original issue on STM32H743 you are facing in this post Solved: Process Change Information (STM32H74x/75x - Microc... - Page 2 - STMicroelectronics Community is linked to "Timing of Erase Operation" not properly send by impacted MCU. at this step, we suggest you get direct contact with our ST Support team in your location to in touch with you and work closely on your setup.
and in particular to see the Timing between each command and waiting the "max timing" of Erase sector as below - extract from Datasheet:
in STM32L4 series, it is not the same timings . Hope it helps you
STOne-32.