Ok, an update from me...
I followed the WSL path as suggested by @theseankelly and am almost there, but flashing (over Crazyradio PA) still does not work... Haven't tried the debugger yet.
These were my steps:
In Windows:
- Install Ubuntu WSL
- Install python and set path
- Install pip
- Install git for windows
- For convenience, I created symlink to my WSL Ubuntu home folder
In Ubuntu:
- Install git, make, python
- Install Arm toolchain, Ubuntu 16.04+
https://github.com/bitcraze/crazyflie-f ... bianubuntu
- Clone crazyflie-firmware:
https://github.com/bitcraze/crazyflie-firmware#cloning
- Compiling:
https://github.com/bitcraze/crazyflie-f ... #compiling
- Clone crazyflie-clients-python
In Windows:
- Install crazyflie clients
https://github.com/bitcraze/crazyflie-c ... ndows-7810
- Flash with Cfloader
https://wiki.bitcraze.io/doc:crazyflie: ... x#cfloader
CF loader seems to start correctly, I put the Roadrunner board in bootloader mode (should be the same as CF), but I get the following error:
Restart the Crazyflie you want to bootload in the next
10 seconds ...
Traceback (most recent call last):
File "c:\users\matej\appdata\local\programs\python\python36\lib\site-packages\cflib\drivers\crazyradio.py", line 119, in __init__
device = _find_devices()[devid]
IndexError: list index out of range
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\ubuntu\crazyflie-clients-python\src\cfloader\__init__.py", line 150, in main
if bl.start_bootloader(warm_boot=False):
File "c:\users\matej\appdata\local\programs\python\python36\lib\site-packages\cflib\bootloader\__init__.py", line 99, in start_bootloader
self._cload.open_bootloader_uri(uri)
File "c:\users\matej\appdata\local\programs\python\python36\lib\site-packages\cflib\bootloader\cloader.py", line 224, in open_bootloader_uri
self.link = cflib.crtp.get_link_driver(uri)
File "c:\users\matej\appdata\local\programs\python\python36\lib\site-packages\cflib\crtp\__init__.py", line 91, in get_link_driver
instance.connect(uri, link_quality_callback, link_error_callback)
File "c:\users\matej\appdata\local\programs\python\python36\lib\site-packages\cflib\crtp\radiodriver.py", line 191, in connect
address)
File "c:\users\matej\appdata\local\programs\python\python36\lib\site-packages\cflib\crtp\radiodriver.py", line 101, in __init__
_RadioManager._radios[self._devid] = _SharedRadio(self._devid)
File "c:\users\matej\appdata\local\programs\python\python36\lib\site-packages\cflib\crtp\radiodriver.py", line 70, in __init__
self.radio = Crazyradio(devid=devid)
File "c:\users\matej\appdata\local\programs\python\python36\lib\site-packages\cflib\drivers\crazyradio.py", line 121, in __init__
raise Exception('Cannot find a Crazyradio Dongle')
Exception: Cannot find a Crazyradio Dongle
Cannot find a Crazyradio Dongle
But, as a matter of fact, I cannot flash firmware even when using the cfclient windows app.
When I click on "Initiate bootloader cold boot" after a few seconds I get "Cannot find a crazyradio dongle".
During this, windows plays the sound as if a USB device was unplugged and replugged...
Any idea what could be going wrong?
Am on Win 10 ver 1903, and I use the libusb driver for the Crazyradio PA dongle...