Due to some projects I was doing, I ended by flashing other codes in my quadcopter. However, I was able to reflash the .elf(using make flash) that was already created in my VM (I haven't recompiled this one), but now I need to make some changes in the firmware but I'm not being able to correctly reflash.
Doing: make, and then make flash, I get no errors and it seems to flash the .elf in the quadcopter, however it doesn't work as it should. Only the Blue LED is on and there are no tests.
I also get these in the make flash:
Code: Select all
Error: stm32f1x.cpu -- clearing lockup after double fault
target state: halted
target halted due to debug-request, current mode: Handler HardFault
xPSR: 0x00000003 pc: 00000000 msp: 0x464c4554
Polling target failed, GDB will be halted. Polling again in 100ms
shutdown command invoked
Polling succeeded again
Code: Select all
python ../pc_util/crazyclient/crazyload.py flash cflie.bin
python: can't open file '../pc_util/crazyclient/crazyload.py': [Errno 2] No such file or directory
make: *** [cload] Error 2
Someone has some idea about what I'm doing wrong or what I should do to be able to correct flash the crazyflie-firmware?
Thank you!