NRF54L15 FLPR Setup - FLPR not running

Hi all,

I am having problems setting up a proper project running the application core and the flpr for nrf54l15. I want to build the FLPR binaries as completely separated project from my cpuapp binaries. There is no MCUboot/bootloader. Just a simple cpuapp application and a single file flpr application. So I use this basic CMake setup.

cmake_minimum_required(VERSION 3.20.0)

if(NOT DEFINED FLPR)
    set(BOARD_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/.)
    set(BOARD "csot/nrf54l15/cpuapp")
    set(SNIPPET "nordic-flpr" CACHE STRING "" FORCE)
    find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
    
    project(csot)
    add_subdirectory(src)
else()
    set(BOARD_ROOT ${CMAKE_CURRENT_SOURCE_DIR}/.)
    set(BOARD "csot/nrf54l15/cpuflpr")
    find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
    
    project(csot-flpr)
    target_sources(app PRIVATE src/flpr_main.cpp)
endif()

The csot/nrf54l15 board config is a copy of the nrf54l15dk board, witch just minimal non relevant changes. I include the nordic-flpr snippet for the cpuapp build and I think got the proper configuration for both builds. I am not sure if I need additional DTS configs for memory layout. It is not clear to me if for this solution I need to handle some sysbuild configuration, partition-manager or anything. 

I flash the images with SEGGER Ozone. When flashing the FLPR zephyr image It seems to get stuck somewhere very early before even entering my main method. The CPUAPP runs just fine.

I tried to follow this guide:

https://docs.nordicsemi.com/bundle/ncs-3.0.2/page/nrf/app_dev/device_guides/nrf54l/building_nrf54l.html#separate_images

Parents Reply Children
No Data
Related