Seeed-Studio / Seeed_Arduino_GroveAI

Arduino library for Grove Vision AI
MIT License
23 stars 10 forks source link

Unable to flash edge impulse firmware #4

Closed just4give closed 3 weeks ago

just4give commented 1 year ago

Hi, My goal here is to use edge impulse FOMO and get the count of objects on Wio Terminal. In order to do that, I was following this link to prepare Grove Vision AI. I was able to update BL702 chip firmware. Below is the information from INFO_UF2 file

TinyUF2 Bootloader v1.4.0-2-g1afa03a-dirty - bouffalolab/bl_mcu_sdk (V1.4.3-8-g8742503a) sfud (heads/master) tinyusb (heads/port-bouffalolab-bl70x)
Model: Seeed Studio Grove AI
Board-ID: Grove AI
Date: Dec 16 2022

After that when I am trying to upload edge impulse firmware, I am unable to do that. Please see the screenshot below. Screenshot 2023-03-26 200934

As you can imagine as I was not able to flash edge impulse firmware, daemon could not fetch the configuration to connect to EI studio. Please see the screenshot below. Screenshot 2023-03-26 201904

Expected behavior I should be able to update edge impulse daemon and connect to edge impulse studio.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

just4give commented 1 year ago

I was trying to go back to as it was and updated boot loader to 2.0.0 as per instruction on wiki . INFO_UF2 confirms that.

TinyUF2 Bootloader v2.0.0 - bouffalolab/bl_mcu_sdk (V1.4.3-8-g8742503a) sfud (heads/master) tinyusb (heads/port-bouffalolab-bl70x)
Model: Seeed Studio Grove Vision AI
Board-ID: Grove Vision AI
Date: Mar 22 2023

Then I restored factory firmware by following the wiki

Then I flashed person_detection_pre_17.uf2 , connected Vision module to Wio Terminal I2C port and flashed below this program. But code froze at line

if (ai.begin(ALGO_OBJECT_DETECTION, MODEL_EXT_INDEX_1)) 

Does this indicate my Vision AI module is not functional anymore?

limengdu commented 1 year ago

Hello, some time ago, due to the Windows 11 update, we found that some users were unable to upload firmware. We have fixed the problem last week and updated the Wiki content. For your problem, we suggest you can try to update Vision firmware and BootLoader firmware first according to the Wiki instructions and then retry (https://wiki.seeedstudio.com/Grove-Vision-AI-Module#restore-factory-firmware). If there are still problems, please contact our technical support email (techsupport@seeed.io) to deal with the solution so that we can follow up and reply to your questions as soon as possible, thank you for your support and understanding.

StreakingJerry commented 1 year ago

Hi, I have encountered the same problem with tinyuf2-grove_vision_ai_v2.0.1.bin. Not only the Edge Impulse firmware, but none of the firmware can be uploaded. My OS is Windows 10. Would you mind uploading the 2.0.0 version so that I can test it? Thank you so much.

camow7 commented 1 year ago

I got the Vision Ai module and have the same issue. I follow the Wiki and can update bootloader to the latest but get the same problem as described here when trying to copy firmware on Windows 11.

davidr99 commented 11 months ago

I am also having the same issue. Has anyone found a fix for this on Windows 11?

LynnL4 commented 1 month ago

It looks like the old bootloader version is causing firmware flashing errors on Windows 11. Please try the following steps:

Restore the factory firmware using this link: [Factory Firmware Restoration Link] After that, upgrade the bootloader to the latest version. Let us know if you need any help!

https://wiki.seeedstudio.com/Grove-Vision-AI-Module/#exception-processing

Lesords commented 3 weeks ago

Hello,

I\'m going to close this issue, feel free to re-open it if you have any other questions.

[Autocommentary]