Bootup off of the main Crazyflie

Discussions about the AI-deck
Post Reply
rachase
Beginner
Posts: 3
Joined: Wed Dec 09, 2020 1:58 am

Bootup off of the main Crazyflie

Post 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.
kimberly
Bitcraze
Posts: 700
Joined: Fri Jul 06, 2018 11:13 am

Re: Bootup off of the main Crazyflie

Post 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.
rachase
Beginner
Posts: 3
Joined: Wed Dec 09, 2020 1:58 am

Re: Bootup off of the main Crazyflie

Post 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.
kimberly
Bitcraze
Posts: 700
Joined: Fri Jul 06, 2018 11:13 am

Re: Bootup off of the main Crazyflie

Post 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 14 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"
rachase
Beginner
Posts: 3
Joined: Wed Dec 09, 2020 1:58 am

Re: Bootup off of the main Crazyflie

Post 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!
kimberly
Bitcraze
Posts: 700
Joined: Fri Jul 06, 2018 11:13 am

Re: Bootup off of the main Crazyflie

Post by kimberly »

Great! thanks for letting us know!
Post Reply