AM263Px MCU+ SDK  11.00.00
Optiflash XIP Benchmark with 32KB 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_32k

Introduction

This is the same application as Optiflash OCRAM Benchmark, however, target functions are kept in external flash and L2 cache of 32KB 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 : 2790us
KPI_DATA: [BOOTLOADER PROFILE] CPU load : 3858us
KPI_DATA: [BOOTLOADER PROFILE] SBL End : 17us
KPI_DATA: [BOOTLOADER_PROFILE] SBL Total Time Taken : 16743us
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 31881us 85094 1073575 2169655 3.3 84.0
100B 31533us 84265 1221370 2358979 3.3 92.4
200B 32709us 84846 1369193 2559098 3.2 96.6
400B 35374us 87981 1672383 2961186 3.1 103.4
700B 35271us 82231 2113015 3546739 2.9 124.2
1000B 38125us 85559 2576552 4161585 2.8 134.8
1500B 42672us 84488 3321470 5154070 2.4 149.2
2250B 50621us 87960 4466079 6668856 2.1 162.7
2500B 53556us 86251 4830831 7156461 2.0 165.0
4096B 67154us 85129 7232200 10352040 1.6 190.4
All tests have passed