AM263Px MCU+ SDK  11.00.00
Optiflash XIP Benchmark with 64KB L2 Cache

Supported Combinations

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

Introduction

This is the same application as Optiflash OCRAM Benchmark, however, target functions are kept in external flash and L2 cache of 64KB is enabled. 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 : 9335us
KPI_DATA: [BOOTLOADER PROFILE] Board_driversOpen : 2773us
KPI_DATA: [BOOTLOADER PROFILE] CPU load : 3865us
KPI_DATA: [BOOTLOADER PROFILE] SBL End : 17us
KPI_DATA: [BOOTLOADER_PROFILE] SBL Total Time Taken : 16733us
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 20446us 85756 1073014 2168138 5.2 131.0
100B 20144us 85838 1218341 2357359 5.3 144.5
200B 21074us 84912 1369630 2557472 5.0 149.9
400B 22903us 86541 1671421 2959620 4.7 159.6
700B 23603us 82573 2112567 3545137 4.3 185.5
1000B 26529us 86151 2574894 4160128 4.0 193.7
1500B 30906us 85199 3321261 5152454 3.4 205.9
2250B 38626us 85345 4468294 6667274 2.7 213.2
2500B 41378us 86052 4830008 7154754 2.6 213.5
4096B 55926us 85746 7230276 10350539 1.9 228.6
All tests have passed