cancel
Showing results for 
Search instead for 
Did you mean: 

STM32N6570-DK – FSBL & Application Binary Handling and Jump to Application

Selvarasu_K
Associate II

I am able to flash the binary into external flash memory successfully. However, I am facing issues with handling multiple binaries and execution flow.

Issues:

  1. FSBL & Application Binary Flashing
    I have two separate binaries (FSBL and Application). I am able to flash only one binary at a time.
    Kindly guide how to flash both binaries properly (same address 0x70000000 or different memory sections like 0x70010000).
  2. Jump to Application
    FSBL should run first and then jump to the Application.
    Kindly explain how to implement the jump to application correctly and ensure proper execution flow.
  3. Project Structure & Peripheral Allocation
    The project has multiple layers (FSBL, Application, External loader).
    For reference i tried the suggested example project VENC_RTSP_Server does not include .ioc file, so i didn't get clarity to enable peripherals in which sub projectes.
    Kindly clarify:
    • How these layers work together
    • Which functionalities/peripherals should be handled in each layer

These issues are blocking further progress. Kindly provide clear guidance or reference.

1 REPLY 1
FBL
ST Employee

Hi @Selvarasu_K 

Did you refer to this article How to create an STM32N6 FSBL load and run? It should be helpful to get started and refer to section 2.2 Second demo with FSBL and application specifically, as you need to configure XSPI interface in FSBL context to be able to  copy the application content from the external FLASH to internal RAM, and execute the code from there. 

I hope it's clear!

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.




Best regards,
FBL