I am flashing from bitcrazeVM after downloading pre-compiled version
cf2-kalman-2017.05.bin
from github (a la direction from "arnaud" in another post).
I am getting "data too big to falsh" when I flash thru crazyradio.
(1)
python3 usbtools/nrfbootload.py flash crazyflie-firmware/cf2-kalman-2017.05.bin
Found nRF24LU1 bootloader version 18.0
Flashing:
Flashing 197292 bytes...
Traceback (most recent call last):
File "usbtools/nrfbootload.py", line 135, in <module>
if bl.write(fileData):
File "/home/bitcraze/projects/crazyradio-firmware/usbtools/NrfUsbBootloader.py", line 124, in write
raise Exception("Data to be written too big!")
Exception: Data to be written too big!
Sorry, if this has been resolved, but I couldn't find a post addressing this issue.
Thanks for your help
Satya
CF2-Kalman-2017-05.bin too big to flash
Re: CF2-Kalman-2017-05.bin too big to flash
Are you maybe trying to flash a Crazyflie 1.0?
Re: CF2-Kalman-2017-05.bin too big to flash
No. I was flashing cf2-kalman-2017.05.bin. Actually, the unzip produced the following:
-rw-r--r-- 1 bitcraze bitcraze 90260 Mai 29 2017 cf1-2017.05.bin
-rw-r--r-- 1 bitcraze bitcraze 210396 Jan 23 2018 cf2-2018.01.1.bin
-rw-r--r-- 1 bitcraze bitcraze 197292 Mai 29 2017 cf2-kalman-2017.05.bin
-rw-r--r-- 1 bitcraze bitcraze 61528 Mai 29 2017 cf2_nrf-2017.05.bin
-rw-r--r-- 1 bitcraze bitcraze 61852 Jan 23 2018 cf2_nrf-2018.01.bin
My power switch is broke now. Need to replace it before I try any flashing.
Is there a flag to specify the size of the file for the bootloader? 197kb is too large for it, it looks like.
-rw-r--r-- 1 bitcraze bitcraze 90260 Mai 29 2017 cf1-2017.05.bin
-rw-r--r-- 1 bitcraze bitcraze 210396 Jan 23 2018 cf2-2018.01.1.bin
-rw-r--r-- 1 bitcraze bitcraze 197292 Mai 29 2017 cf2-kalman-2017.05.bin
-rw-r--r-- 1 bitcraze bitcraze 61528 Mai 29 2017 cf2_nrf-2017.05.bin
-rw-r--r-- 1 bitcraze bitcraze 61852 Jan 23 2018 cf2_nrf-2018.01.bin
My power switch is broke now. Need to replace it before I try any flashing.
Is there a flag to specify the size of the file for the bootloader? 197kb is too large for it, it looks like.
Re: CF2-Kalman-2017-05.bin too big to flash
That is strange because the STM32 flash is 1MB. If you flash using the cfclient you should select the zip file, could that be the problem?
Re: CF2-Kalman-2017-05.bin too big to flash
Yes, that could be the problem: I was flashing the kalman binary ---
python3 usbtools/nrfbootload.py flash crazyflie-firmware/cf2-kalman-2017.05.bin
I will try the zip file as you suggest. Thanks a lot.
I will have to wait till the crazylie switches arrive, though, to fix the power switch.
Cheers
python3 usbtools/nrfbootload.py flash crazyflie-firmware/cf2-kalman-2017.05.bin
I will try the zip file as you suggest. Thanks a lot.
I will have to wait till the crazylie switches arrive, though, to fix the power switch.
Cheers