This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

phyBOARD-Electra AM64x M4F Core


The AM64x phyBOARD-Electra board configuration is used by Zephyr applications that run on the TI AM64x platform. The board configuration provides support for the ARM Cortex-M4F MCU core and the following features:

  • Nested Vector Interrupt Controller (NVIC)

  • System Tick System Clock (SYSTICK)

The board configuration also enables support for the semihosting debugging console.

See the PHYTEC AM64x Product Page for details.

phyBOARD-Electra AM64x

PHYTEC phyBOARD-Electra with the phyCORE-AM64x SoM


The AM64x phyBOARD-Electra kit features the AM64x SoC, which is composed of a dual Cortex-A53 cluster and two dual Cortex-R5F cores in the MAIN domain as well as a single Cortex-M4 core in the MCU domain. Zephyr is ported to run on the M4F core and the following listed hardware specifications are used:

  • Low-power ARM Cortex-M4F

  • Memory

    • 256KB of SRAM

    • 2GB of DDR4

  • Debug

    • XDS110 based JTAG

Supported Features

The phyboard_electra/am6442/m4 configuration supports the following hardware features:






nested vector interrupt controller













Other hardware features are not currently supported by the port.


System Clock

This board configuration uses a system clock frequency of 400 MHz.


The board has 2GB of DDR RAM available. This board configuration allocates Zephyr 4kB of RAM (only for resource table: 0xa4100000 to 0xa4100400).

Serial Port

This board configuration uses a single serial communication channel with the MCU domain UART (MCU_UART0).


The phyCORE-AM64x has a heartbeat LED connected to gpio6. It’s configured to build and run the basic/blinky sample.

SD Card

Download PHYTEC’s official WIC as well as BMAP and flash the WIC file with an etching software onto an SD-card. This will boot Linux on the A53 application cores of the SoM. These cores will then load the zephyr binary on the M4 core using remoteproc.

The default configuration can be found in boards/phytec/phyboard_electra/phyboard_electra_am6442_m4_defconfig


The Linux running on the A53 uses the remoteproc framework to manage the M4F co-processor. Therefore, the testing requires the binary to be copied to the SD card to allow the A53 cores to load it while booting using remoteproc.

To test the M4F core, we build the Hello World sample with the following command.

# From the root of the zephyr repository
west build -b phyboard_electra/am6442/m4 samples/hello_world

This builds the program and the binary is present in the build/zephyr directory as zephyr.elf.

We now copy this binary onto the SD card in the /lib/firmware directory and name it as am64-mcu-m4f0_0-fw.

# Mount the SD card at sdcard for example
sudo mount /dev/sdX sdcard
# copy the elf to the /lib/firmware directory
sudo cp --remove-destination zephyr.elf sdcard/lib/firmware/am64-mcu-m4f0_0-fw

The SD card can now be used for booting. The binary will now be loaded onto the M4F core on boot.

To allow the board to boot using the SD card, set the boot pins to the SD Card boot mode. Refer to phyBOARD SD Card Booting Essentials.

The board should boot into Linux and the binary will run and print Hello world to the MCU_UART0 port.