azure-iot-developer-kit icon indicating copy to clipboard operation
azure-iot-developer-kit copied to clipboard

Unable to upload device code on Mac #72029

Open BhargaviAnnadevara opened this issue 3 years ago • 1 comments

Issue originally created by @scockeri in https://github.com/MicrosoftDocs/azure-docs/issues/72029#issue-829452195

Just received my mxdevkit and have following the getting started project example using my Mac and VSCode. All installation instructions followed and successful up until the point where I attempt to use the Device workbench to upload code to the board.

I get the following error :

java.io.IOException: Cannot run program "/Users/<username deleted>/Library/Arduino15/packages/AZ3166/tools/openocd/0.10.0/macosx/bin/openocd": error=2, No such file or directory 

I can see the openocd packages are installed in that location but only the source code - no binary directories are created or executable files in that location. I have tried to make manually and install but this still doesn't work as the correct directories are still not created in the locations required above.

This is really frustrating and I can see that others on Mac are having the same issues on Gitter without a resolution being posted.

Latest versions of VSCode, and AZ3166 2.0.0 drivers installed, running on Big Sur.

Can anyone provide a resolution please? Thanks

Doc being followed: https://microsoft.github.io/azure-iot-developer-kit/docs/get-started/

BhargaviAnnadevara avatar Mar 13 '21 05:03 BhargaviAnnadevara

This issue has no recent activities, please take a look and provide updates for it.

github-actions[bot] avatar Mar 16 '21 05:03 github-actions[bot]