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.
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.
Parameter | Value |
---|---|
CPU + OS | r5fss0-0 nortos |
r5fss0-1 nortos | |
r5fss1-0 nortos | |
r5fss1-1 nortos | |
m4fss0-0 nortos | |
Toolchain | ti-arm-clang |
Boards | am243x-evm, am243x-lp |
Example folder | examples/drivers/sciclient/sciclient_get_version |
Shown below is a sample output when the application is run,