Skip to main content
Associate II
August 7, 2024
Question

Reemission of GetID command. STM32CubeProgrammer CLI.

  • August 7, 2024
  • 1 reply
  • 1538 views

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

 

1 reply

STOne-32
Technical Moderator
August 7, 2024

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

Associate II
August 7, 2024

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. 

Associate II
May 30, 2025

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