Page 1 of 1

Bootup off of the main Crazyflie

Posted: Wed Dec 09, 2020 2:09 am
by rachase
I am trying to boot up the ai-deck on its own, without the the main crazyflie board. On power up, I am seeing the green led next to the ESP chip blinking fast, and the green led next to the gap8 blink at a slower rate. Im not seeing the wifi SSID to connect to (Im assuming its running the jpeg example?) Is there something else I need to do to get it to boot? (Pin IO / pass a string to the rx input, etc?).

Thanks.

Re: Bootup off of the main Crazyflie

Posted: Wed Dec 09, 2020 8:53 am
by kimberly
Hi!

It depends on where you got the AIdeck from, but it might be that the demo firmware has not been flashed correctly. You are supposed to see the SSID 'Bitcraze AI-deck Example' (see the documentation here: https://github.com/bitcraze/AIdeck_exam ... aster/docs)

If not then I'm afraid that you would need to flash the demo firmware yourself. So that means both the NINA and the GAP8:

- NINA: https://github.com/bitcraze/AIdeck_exam ... uctions.md
- GAP8: https://github.com/bitcraze/AIdeck_exam ... treamer.md

I would highly recommend using the docker images for both chips. There are instructions in the documentation for that too.

Re: Bootup off of the main Crazyflie

Posted: Wed Dec 09, 2020 5:39 pm
by rachase
I dont see the compilied binaries posted, are they somewhere I am not looking?

If they are not posted, can you post them in a git repo? It would be nice to be able to flash the board with the demo's without going through the compile process.

Re: Bootup off of the main Crazyflie

Posted: Thu Dec 10, 2020 9:21 am
by kimberly
That is unfortunately not the intention of the repository but i will discuss it with the others here. For the GAP8 you still need the special openocd of Greenwaves and some extra dependencies so that is not straightforward. I would say that it is still easier to build the gapsdk with a docker container is still the easiest way: https://github.com/bitcraze/AIdeck_exam ... er-gap8.md

Here are the flash instructions with openocd for the NINA, but please double check your programmer .cfg file.

Nina
nina_build_files.zip
(377.28 KiB) Downloaded 102 times

Code: Select all

openocd -f interface/ftdi/olimex-arm-usb-ocd-h.cfg -f board/esp-wroom-32.cfg -c "program_esp32 partitions_singleapp.bin 0x8000 verify" -c "program_esp32 bootloader.bin 0x1000 verify" -c "program_esp32 ai-deck-jpeg-streamer-demo.bin 0x10000 verify reset exit"

Re: Bootup off of the main Crazyflie

Posted: Thu Dec 10, 2020 8:12 pm
by rachase
Ok, no worries. Sometimes its easier to just dump a binary to chip without having to build it.

I did get it to compile and run. Thanks!

Re: Bootup off of the main Crazyflie

Posted: Fri Dec 11, 2020 9:51 am
by kimberly
Great! thanks for letting us know!