Complete the below steps to develop applications on a Windows or Linux System.
You can select Azure Sphere development kit for your machine and install software.
- On Windows 10 (1st anniversary update or more)
- Visual Studio Enterprise, Professional or Community 2019
- Visual Studio Code
- On Linux
- Visual Studio Code
Download Azure Sphere SDK and install it.
Then complete Azure Sphere SDK Extension Install for development tool.
- For Visual Studio, Azure Sphere SDK Extension Install
- For Visual Studio Code, Azure Sphere SDK Extension Instll
Please check cmake options in settings.json for Visual Studio Code:
The MT3620 exposes two dedicated UARTs and SWD interface for debugging. The Azure Sphere PC software tools require the use of a USB-to-UART interface that exposes these interfaces to a PC in away that allows the tools to recognize and interact with them. For this, ASG200 components have a ‘Debugger’ board which can attaches to 18pin headers on ASG200. To use this debugger board, user should init the interface information with FTDI tools.
Please follow these steps described in this link:
The azsphere.exe command-line utility supports commands that manage Azure Sphere elements. For the more details, enter the below link:
On Azure Sphere Developer Command Prompt Preview, the option, -?, helps to show the command information.
To manage Azure Sphere elements for development, log in Azure Sphere Developer Command Prompt Preview with Microsoft account. To use Azure Sphere Security Service, Microsoft Account is required.
Log in on azsphere login command (Needed the option, –-newuser, with azsphere login command to register the account only have to sign in once.)
An Azure Sphere tenant provides a secure way for your organization to remotely manage its Azure Sphere devices in isolation from other customer’s devices. And it is accessed based on RBAC (Role Based Access Control). Only people with an account in that directory will be able to manage devices within your Azure Sphere tenant.
Follow these steps to select the role assigned Azure Sphere tenant:
- Search the tenant list
- Select the tenant from the list with tenant id
- Check the selected tenant
There is no existed Azure Sphere tenant or assigned role in it. User can create new Azure Sphere tenant.
Check the selected tenant for development environment. Once ASG200 claimed to the Azure Sphere tenant, claiming to other tenant is prohibited followed Azure Sphere Security policy.
Once ASG200 is connected to the internet, Azure Sphere OS updates are initiated automatically via OTA (Over The Air) Wi-Fi interface. Also, user can manually update Azure Sphere OS with recovery. Recovery is the process of replacing the latest system software on the device using a special recovery bootloader instead of cloud update.
Follow these steps to update the latest Azure Sphere OS:
- Set Wi-Fi interface
- Check Wi-Fi status
- Recovery for Azure Sphere OS update
- Check Azure Sphere OS version
Connect Debugger board which is attached to ASG200 debug interface to PC and set development mode for debugging on In Azure Sphere Developer Command Prompt Preview.
On development mode, OTA is inactivated.
Development mode for debugging (Add option for RT App debugging).
--enablertcoredebugging option requires administrator privilege because it installs USB driver for the debugger
A quick-check of Wi-Fi reception can be done:
- Set new Wi-Fi
- Verify the present Wi-Fi connectivity status