You must select an appropriate platform on which to develop your ML application. There are a number of physical and virtual solutions available.
There are very many Cortex-M microcontrollers with available development boards . However there are currently a limited number of readily available development boards available with Ethos-U processors. Board choices are likely to increase, but today developers have limited options for software development.
MPS3 is the recommended solution for evaluating performance, but boards are in short supply and may be difficult to obtain.
Virtual implementations of the Corstone-300 and Corstone-310 are also available for software development. These can be accessed locally or in the cloud.
Arm Virtual Hardware provides two cloud-based solutions to access Corstone-300 and Corstone-310 platforms.
Both versions of AVH offer FVPs. Choose the one which best matches your preferences. You can use your AWS account and pay for the compute you use or pay for the hardware-as-a-service directly using your Arm account. Both methods offer free trials.
The marketing information provides more details about the similarities and differences.
Arm Virtual Hardware Third-Party Hardware is a hardware-as-a-service offering using hypervisor technology to model real hardware provided by Arm’s partners. It also offers FVPs as part of the cloud service.
Follow the Arm Virtual Hardware Corstone install guide to get started with AVH on AWS.
Setup the VNC connection to access the Linux desktop for ML application development.
Once you are connected with the VNC connection setup, you can run the Corstone-300 FVP:
The FVP will start executing and display output similar to:
telnetterminal0: Listening for serial connection on port 5000 telnetterminal1: Listening for serial connection on port 5001 telnetterminal2: Listening for serial connection on port 5002 telnetterminal5: Listening for serial connection on port 5003 Ethos-U rev 136b7d75 --- Feb 16 2022 15:47:15 (C) COPYRIGHT 2019-2022
A visualization of the FVP will also be displayed on the Linux desktop.
Terminate the FVP with
There are also executables for
VHT_Corstone_SSE-310_Ethos-U65 you can use.
If you can start the FVPs you are ready for ML application development.
Arm Virtual Hardware Third-Party Hardware is currently in public beta.
Log in to AVH
using your Arm account or create a new one using the
Create an Arm account link.
After log in, you can use the AVH console to create a new device and select
You can use the AVH console to upload software and control FVP execution.
There is also documentation available in the console you can read to continue learning about AVH.
If you are in the console and can see the FVPs, you are ready for ML application development.
Ecosystem FVPs are free-of-charge and target a variety of applications. They run on Linux and Windows.
You can use the Corstone-300 on any computer and no license is required. This is the best option if you want to run on your local computer.
There is no Ecosystem FVP for the Corstone-310 available for download.
FVPs are functional simulations of Cortex-M processors and don’t including micro-architecture details and timing. They are good for software testing, but not recommended for performance evaluation.
There are additional features which can be configured on these virtual platforms. The AVH simulation model documentation has many good tips.
Ethos-U55 and Ethos-U65 offer a configurable number of MACs (multiply-accumulate units). During IP evaluation and performance analysis you need to understand the numbers of MACs available in the hardware and create your software to use the same configuration.
|Ethos-U NPU||Number of MACs supported|
|Ethos-U55||32, 64, 128, 256|
FVP and VHT platforms can be configured with:
The Ethos-U model used in FVPs can run at a faster speed with less simulation detail.
Use this configuration parameter to enable fast mode:
Each Corstone design has a programmer’s view of memory.
A memory map is available for each configuration of Corstone-300 and Corstone-310. For example, the Corstone-300 with Cortex-M55 and Ethos-U55 memory map describes the address ranges for memory and peripherals.
Arm IP Explorer is used by SoC architects to select IP for new designs. It includes simulation features which provide cycle accurate simulation of Arm processors for the purpose of processor selection. It covers Cortex-M and Ethos-U and can help you determine the best processor configurations for a project.
Refer to the Arm IP Explorer install guide for links to more information.
You should have a general understanding of the hardware options for Corstone-300 and Corstone-310 for application development. You can use an MPS3 board or an FVP on your local machine or using one of the cloud solutions.
The next section covers similar information for software, tools, and example applications.