-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Distinguish Multiple boards attached with one CI machine using stm32cubeprogrammer #58134
Comments
Please use recent openocd version (Open On-Chip Debugger 0.11.0+dev-00725-gc5c47943d (2023-03-14-22:08) for instance. See following log:
Note: It's not clear if this is the exact issue you're trying to solve as I don't see the relationship with your issue description "Distinguish Multiple boards attached with one CI machine using stm32cubeprogrammer" |
Adding "Bug" tag, but I don't think this is a bug. |
Note, to use stm32cubeprogrammer, see following configuration on lastest main: |
Will explain the use case: we have multiple devices attached to the single machine (github agent) which are used by our CI pipelines to run tests. |
Please have a check to my previous answers, this should be helping on both directions |
@mithunpandey Did you had a try with recent openocd, as proposed ? |
Discussed in #58050
Originally posted by mithunpandey May 19, 2023
We have a CI setup which has multiple boards attached with the CI Agent Machine.
we are building for the following boards using west build
F429
F767
H743
and using west flash using openocd as runner , which is running fine.
west flash --build-dir build --hex-file C:/app-to-build/build/zephyr/zephyr.hex -r openocd --skip-rebuild --cmd-pre-init "hla_serial 002F00154D4B500820373831"
we have introduced nucleo_u575zi_q board, and flashing using openocd is failing, with the following error
no further formatting is done here, this is happening for
Flashing device <<<<<<<<<<
west flash --build-dir build --hex-file C:\actions-runner_work\app-to-build/build/zephyr/zephyr.hex -r openocd --skip-rebuild --cmd-pre-init "hla_serial 002F00154D4B500820373831"
-- west flash: using runner openocd
-- runners.openocd: Flashing file: C:/actions-runner/_work/edge-rtos-github-workflows/edge-rtos-github-workflows/app-to-build/build/zephyr/zephyr.hex
Open On-Chip Debugger 0.11.0 (2021-11-18) [https://github.com/sysprogs/openocd]
Licensed under GNU GPL v2
libusb1 09e75e98b4d9ea7909e8837b7a3f00dda4589dc3
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : DEPRECATED target event trace-config; use TPIU events {pre,post}-{enable,disable}
invalid command name "hla_serial"
The text was updated successfully, but these errors were encountered: