Sciclient Get Version

Introduction

This example demonstrates how to check the version of SYSFW running on the Cortex M3 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.

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

mcu-r5fss0-0 nortos

CPU + OS

wkup-r5fss0-0 nortos

Toolchain

ti-arm-clang

Toolchain

arm.gnu.aarch64-none

Board

am62px-sk

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!!