Skip to content
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

[bug] Cannot upload to XIAO_MG24 on Linux. #120

Closed
msfujino opened this issue Mar 3, 2025 · 1 comment
Closed

[bug] Cannot upload to XIAO_MG24 on Linux. #120

msfujino opened this issue Mar 3, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@msfujino
Copy link

msfujino commented Mar 3, 2025

Hardware

XIAO MG24

Core version

2.2.0, 2.3.0

Arduino IDE version

1.8.19, 2.3.4

Operating system

Linux Mint 21.3 Ubuntu 22.04

Radio stack variant

No radio

OpenThread Border Router device (if using Matter)

No response

Issue description

I am trying to upload a simple examle blink.ino to XIAO_MG24 on Linux Mint 21.3 Ubuntu 22.04. It compiles successfully, but I get an error that the CMSIS-DAP device is not found and cannot upload.
On Windows I can upload with no problem.

Serial output

........
........
/home/fujino/.arduino15/packages/SiliconLabs/tools/gcc-arm-none-eabi/12.2.rel1/bin/arm-none-eabi-size -A /home/fujino/.cache/arduino/sketches/304ADF8D97FD6B72C56EE1C996457FA0/Blink.ino.elf
Sketch uses 64160 bytes (4%) of program storage space. Maximum is 1572864 bytes.
Global variables use 26476 bytes (10%) of dynamic memory, leaving 235668 bytes for local variables. Maximum is 262144 bytes.
"/home/fujino/.arduino15/packages/SiliconLabs/tools/openocd/0.12.0-arduino1-static/bin/openocd" -d2 -s "/home/fujino/.arduino15/packages/SiliconLabs/tools/openocd/0.12.0-arduino1-static/share/openocd/scripts/" -f interface/cmsis-dap.cfg -f target/efm32s2_g23.cfg -c "init; reset_config srst_nogate; reset halt; program {/home/fujino/.cache/arduino/sketches/304ADF8D97FD6B72C56EE1C996457FA0/Blink.ino.hex}; reset; exit"
Open On-Chip Debugger 0.12.0+dev-01514-g21fa2de70 (2024-02-07-19:19)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
debug_level: 2
Info : auto-selecting first available session transport "swd". To override use 'transport select '.
efm32s2_dci_read_se_status
Error: unable to open CMSIS-DAP device 0x2886:0x62
Error: unable to find a matching CMSIS-DAP device

Failed uploading: uploading error: exit status 1

RTT output (if using Matter)

No response

Minimal reproducer code

No response

@msfujino msfujino added the bug Something isn't working label Mar 3, 2025
@msfujino msfujino changed the title [bug] <title> [bug] Cannot upload to XIAO_MG24 on Linux. Mar 3, 2025
@msfujino
Copy link
Author

The following link provides a solution.

https://forum.arduino.cc/t/cannot-upload-to-xiao-mg24-on-linux-mint/1365765

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant