onsemi Ezairo 8300 Getting Started Manual

Software development kit

Advertisement

Quick Links

onsemi Confidential
Ezairo® 8300 Software Development Kit Getting
Started Guide
M-20865-010
June 2022
© SCILLC, 2022
Previous Edition © 2021
"All Rights Reserved"

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Ezairo 8300 and is the answer not in the manual?

Questions and answers

Summary of Contents for onsemi Ezairo 8300

  • Page 1: Ezairo® 8300 Software Development Kit Getting Started Guide

    Confidential Ezairo® 8300 Software Development Kit Getting Started Guide M-20865-010 June 2022 © SCILLC, 2022 Previous Edition © 2021 "All Rights Reserved"...
  • Page 2: Table Of Contents

    3.3.1 Using the ide.json File 3.4 Preparing the System to Build Source Code with the ASIP Designer toolchain 4. Working with Sample Applications 4.1 Starting the Ezairo 8300 SDK 4.2 CFX Assembler Sample Application 4.2.1 Importing and Building the CFX Assembler Sample Project 4.2.2 Debugging the CFX Sample Code...
  • Page 3 Confidential Ezairo 8300 Software Development Kit Getting Started Guide 4.3.1 Importing and Building the CFX C Sample Project 4.3.2 Debugging CFX C Sample Code 4.3.3 CFX C Debug Troubleshooting 4.4 Arm Cortex-M3 Processor Sample Application 4.4.1 Importing and Building an Arm Cortex-M3 Processor Sample Project 4.4.2 Debugging Arm Cortex-M3 Processor Sample Code...
  • Page 4: Introduction

    1.1 P URPOSE IMPORTANT: onsemi acknowledges that this document might contain the inappropriate terms “white list", "master" and "slave”. We have a plan to work with other companies to identify an industry wide solution that can eradicate non-inclusive terminology but maintains the technical relationship of the original wording.
  • Page 5: Overview

    • A neural network accelerator that allows the Ezairo 8300 to perform neural network computations in a highly efficient and flexible way The architecture of the Ezairo 8300 is shown in the "Ezairo 8300 Architecture Overview" figure (Figure www.onsemi.com...
  • Page 6 Confidential Ezairo 8300 Software Development Kit Getting Started Guide Figure 1. Ezairo 8300 Architecture Overview www.onsemi.com...
  • Page 7: Connecting Hardware And Installing Software

    CHAPTER 3 Connecting Hardware and Installing Software This topic explains what you need for using the Ezairo 8300 SDK, how to connect the onsemi Evaluation and Development Board, and how to install the necessary software before you begin working. 3.1 C...
  • Page 8 Confidential Ezairo 8300 Software Development Kit Getting Started Guide Figure 2. Ezairo 8300 Evaluation and Development Board Diagram 3. Once the jumpers are in the right positions, you can plug the micro USB cable into the socket (J5) on the board.
  • Page 9: Software Prerequisites

    NOTE: The ASIP Designer is a license based product which requires access to a license server. To configure the license server location, use the User_Setup.exe tool located in the following directory, where is the installed version number of the tool (e.g.: P-2019.03-SP2): <version> C:/Program Files (x86)/ON Semiconductor\Ezairo 8300 SDK\ASIP Programmer\ \win64\bin\WINbin <version> 3.3 I NSTALLING THE OFTWARE To install the SDK, run the Ezairo_8300_SDK_<version>.exe application, where <version> is the the SDK...
  • Page 10: Preparing The System To Build Source Code With The Asip Designer Toolchain

    Confidential Ezairo 8300 Software Development Kit Getting Started Guide Figure 3. Default ide.json File As the figure shows, the ide.json file’s path array contains all the recommended system variable paths, whereas env is a dictionary containing all the necessary key value pairs for the environment variables.
  • Page 11 Confidential Ezairo 8300 Software Development Kit Getting Started Guide is 27020, so the name of the license server needs to resemble . See the "Adding the 27020@YourServerName SNPSLMD Environment Variable" figure (Figure 4) for an example. For further information, see https://www.synopsys.com/support/licensing-installation-computeplatforms/licensing.html.
  • Page 12: Working With Sample Applications

    Windows Explorer or the onsemi Launcher in step 2. 2. Open the onsemi IDE by going to the Windows Start menu and selecting onsemi > Ezairo 8300 SDK. From the Ezairo 8300 Development Tools IDE Launcher screen, browse to your new workspace, select it, and click Launch.
  • Page 13: Debugging The Cfx Sample Code

    2. Click on Add ASIP in the right column. 3. When selecting the CFX processor point to a directory similiar to this: C:/Program Files (x86)/ON Semiconductor\Ezairo 8300 SDK\cf624c<version>\lib, or C:/Program Files (x86)/ON Semiconductor\Ezairo 8300 SDK\lpdsp32<version>\lib for the LPDSP32 processor. 4. Click on Done to save and close the dialog.
  • Page 14 Confidential Ezairo 8300 Software Development Kit Getting Started Guide Figure 6. Creating CFX Assembler Debug Configuration, Step 1 2. The Debug Configurations dialog is displayed. Right click on the ASIP Designer Application configuration type and select New (as shown in the "Creating CFX Assembler Debug Configuration, Step 2"...
  • Page 15 Confidential Ezairo 8300 Software Development Kit Getting Started Guide Figure 7. Creating CFX Assembler Debug Configuration, Step 2 3. A new dialog is displayed, allowing you to create your debug configuration. Within this dialog the following information must be added (shown for the sample_CFX_assembly executable): a.
  • Page 16 Confidential Ezairo 8300 Software Development Kit Getting Started Guide Figure 8. Selecting Project and Executable b. In the ASIP Target tab view, click the Connection Type dropdown menu and select Remote Hardware/Emulation (see "Selecting Connection Type" figure (Figure 9)). www.onsemi.com...
  • Page 17 Confidential Ezairo 8300 Software Development Kit Getting Started Guide Figure 9. Selecting Connection Type NOTE: The Debug Client is an application that is located in the model (selected during setup) under the ISS directory. If Remote Hardware/Emulation is selected and a red X appears on the dialog, this indicates that cf624c_client might be missing.
  • Page 18: Cfx C Sample Application

    C/C++ perspective when starting the SDK for the first time. To access the Sample Code Explorer view at any other time, choose Window > Show View > Other > onsemi > Sample Code Explorer. The explorer appears in the views panel in the lower section of the IDE.
  • Page 19 10 (SK5). PSU-SEL pins 3 and 4 need to be shorted to power the board through the Promira. See the Ezairo 8300 Evaluation and Development Board Manual for more information. A license is required during debugging; if a license cannot be found for the Synopsys debugging tools, the launch fails.
  • Page 20 C/C++ perspective when starting the SDK for the first time. To access the Sample Code Explorer view at any other time, choose Window > Show View > Other > onsemi > Sample Code Explorer. The explorer appears in the views panel in the lower section of the IDE.
  • Page 21 Confidential Ezairo 8300 Software Development Kit Getting Started Guide Figure 11. Build Argument Shell Command 4.4.2 Debugging Arm Cortex-M3 Processor Sample Code For debugging the built code on the Arm Cortex-M3 processor, create a new debug configuration with the following steps: 1.
  • Page 22 Confidential Ezairo 8300 Software Development Kit Getting Started Guide Figure 12. Arm Cortex-M3 Processor Debug Configuration, Step 1 2. The Debug Configurations dialog is displayed. Right click on the GDB SEGGER J-Link Debugging configuration type and select New (see "Arm Cortex-M3 Processor Debug Configuration, Step 2" figure (Figure 13)).
  • Page 23 Confidential Ezairo 8300 Software Development Kit Getting Started Guide Figure 13. Arm Cortex-M3 Processor Debug Configuration, Step 2 3. A new dialog is displayed, allowing you to create your debug configuration. Within this dialog the following information must be added: a.
  • Page 24 Confidential Ezairo 8300 Software Development Kit Getting Started Guide Figure 14. Selecting Project and Application Type b. In the Debugger tab view, enter Cortex-M3 in the Device Name window, and make certain that the Other Options field does not include the -nogui option, as shown in "Device Name Window"...
  • Page 25 Confidential Ezairo 8300 Software Development Kit Getting Started Guide Figure 15. Device Name Window c. In the Startup tab view under Runtime Options, tick the box labeled RAM application (reload after each reset/restart), as seen in "Selecting Runtime Options" figure (Figure 16).
  • Page 26 Confidential Ezairo 8300 Software Development Kit Getting Started Guide Figure 16. Selecting Runtime Options All other information in the debug configuration can remain set to defaults. 1. Click on Apply and then on Debug. The application begins loading to the device. If this is successful, a J- Link GDB Debug session opens.
  • Page 27 CHAPTER 5 More Information Fully-searchable HTML5 versions of most Ezairo 8300 documentation can be found with this shortcut: in C:/Program Files (x86)/ON Semiconductor\Ezairo 8300 SDK\documentation\, double-click on searchable Ezairo 8300 documents.htm to start the HTML5 display in your default browser. 5.1 W...
  • Page 28 This group of topics describes all the functional <sdk_home> \documentation Reference features available on an Ezairo 8300 chip, how they are used, and how they are configured. This group of topics is a good place to start when you are designing real-time implementations of your algorithms or planning a product based on the Ezairo 8300 chip.
  • Page 29 Confidential Ezairo 8300 Software Development Kit Getting Started Guide Table 1. Ezairo 8300 Documentation (Continued) Title Description Installed Location Filter Engine for This page provides the syntax of the Filter Engine <sdk_home> \documentation Ezairo 8300 Instruction instructions, a brief definition of the operands, and Set Quick Reference examples.
  • Page 30 Confidential Ezairo 8300 Software Development Kit Getting Started Guide Table 2. ASIP Programmer Documentation Title Description Installed Location ASIP Programmer This overview summarizes all the documentation <sdk_home> \ASIP Overview of the Manuals included in the ASIP programmer distribution. Programmer\ <version>...
  • Page 31 Confidential Ezairo 8300 Software Development Kit Getting Started Guide Table 2. ASIP Programmer Documentation (Continued) Title Description Installed Location Installation Manual This manual describes the downloading and the <sdk_home> \ASIP installation of ASIP Programmer, including licensing Programmer\ <version> \win64\doc\manuals and user setup (Chapter 3).
  • Page 32 This manual provides the information that you need C:\Program Files (x86)\Common Programmer’s Guide to develop software that uses the Communication Files\SignaKlara\CTK\documentation\ctk Toolkit to communicate with onsemi chips in the SignaKlara™ technology family. Implementing a CTK This specialized programming paper describes how C:\Program Files (x86)\Common...
  • Page 33 Confidential Ezairo 8300 Software Development Kit Getting Started Guide Table 6. LPDSP32 Documentation (Continued) Title Description Installed Location User IP Programmers Describes the C application layer used for the <sdk_home> \documentation\lpdsp32_3rd_party_ Guide for LPDSP32-V3 LPDSP32 core, the flow generally followed when...
  • Page 34 LIMITATIONS OF LIABILITY: onsemi shall not be liable for any special, consequential, incidental, indirect or punitive damages, including, but not limited to the costs of requalification, delay, loss of profits or goodwill, arising out of or in connection with the board, even if onsemi is advised of the possibility of such damages. In no event shall onsemi’s aggregate liability from any obligation arising out of or in connection with the board, under any theory of liability, exceed the purchase price paid for the board, if any.

Table of Contents