I'm new to the crazyflie development environment and my device is the crazyflie nano 1.0. I am attempting to flash the new firmware using Eclipse but for some reason the flash doesn't seem to want to override the per-existing firmware. Here's the error code that comes up
Code: Select all
<06:02:17 **** Build of configuration Default for project 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 Nano Quadcopter (1.0) (version=0x1)
Target info: stm32 (0xFF)
Flash pages: 128 | Page size: 1024 | Buffer pages: 10 | Start page: 10
118 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/bitcraze/projects/crazyflie-clients-python/src/cfloader/__init__.py", line 179, in main
bl.flash(filename, targetnames)
File "/home/bitcraze/.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/bitcraze/.local/lib/python3.6/site-packages/cflib/bootloader/__init__.py", line 285, in _internal_flash
raise Exception()
Exception
06:02:33 Build Finished. 0 errors, 0 warnings. (took 16s.28ms)>