Seeed-Studio / Seeed_Arduino_GroveAI

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

Trying to update to tinyuf2-grove_vision_ai_v2.0.1.bin #7

Closed davidr99 closed 11 months ago

davidr99 commented 1 year ago

Describe the bug I am getting a stack overflow error when trying to upgrade the firmware. Mine shipped with the oldest firmware.

[22:16:53.433] - Flash load shake hand [22:18:45.713] - efuse_flash_loader fail [22:18:45.714] - exception: stack overflow Traceback (most recent call last): File "libs\bflb_eflash_loader.py", line 2172, in efuse_flash_loader File "libs\bflb_eflash_loader.py", line 2653, in efuse_flash_loader_do File "libs\bflb_eflash_loader.py", line 713, in efuse_read_mac_addr_process File "libs\bflb_eflash_loader.py", line 516, in img_load_shake_hand File "libs\bflb_interface_uart.py", line 69, in if_init OSError: exception: stack overflow

Error: {"ErrorCode":"FFFF", "ErrorMsg":"BFLB BURN RETRY FAIL"}

To Reproduce Steps to reproduce the behavior:

  1. Open Bouffalo Lab Dev Cube 1.6.6
  2. Select the MCU
  3. Select COM Port
  4. Open UART
  5. Create & Program

Current bootloader info: TinyUF2 Bootloader 2d5b48b - bouffalolab/bl_mcu_sdk (V1.4.3-8-g8742503a) sfud (heads/master) tinyusb (remotes/origin/port-bouffalolab-bl70x) Model: Seeed Studio Grove AI Board-ID: Grove AI Date: Aug 23 2022

Expected behavior To get a success.

Desktop (please complete the following information):

Additional context I am not able to upload the Edge Impulse firmware.uf2 thought the boot drive.

LynnL4 commented 1 year ago

Hi,

davidr99 commented 1 year ago

Thanks for the advice that fixed the upload issue from Bouffalo Lab Dev Cube. I removed the USB HUB and it uploaded. Now I am just trying to get it to load the firmware.uf2. Every time I upload it the bar never moves and then it resets its self and says image

This happens for any of the firmware's (grove_ai_v02-00.uf2)

davidr99 commented 11 months ago

I have resolved this issue.