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