Question/Issue:
I cannot connect to my Arduino Nicla Vision after flashing it
Project ID:
Beers240x240
Context/Use case:
Running an object recognition model on an Arduino Nicla Vision.
Steps Taken:
I built an Impulse for the Arduino Nicla Vision (Cortex M7 480 Mhz) and built it as a binary for a fully supported board.
I downloaded the binary and flashed it.
The flash appeared to work (despite a warning about the Arduino CLI version).
When I try to connect to the Nicla using either edge-impulse-daemon or edge-impulse-run-impulse it fails to read the config from the device.
Expected Outcome:
Expected to see some objects recognized and some others not.
Actual Outcome:
Never got to test the Impulse because of connectivity issue.
Reproducibility:
- [ ] Always - tried many times
Environment:
-
**Platform:**Arduino Nicla Vision
-
Build Environment Details:
-
OS Version: Windows 11
-
Edge Impulse Version (Firmware): [e.g., 1.2.3]
-
To find out Edge Impulse Version:
-
if you have pre-compiled firmware: run edge-impulse-run-impulse --raw and type AT+INFO. Look for Edge Impulse version in the output.
Edge Impulse impulse runner v1.37.2
AT+INFO does not generate any response, although it connected without an error message -
Edge Impulse CLI Version: How do I find this?
-
Project Version: 1.0
-
Custom Blocks - Impulse Configuration: [Describe custom blocks used or impulse configuration]
Logs-Attachments:
******* Flashed the EdgeImpulse Code *******
******* You cannot get Arduino CLI 0.18.x anymore *****************
You’re using an untested version of Arduino CLI, this might cause issues (found: 1.4.1, expected: 0.18.x
You’re using an untested version of Arduino CLI, this might cause issues (found: 1.4.1, expected: 0.18.x
Finding Arduino Mbed core…
arduino:mbed_nicla 4.5.0 4.5.0 Arduino Mbed OS Nicla Boards
Finding Arduino Mbed core OK
Finding Arduino Nicla Vision…
Finding Arduino Nicla Vision OK at COM12
dfu-util 0.10-dev
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2021 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to…
Opening DFU capable USB device…
Device ID 2341:035f
Device DFU version 011a
Claiming USB DFU Interface…
Setting Alternate Interface #0 …
Determining device status…
DFU state(2) = dfuIDLE, status(0) = No error condition is present
DFU mode device DFU version 011a
Device returned transfer size 4096
DfuSe interface name: "Internal Flash "
Downloading element to address = 0x08040000, size = 386172
Erase [=========================] 100% 386172 bytes
Erase done.
Download [======================== ] 96% 372736 bytesWarning: Invalid DFU suffix signature
A valid DFU suffix will be required in a future dfu-util release
Download [=========================] 100% 386172 bytes
Download done.
File downloaded successfully
Transitioning to dfuMANIFEST state
New upload port: COM12 (serial)
Flashed your Arduino Nicla Vision development board
To set up your development with Edge Impulse, run ‘edge-impulse-daemon’
To run your impulse on your development board, run ‘edge-impulse-run-impulse’
Press any key to continue . . .
**************** Tried to Run daemon ***********************
C:\Users\dakim>edge-impulse-daemon
Edge Impulse serial daemon v1.37.2
? What is your user name or e-mail address (edgeimpulse.com)?xxxxx
? What is your password? [hidden]
Endpoints:
Websocket: xxxxx
API: yyyyyy
Ingestion: zzzzzz
? Which device do you want to connect to? (
type to search) COM12
[SER] Connecting to COM12
[SER] Serial is connected, trying to read config…
[SER] Failed to get info off device Timeout when waiting for > (timeout: 5000) onConnected
[SER] Serial is connected, trying to read config…
[SER] Failed to get info off device Timeout when waiting for > (timeout: 5000) onConnected
[SER] Serial is connected, trying to read config…
[SER] Failed to get info off device Timeout when waiting for > (timeout: 5000) onConnected
[SER] Serial is connected, trying to read config…
[SER] Failed to get info off device Timeout when waiting for > (timeout: 5000) onConnected
[SER] Serial is connected, trying to read config…
^C
*************** Tried to run my impulse *********************
C:\Users\dakim>edge-impulse-run-impulse
Edge Impulse impulse runner v1.37.2
? Which device do you want to connect to? (
type to search) COM12
[SER] Connecting to COM12
[SER] Serial is connected, trying to read config…
[SER] Failed to get info off device:undefined. Is this device running a binary built through Edge Impulse? Reconnecting in 5 seconds…
[SER] Serial is connected, trying to read config…
[SER] Failed to get info off device:undefined. Is this device running a binary built through Edge Impulse? Reconnecting in 5 seconds…
[SER] Serial is connected, trying to read config…
C:\Users\dakim>
C:\Users\dakim>edge-impulse-run-impulse --raw
Edge Impulse impulse runner v1.37.2
? Which device do you want to connect to? (
type to search) COM12
[SER] Connecting to COM12
[SER] Connected to COM12
AT+INFO
^C
C:\Users\dakim>
Additional Information:
[Any other information that might be relevant]