Visible to Intel only — GUID: hco1433527947532
Ixiasoft
1. About the Drive-On-Chip Design Example for Cyclone V Devices
2. Motor Control Boards
3. Drive-On-Chip Design Example for Cyclone V Devices Features
4. Getting Started
5. Building the Design
6. Debugging and Monitoring the Drive-On-Chip Design Example with System Console
7. About the Scaling of Feedback Signals
8. Motor Control Software
9. Functional Description of the Drive-On-Chip Design Example
10. Achieving Timing Closure on a Motor Control Design
11. Design Security Recommendations
12. Reference Documents for the Drive-on-Chip Design Example
13. Document Revision History for AN 669: Drive-on-Chip Reference Design
4.1. Software Requirements for the Drive-On-Chip Design Example for Cyclone V Devices
4.2. Downloading and Installing the Drive-On-Chip Design Example for Cyclone V Devices
4.3. Setting Up the Motor Control Board with your Development Board
4.4. Programming the Hardware onto the Device
4.5. Setting Up Terminal Emulator
4.6. Downloading the HPS Software to the Device
6.1. System Console GUI Upper Pane for the Drive-On-Chip Design Example
6.2. System Console GUI Lower Pane for the Drive-On-Chip Design Example
6.3. Vibration Suppression Tab
6.4. Controlling the DC-DC Converter
6.5. Tuning the PI Controller Gains
6.6. Controlling the Speed and Position Demonstrations
6.7. Monitoring Performance
9.1. Processor Subsystem
9.2. Six-channel PWM Interface
9.3. DC Link Monitor
9.4. Drive System Monitor
9.5. Quadrature Encoder Interface
9.6. Sigma-Delta ADC Interface for Drive Axes
9.7. DC-DC Converter
9.8. Motor Control Modes
9.9. FOC Subsystem
9.10. FFTs
9.11. DEKF Technique for Battery Management
9.12. Signals
9.13. Registers
9.9.1. DSP Builder for Intel FPGAs Model for the Drive-On-Chip Designs
9.9.2. Avalon Memory-Mapped Interface
9.9.3. About DSP Builder for Intel FPGAs
9.9.4. DSP Builder for Intel FPGAs Folding
9.9.5. DSP Builder for Intel FPGAs Model Resource Usage
9.9.6. DSP Builder for Intel FPGAs Design Guidelines
9.9.7. Generating VHDL for the DSP Builder Models for the Drive-On-Chip Reference Designs
Visible to Intel only — GUID: hco1433527947532
Ixiasoft
5.4. Creating and Booting an HPS SD Card Software Image
You create a bootable SD card that contains the software image, so you can boot the software automatically without using the Arm Development Studio Debugger.
- Create a bootable SD card image using the prebuilt image that the SoC EDS includes.
- On Windows, download and install an SD card image writing utility, for example balenaEtcher or win32diskimager.
- Find the bootable image for your development board.
For the Cyclone SoC development board find CycloneV_Linux_SDCard .img in the Intel SoC EDS default installation directory: C:\intelFPGA\17.0\embedded\embeddedsw\socfpga\prebuilt_images\CycloneV_Linux_SDCard.tar.gz
- Launch SOC EDS Command Shell as an administrator, and change the current directory to the prebuilt_images directory by typing:
cd ‘C:\intelFPGA\17.0\embedded\embeddedsw\socfpga\prebuilt_images’
- Untar the compressed image file by typing:.
tar -xf CycloneV_Linux_SDCard.tar.gz
- Write the bootable image, CycloneV_Linux_SDCard.img, with your SD card image writing utility on Windows or dd command on Linux onto your SD card.
- Update the preloader with the binary image made from the Drive-On-Chip design.
- Type cd <project_dir>/software/spl_bsp in the SoC EDS command shell.
- Write the preloader image into the proper location in your SD card by typing:
alt-boot-disk-util -p preloader-mkpimage.bin -a write -d <sdcard_drive_letter> .Where <sdcard_drive> is the drive your SD card appears as on your computer.
- Copy doc_tandem_cvsx.bin to the FAT partition on the SD card.
- Enter U-Boot:
- Unmount the SD card from PC, then insert the SD card in the board
- Open your Terminal Emulator software and connect to the board.
- Apply power to the board.
- Press a key in the terminal window when prompted, before the countdown finishes and the operating system boots.
- At the U-Boot prompt, edit the U-Boot environment by typing:
setenv mmcload "mmc rescan;fatload mmc 0:1 0x01000000 doc_tandem_cvsx.bin ;go 0x01000000"
- Save the new environment setting by typing:
env save
- Configure the FPGA.
- Boot the software: press Cold Reset on the development boards again.