arduino / arduino/ArduinoCore-samd

No such file or directory for openocd

Open
#635 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
502
Forks
740
PR merge metrics
No merged PRs in 30d

Description

The full error is
```
java.io.IOException: Cannot run program "/Users/jackpeplinski/Library/Arduino15/packages/AZ3166/tools/openocd/0.10.0/macosx/bin/openocd": error=2, No such file or directory
```

I was trying to follow [this](https://devblogs.microsoft.com/premier-developer/remote-monitoring-of-iot-devices-using-azure-and-hololens/) tutorial and run into the error when running "Device Upload".

I've tried reinstalling the MXChip - Microsoft Azure IoT Developer Kit and Arduino multiple times but the file just doesn't seem to be there.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing Device Upload while following the linked tutorial, then inspect the reported Arduino15/packages/AZ3166/tools/openocd/0.10.0/macosx/bin/openocd path and compare it with the installed package contents. Done means the openocd executable is available at the expected path and Device Upload completes without the IOException.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, java
Domain
embedded-iot, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.