element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Azure Sphere Starter Kit
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Azure Sphere Starter Kit
  • More
  • Cancel
Azure Sphere Starter Kit
Forum Question about Error Message when running the Azure Sphere Reference Design
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Azure Sphere Starter Kit to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Verified Answer
  • Replies 10 replies
  • Answers 3 answers
  • Subscribers 47 subscribers
  • Views 988 views
  • Users 0 members are here
  • azure sphere kit
  • azurespherech
  • azure sphere
  • azuresphkt
  • azure sphere starter kit
Related

Question about Error Message when running the Azure Sphere Reference Design

ciorga
ciorga over 6 years ago

Hello Everyone,

So far I was able to get the kit and the software installed and I was able to create the necessary accounts.  Now I am facing an error that I don't know how to address.  I am trying to run the reference design following the steps in this blog:

Avnet's Azure Sphere Starter-Kit (Out of Box Demo) Part 1 of 3

 

but the windows and menus are a bit different than the screenshots in the blog and at the step highlighted in the screenshot below I get an error (shown in the second screenshot below).  Did anyone get this error and how did you handle it?  I would appreciate any help on this issue.

image

 

 

image

 

Best Regards,

Cosmin

  • Sign in to reply
  • Cancel

Top Replies

  • peterfenn
    peterfenn over 6 years ago in reply to ciorga +1 suggested
    From the Start button, open the azsphere command prompt ...then enter this command: azsphere device prep-debug This command sets up your device for local debugging (it typically needs to be done once,…
  • Fred27
    0 Fred27 over 6 years ago

    It looks like Visual Studio is trying to run the project on your PC rather than on the Azure Sphere device. Have you installed the Azure Sphere SDK?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • ciorga
    0 ciorga over 6 years ago in reply to Fred27

    Hi David,

    I am not sure but I think I went through all the steps in the blog.  Here is what I have in the program start:

    image

    How can I check if I have the SDK installed?

    Best Regards,

    Cosmin

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Fred27
    0 Fred27 over 6 years ago in reply to ciorga

    That looks like you have. And it also looks like you've installed the necessary C++ components for Visual Studio too.

     

    It looks like you may have selected "open a local folder" rather that "open a project or solution" when starting Visual Studio. I can get the same bahaviour if I do that and then select x64 configuration. Can you try "open a project or solution" (or alternatively double-click on the AvnetStartKitReferenceDesign.sln file).

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • peterfenn
    0 peterfenn over 6 years ago in reply to ciorga

    Cosmin

     

    I think the Visual Studio extensions to support Azure Sphere development may be missing from your VS installation

    Make sure that you install the Azure Sphere SDK after you have installed Visual Studio

    The installation sequence is detailed here:

    https://docs.microsoft.com/en-us/azure-sphere/install/install


    Specifically, see this section:
    Install the Azure Sphere SDK Preview for Visual Studio

     

    -Peter

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Fred27
    0 Fred27 over 6 years ago in reply to peterfenn

    I can reproduce Cosmin's issues with the SDK installed and opening the folder rather than the solution in Visual Studio.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • ciorga
    0 ciorga over 6 years ago in reply to Fred27

    Thank you for helping me David and Peter.  I have started Visual Studio using the "open a project or solution option" (I haven't done this before) and now I see the windows and menus as in the blog.  However, I still get an error when trying to run the build and debug:

    image

     

    It mentions that the image is not trusted by the device.  Do you know what can be the cause of this issue?

    Best Regards,

    Cosmin

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • peterfenn
    0 peterfenn over 6 years ago in reply to ciorga

    From the Start button, open the azsphere command prompt

    image

    ...then enter this command:

    azsphere device prep-debug

    This command sets up your device for local debugging (it typically needs to be done once, following the automatic update of the device's Azure Sphere OS)

     

    -Peter

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • ciorga
    0 ciorga over 6 years ago in reply to peterfenn

    Hi Peter,

    Thank you for your help.  It works now:

    image

    Best Regards,

    Cosmin

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • peterfenn
    0 peterfenn over 6 years ago in reply to ciorga

    Good to hear!

    PS: Take a look also at the following tutorial that was published last week, this will save you some time when implementing the cloud-based Azure IoT Central section of these exercises  

    Avnet Azure Sphere Starter-Kit: Advanced Tutorial




    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • ciorga
    0 ciorga over 6 years ago in reply to peterfenn

    This is a great tutorial Peter.  Thank you.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube