Problem Connecting SiLabs xG24 board

Hello! I just set up my Edge Impulse account today and I’m trying to create a gesture recognition project. I’m unable to connect my SiLabs xG24 board to my project after following the steps outlined in the official documentation.

Currently, I have done the following:

  1. I flashed the latest Edge Impulse firmware to my microcontroller and confirmed that it flashed successfully and that my board is broadcasting.
  2. I downloaded all of the software required for Edge Impulse CLI.
  3. I ran the required script(s).

I’ve included the results I was seeing in the command terminal below. I get this code every time I run the required scripts.

My project ID is 953115 and I am using a Windows 11 OS.

My command terminal results are below:

C:\Users\Kailey>edge-impulse-daemon
Edge Impulse serial daemon v1.37.3
Endpoints:
    Websocket: wss://remote-mgmt.edgeimpulse.com
    API:       https://studio.edgeimpulse.com
    Ingestion: https://ingestion.edgeimpulse.com

[SER] Connecting to COM3
[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

Result of trying to run daemon code

C:\Users\Kailey>npm install -g edge-impulse-cli --force
npm warn using --force Recommended protections disabled.
npm warn deprecated @zeit/dockerignore@0.0.5: "@zeit/dockerignore" is no longer maintained
npm warn deprecated npmlog@4.1.2: This package is no longer supported.
npm warn deprecated are-we-there-yet@1.1.7: This package is no longer supported.
npm warn deprecated prebuild-install@7.1.3: No longer maintained. Please contact the author of the relevant native addon; alternatives are available.
npm warn deprecated prebuild-install@5.3.6: No longer maintained. Please contact the author of the relevant native addon; alternatives are available.
npm warn deprecated @xmldom/xmldom@0.8.10: this version has critical issues, please update to the latest version
npm warn deprecated gauge@2.7.4: This package is no longer supported.
npm warn deprecated tar@6.2.1: Old versions of tar are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
npm warn deprecated glob@10.5.0: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me

changed 506 packages in 34s

47 packages are looking for funding
  run `npm fund` for details

Results I got when I ran code to install additional tools for node.js

Any help would be appreciated! Thank you!

Hi @KCoats
Could you try to open the serial port with any serial terminal or edge-impulse-serial-terminal like:

edge-impulse-serial-terminal --device COM3

After opening, try to hit ENTER or type HELP? and hit ENTER, and check if you get some human-readable output.

BR,
Matt

Hi @mateusz

Thank you so much! I ran the command you sent in Command Prompt and got the following output:

[SER] Connecting to COM3 (via --device) (baud rate 115200)
[SER] Connected to COM3. Press CTRL+D to quit.

[SER] Received CTRL+D, disconnecting...

After initially running the command, I tried pressing other keys such as ENTER and I also tried typing HELP>, but I received no output. The only command that registered was CTRL+D.

If you have any further suggestions or tests I should try I would really appreciate it!

Thank you!

Kailey

Hi @KCoats
It looks like the firmware is not starting. Could you try to reflash it once again?
I will try to reproduce on my end as well to confirm.

BR,
Matt

Hi @mateusz

I reflashed the firmware file (firmware-xg24.hex downloaded from the documentation) using the flash tool in Simplicity Studio. I tried rerunning the initial command you sent me and I got the same result. I’ve included a screenshot of the flash map in case that might help identify the problem.

Screenshot (1)

Thank you!

Kailey

Hi @KCoats
One more test that you can do is to deploy any project (simple gesture recognition or something) from Studio in the form of xG24 firmware. It also has all ingestion features built in, so that way you can check if our pre-built firmware is faulty or not.

Best regards,
Matt

@KCoats
I just checkd and the pre-built firmware works ok.
I flashed my board using Simplicity Commander. Then I checked with picocom:

$ picocom --imap=lfcrlf -b 115200 /dev/tty.usbmodem0004402510491
picocom v3.1

port is        : /dev/tty.usbmodem0004402510491
flowcontrol    : none
baudrate is    : 115200
parity is      : none
databits are   : 8
stopbits are   : 1
escape is      : C-a
local echo is  : no
noinit is      : no
noreset is     : no
hangup is      : no
nolock is      : no
send_cmd is    : sz -vv
receive_cmd is : rz -vv -E
imap is        : lfcrlf,
omap is        :
emap is        : crcrlf,delbs,
logfile is     : none
initstring     : none
exit_after is  : not set
exit is        : no

Type [C-a] [C-h] to see available commands
Terminal ready
> AT+HELP
AT Server
Command set version: 1.7.0
Arguments in square brackets are optional, eg.:
AT+CMD=arg1,[arg2]

AT+HELP
	Lists all commands
(...)

Then I checked with edge-impulse-daemon and work ok.
What exact board version do you have?
Can you check with some serial terminal (I tried edge-impulse-serial-terminal on my Mac, but it hangs, checking with the team what is happening). You can try something like RealTerm or PuTTY.

BR,
Matt