2022-09-07 09:00 AM
Hi
I'm using STLink-V3 Mini probe to flash and read UID of a stm32F401RET6 with STM32Cubeprogrammer command line under ubuntu 2022.
Here is the command I'm using : "<path to STM32_Programmer_CLI -log <log_filename> -c port=SWD mode=UR freq=4000 -rdu -r32 0x1FFF7A10 0x10"
(I try with different mode (Normal, UR,...) but it didn't change)
Most of the time it works well, but sometimes, it return the error : "No STM32 target found!"
All the connections are corrects as the read ID test pass most of the time.
When it fails, it's fail for few test in a row, I'm forced to change device, read the UID, and go back to the first one. This error happens with multiple device.
Any idea of why it can fails ?
Thanks in advance,
Antoine