Hello,
I am using documentation ROSbot - quick start | Husarion for Mbed firmware installation.
I just got new CORE2-ROS board, attached RasPI 3B and installed ros-2019-02-17.img on it. Everything looks perfect on RasPI side and L2 LED is fast flashing on CORE2 board.
Then I followed section I. Mbed firmware (recommended) - stm32loader installation, using rosbot-2.0-fw-v0.9.0.bin in the /home/husarion directory. However, when I try to load Mbed firmware, I am having issues running stm32loader (for ROSbot 2.0 configuration):
husarion@husarion:~$ sudo stm32loader -c tinker -u -W
Traceback (most recent call last):
File “/usr/local/bin/stm32loader”, line 9, in
load_entry_point(‘stm32loader==0.5.0’, ‘console_scripts’, ‘stm32loader’)()
File “build/bdist.linux-armv7l/egg/stm32loader/main.py”, line 37, in main
File “build/bdist.linux-armv7l/egg/stm32loader/main.py”, line 379, in main
File “build/bdist.linux-armv7l/egg/stm32loader/main.py”, line 135, in connect
File “build/bdist.linux-armv7l/egg/stm32loader/uart_gpios.py”, line 58, in init
RuntimeError: This module can only be run on a ASUS Pi!
husarion@husarion:~$ sudo stm32loader -c tinker -e -w -v rosbot-2.0-***.bin
Traceback (most recent call last):
File “/usr/local/bin/stm32loader”, line 9, in
load_entry_point(‘stm32loader==0.5.0’, ‘console_scripts’, ‘stm32loader’)()
File “build/bdist.linux-armv7l/egg/stm32loader/main.py”, line 37, in main
File “build/bdist.linux-armv7l/egg/stm32loader/main.py”, line 379, in main
File “build/bdist.linux-armv7l/egg/stm32loader/main.py”, line 135, in connect
File “build/bdist.linux-armv7l/egg/stm32loader/uart_gpios.py”, line 58, in init
RuntimeError: This module can only be run on a ASUS Pi!
Is this runtime error because I am using RasPi and not ASUS Tinker board or something else? I even was trying to run sudo stm32loader -c rpi****** (replacing parameter “tinker” with “rpi” ) but got the same runtime error
I was reading and following suggestions in the post [Solved] Rosbot 2.0 : hConfig error and microcontroller can't be flashed - #4 by byq77 , but i got the same error even executing sudo ./test-gpios
husarion@husarion:~$ sudo ./test-gpios
Traceback (most recent call last):
File “./test-gpios”, line 2, in
import RPi.GPIO as GPIO
RuntimeError: This module can only be run on a ASUS Pi!
I would appreciate any thoughts on this!
Thank you very much,
Leo