Hi,
We don't understand the following part from your request:
"In our case after flashing M7 project bin file to RDB2 sometimes bootrom messages will come and sometimes no messages on A53 console:
Might these from Bootrom:
NOTICE: Reset status: Power-On Reset
NOTICE: BL2: v2.5(release):bsp33.0.hf1-2.5-dirty
NOTICE: BL2: Built : 13:13:01, Aug 11 2022
NOTICE: BL2: Booting BL31."
The messages you are showing are from the A53 booting linux (not the BootROM), which should be available on the SD card on your board. As we said before, if your "Application Bootloader" does not boot-up your A53 core, then you will not see any Linux console on the UART0 port.
As you are saying, you are running the CAN2CAN project provided on the RTD+LLCE Firmware, which does NOT boot-up the A53 core, meaning you should not see any output from the UART0 regarding Linux.
Q1 >> Then in that case our M7 project bin file writing in Bootrom or Application bootloader ??
A1 >> Your project will not be written on the BootROM of the S32G platform, the BootROM is not available to modifications. The steps of the Boot flow are shown on the Boot chapter on the S32G2 reference manual.
In summary:
- BootROM will fetch the code provided on the IVT and configure the minimal system for the system to be able to fetch the code and start the application that was copied to internal SRAM.
- The code provided on the IVT will be your "Application Bootloader", which will be in charge of initializing other cores on the platform (if needed) as well as initialize/configure the needed modules for your specific application.
- If your application bootloader does not explicitly configure other cores to initialize, they will NOT be initialized.
As for the "RAM Entry pointer", we recommend following the "intc_vector" value (or "Reset_Handler", depending on your application specifics), instead of using the "RAM Start pointer" value, this is following NXP examples. This is shown on the AN13750 (mentioned previously) when creating the application bootloader.
Q2 >> flashing M7 project bin file flashing through Application bootloader column with interface QSPI is it correct ?? will it goes to NORflash for M7 external memory ??
A2 >> If you are looking to boot your platform from the QSPI interface (which is connected to the onboard NOR Flash on the RDB2), then it should be correct.
Please, let us know.