[Solved] Can't init into bootloader

When trying to flash the new fw on my RosBot 2.0 Pro using stm32loader I get the error “Can’t init into bootloader. Ensure that BOOT0 is enabled and reset the device.”
This happens both when using sudo stm32loader -c upboard -u -W and sudo stm32loader -c upboard -e -v -w rosbot-2.0.pro-fw-v0.11.0.bin

I saw a topic describing the same problem in the forum but no solution to it, only the information that husarion contacted the user and debugged it with them.

Hi TBR_Jay,

Problem is already solved. Solution was quite simple and needed some changes in stm32loader.

If you’re still occurring this issue you have old version of stm32liader. Please delete it and clone the newest version from our repo.

After that go to stm32loader directory and execute:

sudo python setup.py install

It will fix your issue. I also recommend downloading newest ROSbot firmware rosbot-2.0.pro-fw-v0.12.0.bin.

Please let me know the results.

Best regards,
Hubert

Thank you, everything worked as intended and functioned immediately.

I don’t know how I ended up with the old version since I downloaded the stm32loader repo at the end of may, nevertheless thank you for your help.

1 Like