Question/Issue:
The edge-impulse-daemon --clean
command throws the following error, repeatedly:
Edge Impulse serial daemon v1.21.0
? What is your user name or e-mail address (edgeimpulse.com)? hsanderr
? What is your password? [hidden]
Endpoints:
Websocket: wss://remote-mgmt.edgeimpulse.com
API: https://studio.edgeimpulse.com
Ingestion: https://ingestion.edgeimpulse.com
? Which device do you want to connect to? COM9 (Microsoft)
[SER] Connecting to COM9
[SER] Serial is connected, trying to read config...
[SER] Failed to get info off device Timeout when waiting for > (timeout: 5000) onConnected
The last two lines are the ones that repeat. Thingy:91 exposes two serial ports and I have already tried both.
Project ID: 96183
Context/Use case:
I have already looked into other topics reporting the same issue and I have tried every solution that I found, but none works. I have already flashed the connectivity bridge .hex file into nRF52840 (the one avaiable in the project page as well as the one avaiable in the Nordic website), even though the hardware version is 1.6.0. I have tried flashing the .hex files using both MCUboot and external proble (through nRF9160 DK) methods. Curiously, after trying it over and over again, the MCUboot method stopped working and I cannot flash new .hex files via MCUboot anymore, the Programmer tells that “Transport was opened successfully” and then throws the error “Please make sure that the device is in MCUboot mode and try again”. I am pressing the SW3 while turning the device on and making sure that the “Enable MCUboot” option is checked. When I flash the connectivity bridge avaible in the project page, I cannot see the serial ports anymore and edge-impulse-daemon --clean
throws:
Edge Impulse serial daemon v1.21.0
? What is your user name or e-mail address (edgeimpulse.com)? hsanderr
? What is your password? [hidden]
Endpoints:
Websocket: wss://remote-mgmt.edgeimpulse.com
API: https://studio.edgeimpulse.com
Ingestion: https://ingestion.edgeimpulse.com
[SER] Could not find any devices connected over serial port
[SER] Retrying in 5 seconds
When I run edge-impulse-run-impulse --raw
, the following logs are thrown:
Edge Impulse impulse runner v1.21.0
? Which device do you want to connect to? COM10 (Microsoft)
[SER] Connecting to COM10
[SER] Connected to COM10
The same happens for both serial ports.
When I run edge-impulse-data-forwarder
, the following logs are thrown:
Edge Impulse data forwarder v1.21.0
Endpoints:
Websocket: wss://remote-mgmt.edgeimpulse.com
API: https://studio.edgeimpulse.com
Ingestion: https://ingestion.edgeimpulse.com
? Which device do you want to connect to? COM9 (Microsoft)
[SER] Connecting to COM9
[SER] Serial is connected (TH:IN:GY:91:_E:A6:E0:74:16:51:7)
[WS ] Connecting to wss://remote-mgmt.edgeimpulse.com
[WS ] Connected to wss://remote-mgmt.edgeimpulse.com
? To which project do you want to connect this device? henrique / Thingy:91 Predictive Maintenance
[SER] Detecting data frequency...
[SER] Failed to get information off device No valid sensor readings received from device. Note that the data forwarder can only auto-detect frequencies >2Hz. You can override the frequency via --frequency.
The same happens to both serial ports.
I have already tried running the commands on Command Prompt and on Windows Powershell.
Windows version: Windows 11 Home Single Language 22H2
nRF Programmer version: v3.0.9
Also, I cannot find where to select “Accelerometer data” after creating the project.