Issue when flashing AI deck and crazyflie firmware
Posted: Thu Feb 04, 2021 3:43 pm
Hello!
I'm trying to run the example "uart-send-char", so i flashed the CF firmware forcing the driver of the AI-deck, then i compile the example and run "make image flash", my goal here is to print the character that the AI deck writes on the UART (i put a DEBUG_PRINT in the ai deck driver).
The problem is that if I do things in this order, while flashing the image on the AI deck, i receive these errors:
I noticed that if i turn off the cf and then boot it up some seconds later i can flash the image normally, however once I do that, i am unable to connect to the crazyflie using the cfclient.
I can see the interface, but when i click on "Connect" it tries to connect forever without success.
The terminal however shows that the connection is indeed occurred
So it seems that I'm messing something up when flashing one of either components, could somebody give me some suggestions?
Thanks in advance.
GAP_SDK version: 3.8.1
OS: Ubuntu 20.04 / 18.04
Cable: olimex-arm-usb-tiny-h
I'm trying to run the example "uart-send-char", so i flashed the CF firmware forcing the driver of the AI-deck, then i compile the example and run "make image flash", my goal here is to print the character that the AI deck writes on the UART (i put a DEBUG_PRINT in the ai deck driver).
The problem is that if I do things in this order, while flashing the image on the AI deck, i receive these errors:
Code: Select all
Error: JTAG scan chain interrogation failed: all ones
Error: Check JTAG interface, timings, target power, etc.
Error: Trying to use configured scan chain anyway...
Error: gap8.cpu: IR capture error; saw 0x0f not 0x01
Warn : Bypassing JTAG setup events due to errors
GAP8 examine target
Init jtag
Initialising GAP8 JTAG TAP
Info : adv debug unit is configured with option BOOT MODE JTAG
Info : adv debug unit is configured with option ADBG_USE_HISPEED
Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
Warn : CRC ERROR! Computed 0x00000000, read CRC 0xffffffff
I can see the interface, but when i click on "Connect" it tries to connect forever without success.
The terminal however shows that the connection is indeed occurred
Code: Select all
INFO:cflib.crazyflie:Callback->Connection initialized[radio://0/80/2M]
INFO:cflib.crazyflie:We are connected[radio://0/80/2M], request connection setup
INFO:cflib.crazyflie:Callback->Connected to [radio://0/80/2M]
Thanks in advance.
GAP_SDK version: 3.8.1
OS: Ubuntu 20.04 / 18.04
Cable: olimex-arm-usb-tiny-h