AI-deck GAP8 flash issue
Posted: Fri Nov 26, 2021 3:03 am
Hello,
Recently, I encountered an issue when flashing the GAP8 code onto the AI deck.
Background:
gap_sdk version 3.8.1 (locally installed on a clean Ubuntu 20.04)
Debugger:
brand new (1) JTAG ARM-USB-TINY-H (2) ARM JTAG 20-10 adapter (3) USB cable
The crazyflie is flashed with the lastest firmware online.
I am able to run the FaceDetection example and other customized code through JTAG wired connection.
However, when I flash the code onto the AI deck, the code doesn't seem to work.
For FaceDetection example, with wired connection, I can see the wifi stream with the detected face in a black box.
When I flash the code with "make image" and "make flash", I cannot see the wifi stream anymore and consequently, I cannot confirm if the code is working.
With the customized code, I set the GAP8 led to blink. However, after flashing onboard, the led doesn't blink (though the code works with wired connection)
During the flash process, I didn't see any errors in the terminal. (see the attachment)
My questions are
(1) Is there a way to validate if the code is running after flashing onboard?
(2) What could be the reason of causing this? Bootloader or hardware problem of the flash?
Looking forward to the reply.
Thanks in advance!
Recently, I encountered an issue when flashing the GAP8 code onto the AI deck.
Background:
gap_sdk version 3.8.1 (locally installed on a clean Ubuntu 20.04)
Debugger:
brand new (1) JTAG ARM-USB-TINY-H (2) ARM JTAG 20-10 adapter (3) USB cable
The crazyflie is flashed with the lastest firmware online.
I am able to run the FaceDetection example and other customized code through JTAG wired connection.
However, when I flash the code onto the AI deck, the code doesn't seem to work.
For FaceDetection example, with wired connection, I can see the wifi stream with the detected face in a black box.
When I flash the code with "make image" and "make flash", I cannot see the wifi stream anymore and consequently, I cannot confirm if the code is working.
With the customized code, I set the GAP8 led to blink. However, after flashing onboard, the led doesn't blink (though the code works with wired connection)
During the flash process, I didn't see any errors in the terminal. (see the attachment)
My questions are
(1) Is there a way to validate if the code is running after flashing onboard?
(2) What could be the reason of causing this? Bootloader or hardware problem of the flash?
Looking forward to the reply.
Thanks in advance!