I've created my own custom firmware by following the guide:
https://www.bitcraze.io/documentation/r ... ystemtask/
I followed this guide to a T except I replaced any word "example" with "pairing". after doing this, the makefile successfully runs, however when I run
Make cload
it will fail with the following message:
Code: Select all
bitcraze@ubuntu:~/Desktop/projects/crazyflie-firmware$ make cload
python3 -m cfloader flash cf2.bin stm32-fw
Restart the Crazyflie you want to bootload in the next
10 seconds ...
Failed to flash: 'NoneType' object has no attribute 'group'
EDIT: I imported traceback and have it here:
Code: Select all
bitcraze@ubuntu:~/Desktop/projects/crazyflie-firmware$ make cload
python3 -m cfloader flash cf2.bin stm32-fw
Restart the Crazyflie you want to bootload in the next
10 seconds ...
Failed to flash: 'NoneType' object has no attribute 'group'
Traceback (most recent call last):
File "/home/bitcraze/projects/crazyflie-clients-python/src/cfloader/__init__.py", line 155, in main
bl.flash_full(None, filename, warm_boot, targets)
File "/home/bitcraze/projects/crazyflie-lib-python/cflib/bootloader/__init__.py", line 207, in flash_full
if not self.start_bootloader(warm_boot=warm, cf=cf):
File "/home/bitcraze/projects/crazyflie-lib-python/cflib/bootloader/__init__.py", line 105, in start_bootloader
uri = self._cload.scan_for_bootloader()
File "/home/bitcraze/projects/crazyflie-lib-python/cflib/bootloader/cloader.py", line 86, in scan_for_bootloader
res = link.scan_selected(self._available_boot_uri)
File "/home/bitcraze/projects/crazyflie-lib-python/cflib/crtp/radiodriver.py", line 362, in scan_selected
one_to_scan['channel'] = int(uri_data.group(4))
AttributeError: 'NoneType' object has no attribute 'group'
'NoneType' object has no attribute 'group'
How can I troubleshoot this further? is there something not shown in the guide above that I need to do?