How to config S32G3 M7 Bootloader using EB?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to config S32G3 M7 Bootloader using EB?

Jump to solution
1,604 Views
lihongjun
Contributor III

Dear NXP,

My company have a S32G-VNP-RDB3 board, and I am trying to build images which can boot from M7 core and run IPCF demos from A53 cores(Linux based) and M7 cores(Autosar based) on it. I tried the similar steps introduced by NXP document AN13750 for S32G2.

I have successfully built 1) the Linux BSP, and the board can boot Linux from a SD card; 2) the IPCF_Example_multi_instance_S32G399_M7_0/1 samples in S32DS3.5.

But when I tried to build the bootloader by EB, I was confused about how to config the boot cores and sources after I imported the Bootloader_S32G3XX_ASR_4.4_M7 project from  Integration_Reference_Examples_S32G3_2023_02 folder. The UI seems quite different from the one shown in AN13750 for S32G2.

My questions are: how to config and build the M7 bootloader, and what is the subsequent steps should I do to realize my goal described above? And is there any document provided by NXP for these?

Thanks & best regards.

0 Kudos
Reply
1 Solution
1,526 Views
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

It seems that you have not copied the provided plugins under the "Integration_Reference_Examples_S32G3_2023_02" folder:

"C:\nxp\Integration_Reference_Examples_S32G3_2023_02\applications\realtime\Tresos\eclipse\plugins"

These plugins should be added to the plugins folder under Tresos installation, then restarted for the plugins to be taken into account.

As for Tresos version, we seem to understand that it should be supported:

DanielAguirre_0-1697479726014.png

Please, let us know.

View solution in original post

0 Kudos
Reply
5 Replies
1,583 Views
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Can you elaborate more on the "The UI seems quite different from the one shown in AN13750 for S32G2." comment? Which EB Tresos version are you using?

As for your questions, the AN13750 still describes the required steps to configure the M7 bootloader under EB Tresos, we have followed it with success under EB Tresos 28.2 and the project from Integration_Reference_Examples_S32G3_2023_02. Some steps can be skipped, since the modifications can be already done or even N/A. But the general idea can be still abstracted from the AN.

The difference comes when creating the IVT, since the RAM start pointer/entry pointer are different under the S32G3 bootloader and the S32G2 bootloader.

For S32G2, the address for both pointers is 0x34700000, as mentioned under the AN13750. For S32G3, looking into the *.map file, the address for both pointers should be 0x35300000.

As for a document specific for S32G3, we understand that it is still not available. We do apologize.

Please, let us know.

0 Kudos
Reply
1,549 Views
lihongjun
Contributor III

Some more information:

After I import the bootloader project, there is no ecuc item in project explorer view, so I right click the Cortex-M item and choose load configuration, in the choose behavior after error window, I click the Remove all Faulty Modules button. Then load result shows:

lihongjun_0-1697442194670.png

It seems that the bootloader wasn't loaded correctly...

I don't know why this issue happen. Is it caused by EB tresos version being too old? If so, could you please help me to download EB tresos 28.2?

Thanks.

 

0 Kudos
Reply
1,527 Views
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

It seems that you have not copied the provided plugins under the "Integration_Reference_Examples_S32G3_2023_02" folder:

"C:\nxp\Integration_Reference_Examples_S32G3_2023_02\applications\realtime\Tresos\eclipse\plugins"

These plugins should be added to the plugins folder under Tresos installation, then restarted for the plugins to be taken into account.

As for Tresos version, we seem to understand that it should be supported:

DanielAguirre_0-1697479726014.png

Please, let us know.

0 Kudos
Reply
1,520 Views
lihongjun
Contributor III

The BootLoader config item appears after I copied file as you told.

Thank you.

0 Kudos
Reply
1,562 Views
lihongjun
Contributor III

Thank for your reply.

My EB Tresos version is 27.1.0, installed along with S32G3 software bundle.

For detail information about bootloader config,: 

In AN13750 it says the cores and boot sources can be configured in EB:

lihongjun_0-1697426714100.png

But after I load the S32G3 M7 bootloader project into EB,  the config UI is like this:

lihongjun_1-1697426821712.png

I don't know how to config the cores, boot sources and other parameters for it.

 

Thanks.

0 Kudos
Reply