AM275 FreeRTOS SDK  10.01.00
Sciclient Get Version

Introduction

This example demonstrates how to check the version of SYSFW running on the Cortex R5 (DM R5) at run time. Since this is frequently done by bootloaders as a sanity check, there is an API included in the Sciclient driver for checking the SYSFW version.

However, in this example this API is not used, instead the basic Sciclient_service API is used to send a "GET VERSION" request to the SYSFW and get a response back and print it out.

We also fetch the clock frequency of the current CPU using Sciclient and print that out as well, as additional sanity check.

Supported Combinations

Parameter Value
CPU + OS r5fss0-0 freertos
r5fss0-0 nortos
wkup-r5fss0-0_freertos
c75ss0-0 freertos
Toolchain ti-arm-clang
ti-c7000
Board am275x-evm
Example folder examples/drivers/sciclient/sciclient_get_version

Steps to Run the Example

See Also

SCICLIENT

Sample Output

Shown below is a sample output when the application is run,

DMSC Firmware Version 21.1.1--v2021.01a (Terrific Lla
Firmware revision 0x15
ABI revision 3.1
[SCICLIENT] CPU clock frequency = 800000000 Hz
All tests have passed!!
SYSFW Version 9.0.4--v09.00.04 (Kool Koala)
Firmware revision 0x9
ABI revision 3.1
[SCICLIENT] CPU clock frequency = 1250000000 Hz
All tests have passed!!