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?
Timeout error occured while waiting for acknowledgement.
Re: Timeout error occured while waiting for acknowledgement.
Hi xela
I guess you talked about this one:
https://robotdyn.com/stm32-arm-arduino- ... oader.html
And you used LibMaple core?
I guess you talked about this one:
https://robotdyn.com/stm32-arm-arduino- ... oader.html
And you used LibMaple core?
Re: Timeout error occured while waiting for acknowledgement.
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
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
Re: Timeout error occured while waiting for acknowledgement.
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
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
Re: Timeout error occured while waiting for acknowledgement.
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.
Now I don't need to work with annoying ST-links and UART usb adapters.