AM261x MCU+ SDK: Optiflash XIP Benchmark with Smart Placement

| AM261x MCU+ SDK 26.00.00 |

Optiflash XIP Benchmark with Smart Placement

# Supported Combinations

Parameter | Value
--- | ---
CPU + OS | r5fss0-0 freertos
Toolchain | ti-arm-clang
Boards | am261x-lp, am261x-som
Example folder | examples/benchmarks/optiflash_benchmark/flash_xip_smart_placement

# Introduction

This is the same application as Optiflash OCRAM Benchmark, however, target functions are kept in external flash and smart placement enabled (Smart Placement). 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 : 166.667 MHz
KPI_DATA: [BOOTLOADER_PROFILE] Boot Image Size : 93 KB
KPI_DATA: [BOOTLOADER_PROFILE] Cores present :
KPI_DATA: [BOOTLOADER PROFILE] System_init : 505us
KPI_DATA: [BOOTLOADER PROFILE] Drivers_open : 97us
KPI_DATA: [BOOTLOADER PROFILE] LoadHsmRtFw : 1us
KPI_DATA: [BOOTLOADER PROFILE] Board_driversOpen : 4488us
KPI_DATA: [BOOTLOADER PROFILE] CPU load : 17981us
KPI_DATA: [BOOTLOADER PROFILE] SBL End : 8us
KPI_DATA: [BOOTLOADER_PROFILE] SBL Total Time Taken : 23082us
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 9099us 15827 469124 2195561 2.1 298.0
100B 9602us 16130 528723 2384680 2.1 306.7
200B 10035us 13975 550468 2584512 1.7 318.1
400B 11153us 16325 704276 2986674 1.8 330.7
700B 12556us 14824 843990 3571789 1.5 351.3
1000B 14475us 17269 1085599 4187298 1.5 357.3
1500B 17968us 13723 1247664 5179069 0.9 356.0
2250B 23982us 17051 1703055 6694086 0.9 344.7
2500B 25901us 15922 1802392 7181096 0.8 342.4
4096B 37595us 16079 2829983 10376565 0.5 340.9
All tests have passed