Introduction

SPI-DirectC is designed to support an embedded In-System Programming for Microchip devices. In-System Programming refers to an external processor on-board programming one of the IGLOO®2, SmartFusion®2, PolarFire® or PolarFire SoC devices using a SPI peripheral interface.

SPI-DirectC supports systems with direct and indirect access to the memory space containing the data file image. With paging support, it is possible to implement the embedded ISP using SPI-DirectC on systems with no direct access to the entire memory space containing the data. Paging support is accomplished by making modifications to the data communication functions defined in dpuser.h, dpcom.c, and dpcom.h.

To use SPI-DirectC v2021.1, you must make some minor modifications to the source code, add the necessary API, and compile the source code and the API together to create a binary executable. The binary executable is downloaded to the system along with the programming data file. The programming data file is a binary file that can be generated by Libero® SoC Design Suite version 11.2 or later. For more information on detailed specification of the programming file, see Data File Format.

Supported Device Family

This document describes how to enable microprocessor-based embedded In-System Programming (ISP) on the supported Microchip devices. The following table lists the Microchip devices SPI-DirectC supports.
Table . Device Family Supported by SPI-DirectC
Device FamilyDescription
PolarFire®PolarFire FPGAs deliver the industry’s lowest power at mid-range densities with exceptional security and reliability.
PolarFire SoCPolarFire SoC is the first SoC FPGA with a deterministic, coherent RISC-V CPU cluster, and a deterministic L2 memory subsystem enabling Linux and real-time applications.
SmartFusion®2SmartFusion2 addresses fundamental requirements for advanced security, high reliability, and low power in critical industrial, military, aviation, communications, and medical applications.
IGLOO®2IGLOO2 is a low-power mixed-signal programmable solution.