UNO Q STM32U585 flashing failure with Zephyr

Anyone able to sucessfully flash edge impulse example on UNO Q?

west flash -r openocd

Facing below error with above command:

  • west flash: using runner openocd
    -- runners.openocd: Flashing file: /home/edge_impulse/zephyrproject/example-standalone-inferencing-zephyr-module/build/zephyr/zephyr.hex
    Open On-Chip Debugger 0.12.0-01018-gb89d626c6 (2025-08-15-10:01)
    Licensed under GNU GPL v2
    For bug reports, read
    OpenOCD: Bug Reporting
    Error: Debug Adapter has to be specified, see "adapter driver" command

FATAL ERROR: command exited with status 1: /home/zephyr-sdk-0.17.4/sysroots/x86_64-pokysdk-linux/usr/bin/openocd -s /home/zephyr-sdk-0.17.4/sysroots/x86_64-pokysdk-linux/usr/share/openocd/scripts -c 'gdb_report_data_abort enable' '-c init' '-c targets' -c 'reset init' -c 'flash write_image erase /home/edge_impulse/zephyrproject/example-standalone-inferencing-zephyr-module/build/zephyr/zephyr.hex' -c 'reset run' -c shutdown

Please explain in plain text -- what is this?

I am trying to run example given by edge impulse (see above link) and it’s getting failed at flashing stage.

If I would get your description about "flash edge impulse', I could compare it wit what the AIs are speaking about?

Hi @pravijet ,
Welcome to the forum..
no, I've never dabbled in any of this..
I advise to make sure you unoQ is listed in adb devices, step 1..
Sounds like your west terminal did not use the Debug bridge you also had opened in the other terminal..
You did have 2 terminals opened, Debug bridge started on one and using the other for west??

strange.. ~q

What is the differece between Router Bridge and Debug Bridge?

night and day..
they are not related at all to each other besides each having bridge in their name..
The Debug Bridge is what Edge Impulse is utilizing to upload..
they are not using AppLab not even sure if Arduino is in use either and it seems quite complicated to follow..
It is all explained in the link dropped in post#1..
~q

Please go through below link to understand in detail about flashing example. Arduino Uno Q - Zephyr Module - Edge Impulse Documentation

I wished to read few lines summary in your text.

Hi @qubits-us,

Thanks for your response. Yes, I have two terminals open—one for the debug bridge and another for flashing using west, as mentioned in the Edge Impulse documentation. However, I still get the error mentioned at the beginning of the post.

Thanks,
Pravin

@GolamMostafa/@qubits-us can you guys try this running this example from your end to see if it works?

sorry I am in no way setup to accomplish that..
never used Edge Impulse before, instructions seem to be for linux..
might want to try their forums if they exists..
good luck.. ~q

@pravijet

as stated here Arduino UNO Q — Zephyr Project Documentation flashing is not yet working, but you can launch a debug session.

Thanks for your response.

west flash -r openocd is mentioned in edge impulse link. Thus curious if that example works!