AM263Px MCU+ SDK: Optiflash XIP Benchmark

| AM263Px MCU+ SDK 26.00.00 |

Optiflash XIP Benchmark

# Supported Combinations

Parameter | Value
--- | ---
CPU + OS | r5fss0-0 freertos
Toolchain | ti-arm-clang
Boards | am263px-cc
Example folder | examples/benchmarks/optiflash_benchmark/flash_xip

# Introduction

This is the same application as Optiflash OCRAM Benchmark, however, target functions are kept in external flash. The effect of it is seen in the execution time.

# Steps to Run the Example

## Building the application

- When using CCS projects to build, import the CCS project for the required combination and build it using the CCS project menu (see Using SDK with CCS Projects).
- When using makefiles to build, note the required combination and build using make command (see Using SDK with Makefiles)

## Running the application

Flash the application binary to the device, follow the steps mentioned here (see Flash a Hello World example).

## Sample output

Starting OSPI Bootloader ...
KPI_DATA: [BOOTLOADER_PROFILE] Boot Media : NOR SPI FLASH
KPI_DATA: [BOOTLOADER_PROFILE] Boot Media Clock : 133.333 MHz
KPI_DATA: [BOOTLOADER_PROFILE] Boot Image Size : 6 KB
KPI_DATA: [BOOTLOADER_PROFILE] Cores present :
r5f0-0
KPI_DATA: [BOOTLOADER PROFILE] System_init : 603us
KPI_DATA: [BOOTLOADER PROFILE] Drivers_open : 137us
KPI_DATA: [BOOTLOADER PROFILE] LoadHsmRtFw : 9336us
KPI_DATA: [BOOTLOADER PROFILE] Board_driversOpen : 2761us
KPI_DATA: [BOOTLOADER PROFILE] CPU load : 3855us
KPI_DATA: [BOOTLOADER PROFILE] SBL End : 17us
KPI_DATA: [BOOTLOADER_PROFILE] SBL Total Time Taken : 16712us
Image loading done, switching to application ...
OCMC benchmarking:: Board_init success
Filling up the buffers
master_task
master_task -- start sending
memcpy Exec Time I$ Miss I$ Acc INST ICM/sec INST/sec
0B 46566us 88401 1071760 2171688 2.3 57.6
100B 47008us 86724 1219816 2361040 2.3 62.0
200B 47977us 86925 1370689 2561127 2.2 65.9
400B 50518us 89793 1671400 2963213 2.2 72.4
700B 50618us 85176 2112802 3548732 2.1 86.6
1000B 55253us 88373 2574724 4164047 2.0 93.1
1500B 61398us 86541 3322556 5156600 1.7 103.7
2250B 70884us 88528 4462778 6671463 1.5 116.2
2500B 74000us 89345 4831231 7159217 1.5 119.5
4096B 88364us 87994 7229022 10354911 1.2 144.7
All tests have passed