-
Notifications
You must be signed in to change notification settings - Fork 113
Open
Labels
Description
Describe the bug
Cannot connect to RT1062 with openMV IDE when script is running. Instead, "Busy... please wait... " is displayed indefinitely (I waited >5 min)
To Reproduce
- insert an SD card into the RT1062
- connect the RT1062 to the openMV IDE, open the example script for advanced FD on memory
- add this to the script for diagnostics
import os
from machine import LED
if not "triggered" in os.listdir():
os.mkdir("triggered") # Make a directory for triggered images
and at the end:
if triggered:
LED("LED_GREEN").on()
img.save("triggered/img.bmp")
LED("LED_GREEN").off()
- save script to openMV and disconnect the RT1062 from IDE, unplug
- plug the RT1062 back into the computer to power the board, wait for the script to run as indicated by green LED
- try to connect through the IDE → “Busy... please wait...”
Workarounds
-unplug and replug the board, and click "connect" in the IDE right after the connection button becomes available the second time (within a second or so on Ubuntu, right after the SD card is detected by the system)
-introduce a delay (e.g. time.sleep_ms(5000)) for the user to have time to connect the IDE to the board before the script proceeds
Expected behavior
The IDE interrupts the running script and connects to the board
Screenshots
Please complete the following information
- IDE version: 4.7.0
- Firmware version: 4.7.0
- Board: RT1062
- OS: Ubuntu