Unable to connect to port using STM32_Programmer_CLI, timeout error occurred
Hello ST Community,
This is the issue I'm facing when trying to connect to my board. I'm able to use the LINUX GUI to connect to the device and program it. No issues with it. I want to do the same using a script and the CLI doesn't seem to co-operate. My goal is to connect to the board and program my elf file on it. Nothing fancy. Can you help with this?
./STM32_Programmer_CLI -c port=/dev/ttyACM0
-------------------------------------------------------------------
STM32CubeProgrammer v2.7.0
-------------------------------------------------------------------
Serial Port /dev/ttyACM0 is successfully opened.
Port configuration: parity = even, baudrate = 115200, data-bit = 8,
stop-bit = 1.0, flow-control = off
Timeout error occured while waiting for acknowledgement.
Timeout error occured while waiting for acknowledgement.
Error: Activating device: KO. Please, verify the boot mode configuration and check the serial port configuration. Reset your device then try again...Thanks
Dheeraj
