AM263Px MCU+ SDK  10.01.00
RAT Example

Introduction

RAT example provides how to use configure RAT.

Supported Combinations

Parameter       Value
CPU + OS       r5fss0-0 nortos
Toolchain       ti-arm-clang
Boards         am263px-cc
Example folder examples/drivers/rat

Steps to Run the Example

Sample Output

Starting OSPI Bootloader ...
[BOOTLOADER_PROFILE] Boot Media       : NOR SPI FLASH
[BOOTLOADER_PROFILE] Boot Media Clock : 133.333 MHz
[BOOTLOADER_PROFILE] Boot Image Size  : 0 KB
[BOOTLOADER_PROFILE] Cores present    :
r5f0-0
[BOOTLOADER PROFILE] System_init                      :        249us
[BOOTLOADER PROFILE] Drivers_open                     :         78us
[BOOTLOADER PROFILE] LoadHsmRtFw                      :        862us
[BOOTLOADER PROFILE] Board_driversOpen                :      30997us
[BOOTLOADER PROFILE] CPU load                         :         78us
[BOOTLOADER_PROFILE] SBL Total Time Taken             :      32267us
Image loading done, switching to application ...
All tests have passed!!

Description

On how to configure RAT, please go through Configuring OptiFlash various IP.

This application configures RAT to translate a region with starting address 0x70200000 and size of 32KB that would translate to 0x70000000 and both of these addresses are in OCRAM. So when writing to address 0x70200000 would actually write to 0x70000000. At 0x70000000 address buffer array has been placed using memory configurator. Therefore, All that is written at address 0x70200000, can be read from buffer variable. This function is being displayed through this example.