Hi, after a lot of tests, now it works. i've added a sleep of 2 seconds after set reset pin to high
i don't see any difference, except the reply of stm32 micro
it's the .sh file with gpio and sleep command
here it is
stm32flash never failed from the command line. my host is not at limit (3/6% cpu)
Hi, i've tried also to run stm32 from bash file, and run bash file from qt. but i've the same result. bash code: #!/bin/bash PATH_GPIO_EXP="/sys/class/gpio/export" PATH_GPIO_DIR="/sys/class/gpio" RESET="5" C_BOOT="4" P_BOOT="3" sudo echo 0 > $PATH_GPIO_DIR/gpio$RESET/value sudo echo 1 > $PATH_GPIO_DIR/gpio$C_BOOT/value sudo echo 0 > $PATH_GPIO_DIR/gpio$P_BOOT/value /bin/sleep 4 sudo echo 1 > $PATH_GPIO_DIR/gpio$RESET/value sudo stm32flash -w $1 /dev/ttyUSB0
yes, i've the same issue
ok, here it is