Re first question, yes, both LEDs are slowly blinking.
Re second question, what I am trying to do is an OA firmware update via the cfloader. To do so, I enter bootloader mode, were both LEDs (M2 and M3) are blinking in blue. Then, I try to flash he firmware via
Code: Select all
bin/cfloader flash cf2.bin stm32-fw
and the terminal output is always
Code: Select all
Restart the Crazyflie you want to bootload in the next
10 seconds ...
Cannot connect the bootloader!
The strange thing is that during this 10 seconds the M4 green LED is constantly blinking which, as far as I know, it means that data is being received by the crazyflie.
This led me to think that maybe the problem was in the bootloader so I tried reflashing it both via dfu-util
Code: Select all
sudo dfu-util -d 0483:df11 -a 0 -s 0x08000000 -D cf2loader-1.0.bin
and via SWD with the command
Although both operations finish without errors, none of them solved the problem. However, if I try any of the previous solutions (DFU or SWD) with another board,everything works as expected and I am able to flash both the nrf51 and the stm32 firmwares OA.
At this point, and since the other board works as expected, I am starting to think that I have some faulty hardware.
Some other tests that I ran and that might help in diagnosing the issue are:
- After flashing the firmware on the stm32, if I perform a scan searching for crazyflies the M4 LED turns red for a fraction of a second, but the green LED in the radio never lights up.
- Flashing the stm32 firmware in DFU mode or via SWD does not change the behavior of the crazyflie. Although both procedures succeed, flashing it by any of the two methods always results in the same behavior.
- After flashing the firmware, I am able to detect the crazyflie with the client if I connect it via USB to the PC. However, the cazyflie is unresponsive (the orientation viewer in the client never gets updated)
- When powering the crazyflie the M1 LED on the never lights up. The M4 LED blinks in red and green and then turns off and the M3 and M2 LEDs present a solid blue.
Any other ideas that I might have overlooked? Or am I right in thinking it might just be a hardware issue?
Again, thanks for your help.