Search found 659 matches

by marcus
Tue Mar 15, 2022 1:26 pm
Forum: AI-deck
Topic: GAP8 JTAG semihosting
Replies: 1
Views: 8034

Re: GAP8 JTAG semihosting

Hi! For the semi-hosting it might be that the settings in the project is set for UART, have a look in the Makefile where the following should be seen: io=host In most of the code now we have io=uart instead, like in the GAP8 bootloader ( link ). For more information on using the GAP8 with JTAG I thi...
by marcus
Mon Mar 14, 2022 9:33 am
Forum: AI-deck
Topic: aideck bootloader
Replies: 26
Views: 73017

Re: aideck bootloader

I'm not sure, but I think so. Have a look in the directories in BUILD to see if you can find the flash.img file.
by marcus
Mon Mar 14, 2022 7:26 am
Forum: AI-deck
Topic: aideck bootloader
Replies: 26
Views: 73017

Re: aideck bootloader

Hi! This is the firmware image file that's built with the GAP8 toolchain. It's located in the BUILD folder, but exactly what directly depends on what OS you're using. Here's the two paths I have: BUILD/GAP8_V2/GCC_RISCV_FREERTOS/flash.img # For FreeRTOS builds BUILD/GAP8_V2/GCC_RISCV_PULPOS/flash.im...
by marcus
Fri Mar 11, 2022 7:33 am
Forum: AI-deck
Topic: wifi_jpeg_streamer example issues
Replies: 10
Views: 18506

Re: wifi_jpeg_streamer example issues

I'm not sure, but I think the flash command is only for UART flashing, which isn't possible via the JTAG connector on the AI-deck. I would recommend using our docker container for this. The following command will flash the bootloader/app on the ESP32 with the Olimex USB Tiny-H: docker run --rm -it -...
by marcus
Fri Mar 11, 2022 7:30 am
Forum: AI-deck
Topic: Logging GAP8/ESP32
Replies: 6
Views: 13090

Re: Logging GAP8/ESP32

Hi! The change was made because we needed a clean commit for production. We're currently finalizing a new batch of AI-decks where we've replaced the old WiFi streamer example with the new code (for both ESP32 and GAP8). Having the UART output on IO1 would risk creating incompatibilities with other d...
by marcus
Tue Mar 08, 2022 3:36 pm
Forum: AI-deck
Topic: AI-deck GAP8 WiFi bootloader
Replies: 2
Views: 9354

AI-deck GAP8 WiFi bootloader

Hi all! We've been working a bit on the infrastructure for the AI-deck in order to make it a bit easier to use. One part of this work has been a GAP8 bootloader. The long term goal is to integrate this into the existing infrastructure of make cload and the python client deck updates. We're not there...
by marcus
Tue Mar 08, 2022 3:09 pm
Forum: AI-deck
Topic: wifi_jpeg_streamer example issues
Replies: 10
Views: 18506

Re: wifi_jpeg_streamer example issues

Hi! I've run into this issue, if I remember correctly it was when I bumped the SDK version where this file isn't included in the build. Could you double check that you're using the 3.8.1 version and also make clean before building? We've updated the examples today, so depending a bit on what you wan...
by marcus
Wed Feb 09, 2022 8:43 am
Forum: Quadcopters
Topic: Cutting the CF PCB
Replies: 1
Views: 8774

Re: Cutting the CF PCB

Hi!

Yes, cutting here will not break the board. There's no traces along the wings after the LED, only ground plane.
by marcus
Mon Jan 24, 2022 12:35 pm
Forum: AI-deck
Topic: Logging GAP8/ESP32
Replies: 6
Views: 13090

Re: Logging GAP8/ESP32

The easiest/quickest way to do this is to connect a USB-to-serial dongle to either the ESP32 UART or the GAP8 UART on the expansion connector (during development I've had two dongles, one for each). For the ESP32 the only option right now is to get the UART on IO1 on the expansion connector, unfortu...
by marcus
Tue Dec 21, 2021 1:34 pm
Forum: AI-deck
Topic: Question about demosaicing alogrithm
Replies: 3
Views: 9199

Re: Question about demosaicing alogrithm

Could you try to using this Ptyhon script on the raw image instead? This will use openCV to do the demosaicking. Do you get the same result? import numpy as np import cv2 img = np.fromfile("img.raw", dtype=np.uint8) print(img.size) img.shape = (244, 324) rgb = cv2.cvtColor(img, cv2.COLOR_B...