microsoft / azure-iot-developer-kit

A curated list of awesome Azure IoT Developer Kit projects and resources.
MIT License
94 stars 57 forks source link

Unable to upload device code on Mac #72029 #524

Open BhargaviAnnadevara opened 3 years ago

BhargaviAnnadevara commented 3 years ago

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/

github-actions[bot] commented 3 years ago

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