AM62x MCU+ SDK  10.01.00
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Hello World Project

Introduction

This example just does driver and board initialization and prints the string, Hello World! on UART console.

Supported Combinations

Parameter Value
CPU + OS m4fss0-0 nortos
m4fss0-0 freertos
r5fss0-0 freertos
a53ss0-0 nortos
a53ss0-0 freertos
a53ss0-1 freertos
a53ss0-1 nortos
a53ss1-0 freertos
a53ss1-0 nortos
a53ss1-1 freertos
a53ss1-1 nortos
Toolchain ti-arm-clang
arm.gnu.aarch64-none
Boards am62x-sk, am62x-sk-lp, am62x-sip-sk
Example folder examples/hello_world/

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)
  • Launch a CCS debug session and run the executable, see CCS Launch, Load and Run
  • To run the example on a53ss0-0, a53ss0-1, a53ss1-0 and a53ss1-1 in FreeRTOS-AMP mode, run the hello_world_freertos-amp_sbl_uart_hs_fs.cfg file using SBL UART or load and run through CCS individually

Sample Output

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

Hello World!

FreeRTOS-AMP Sample Output

Attention
Output from a53ss0-1, a53ss1-0 and a53ss1-1 cores are log to the Shared memory, can be viewed via a53ss0-0 on which log reader is enabled

Shown below is a sample output on UART0 console when the application is run,

NOTICE: BL31: v2.11.0(release):v2.11.0-906-g58b25570c
NOTICE: BL31: Built : 16:12:49, Dec 16 2024
Hello World! from a53_core0
[a530-1] 0.000100s : Hello World! from a53_core1
[a531-0] 0.000097s : Hello World! from a53_core2
[a531-1] 0.000084s : Hello World! from a53_core3