AM273x MCU+ SDK  08.06.00
SDL RESET Example

Introduction

This example demonstrates-

  1. How to check SoC latest reset cause.
  2. How to check Warm reset cause for R5F Core.
  3. How to assert Warm reset for SoC.
  4. How to assert Local reset for individually DSP Core.

Use Cases

  • Assert Warm reset and check latest reset cause.
  • Assert Local reset for DSP core individually.

Supported Combinations

Parameter Value
CPU + OS r5fss0-0 nortos
Toolchain ti-arm-clang
Board am273x-evm
Example folder examples/sdl/reset/reset_mcu/

Steps to Run the Example

  • 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)

The above two methods can be used only for building example, but for loading and running, need to follow the below method only.

See Also

RESET

Sample Output

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

Starting QSPI Bootloader ...
[BOOTLOADER_PROFILE] Boot Media : NOR SPI FLASH
[BOOTLOADER_PROFILE] Boot Media Clock : 80.000 MHz
[BOOTLOADER_PROFILE] Boot Image Size : 30 KB
[BOOTLOADER_PROFILE] Cores present :
r5f0-0
[BOOTLOADER PROFILE] System_init : 486us
[BOOTLOADER PROFILE] Drivers_open : 17us
[BOOTLOADER PROFILE] Board_driversOpen : 2705us
[BOOTLOADER PROFILE] CPU load : 1825us
[BOOTLOADER_PROFILE] SBL Total Time Taken : 5034us
Image loading done, switching to application ...
Power on Reset is happened.
Foe R5F core, Reset cause is Warm Reset asserted by Power on Reset.
SW is asserting Warm reset.....
Starting QSPI Bootloader ...
[BOOTLOADER_PROFILE] Boot Media : NOR SPI FLASH
[BOOTLOADER_PROFILE] Boot Media Clock : 80.000 MHz
[BOOTLOADER_PROFILE] Boot Image Size : 30 KB
[BOOTLOADER_PROFILE] Cores present :
r5f0-0
[BOOTLOADER PROFILE] System_init : 486us
[BOOTLOADER PROFILE] Drivers_open : 17us
[BOOTLOADER PROFILE] Board_driversOpen : 2705us
[BOOTLOADER PROFILE] CPU load : 1825us
[BOOTLOADER_PROFILE] SBL Total Time Taken : 5034us
Image loading done, switching to application ...
Due to SW, Warm Reset is happened.
Foe R5F core, Reset cause is Warm Reset asserted by Software.
DSP local reset is asserted.