Code: Select all
fyh@A:~/crazyswarm/crazyflie-firmware$ make cload
python3 -m cfloader flash cf2.bin stm32-fw
Restart the Crazyflie you want to bootload in the next
10 seconds ...
done!
Connected to bootloader on Crazyflie 2.0 (version=0x10)
Target info: nrf51 (0xFE)
Flash pages: 232 | Page size: 1024 | Buffer pages: 1 | Start page: 88
144 KBytes of flash available for firmware image.
Target info: stm32 (0xFF)
Flash pages: 0 | Page size: 0 | Buffer pages: 0 | Start page: 0
0 KBytes of flash available for firmware image.
Flashing 1 of 1 to stm32 (fw): Error: Not enough space to flash the image file.
Traceback (most recent call last):
File "/home/fyh/crazyswarm/crazyflie-clients-python/src/cfloader/__init__.py", line 179, in main
bl.flash(filename, targetnames)
File "/home/fyh/.local/lib/python3.6/site-packages/cflib/bootloader/__init__.py", line 208, in flash
self._internal_flash(target, file_counter, len(files_to_flash))
File "/home/fyh/.local/lib/python3.6/site-packages/cflib/bootloader/__init__.py", line 285, in _internal_flash
raise Exception()
Exception