Timeout error occured while waiting for acknowledgement.

Post here first, or if you can't find a relevant section!
Post Reply
xela
Posts: 2
Joined: Fri Jan 17, 2020 4:03 pm

Timeout error occured while waiting for acknowledgement.

Post by xela »

Hello, I just got a RobotDyn STM32 ARM Board (Blue Pill) with the arduino bootloader on it.
It keeps printing "Hello Robotdyn" in the serial port, so i know its working but when trying to upload my own program via the arduino IDE it says
"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..."

Does anyone know what causes this problem?
User avatar
fpiSTM
Posts: 1738
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: Timeout error occured while waiting for acknowledgement.

Post by fpiSTM »

Hi xela

I guess you talked about this one:
https://robotdyn.com/stm32-arm-arduino- ... oader.html

And you used LibMaple core?
ag123
Posts: 1655
Joined: Thu Dec 19, 2019 5:30 am
Answers: 24

Re: Timeout error occured while waiting for acknowledgement.

Post by ag123 »

this is for libmaple core
https://github.com/rogerclarkmelbourne/Arduino_STM32

try 1 thing, verify the sketch so that it gets compiled.
connect usb
get your mouse ready to click install/download sketch

press reset, and click download / install
you have 6 secs, assuming that it is the libmaple or roger's stm32duino boot loader
on pressing reset, it should be blinking fast, that's a 'signature' of the libmaple, or roger's stm32duino boot loader

if after more than few tries it doesn't install, there is a chance that there isn't a boot loader preinstalled.
one thng though, if you are using libmaple core, there is a utility in tools called dfu-util
running that in the 1st 6 secs should list the available DFU devices
viewtopic.php?p=587#p587

and if you are using libmaple core, and you are using windows
there are some instructions to get usb dfu configured
without that chances are that you won't be able to get the sketch installed on windows
https://github.com/rogerclarkmelbourne/ ... stallation

it is possible to use both the official core
https://github.com/stm32duino/Arduino_Core_STM32
and libmaple core (a community core)
https://github.com/rogerclarkmelbourne/Arduino_STM32
in Arduino IDE, but newbies may get a little bit of information overload, so you may like to start with one after another
ag123
Posts: 1655
Joined: Thu Dec 19, 2019 5:30 am
Answers: 24

Re: Timeout error occured while waiting for acknowledgement.

Post by ag123 »

another thing,
get a st-link v2
https://www.st.com/en/development-tools/st-link-v2.html
https://www.adafruit.com/product/2548
https://octopart.com/2548-adafruit+indu ... 2RgF0vGj-A
https://octopart.com/st-link%2Fv2-isol- ... HRi9WRrwGw

and review the wiki
official core
https://github.com/stm32duino/wiki/wiki

libmaple core
https://github.com/rogerclarkmelbourne/ ... STM32/wiki

they are a rich source of information especially for those starting out
if you prefer to use the official core, certainly get the st-link v2 and review the wikis on how to use it
once you have the st-link v2 (it is a jtag/swd programmer) there normally isn't anything you can't install on the stm32 pill boards
xela
Posts: 2
Joined: Fri Jan 17, 2020 4:03 pm

Re: Timeout error occured while waiting for acknowledgement.

Post by xela »

Thanks for the tips, I got it to work by reinstalling the drivers and re-configure the settings in the arduino IDE.
Now I don't need to work with annoying ST-links and UART usb adapters. :D
Bingo600
Posts: 86
Joined: Sat Dec 21, 2019 3:56 pm

Re: Timeout error occured while waiting for acknowledgement.

Post by Bingo600 »

xela wrote: Sun Jan 19, 2020 12:51 pm Now I don't need to work with annoying ST-links and UART usb adapters. :D
I'd say the ST-link clone , is the best investment in a STM32 environment.

/Bingo
Post Reply

Return to “General discussion”