Hello All.
I wanted to know how to Boot Cortex-M7 onboard S32G2.
And I want to run a baremetal application on it without any RTOS.
How do I proceed, any reference documents for booting the M7 core and running a baremetal program on it?
Thanks in advance.
BR
Arun
解決済! 解決策の投稿を見る。
Hello, @arun_belamge
Thanks for your reply.
1. From NXP formal software view, the only SDK that provided for M7 side is the RTD
2. If you are willing to program on your board with true baremetal way, you may directly trying the low-level APIs lie at the bottom level of MCAL
I feel sorry that there is no such document provided for your reference, I suggest referencing the code/MCAL UMs directly.
BR
Chenyin
Hello, @arun_belamge
Thanks for your reply.
1. From NXP formal software view, the only SDK that provided for M7 side is the RTD
2. If you are willing to program on your board with true baremetal way, you may directly trying the low-level APIs lie at the bottom level of MCAL
I feel sorry that there is no such document provided for your reference, I suggest referencing the code/MCAL UMs directly.
BR
Chenyin
Hello Chenyin.
Thanks for the suggestion.
Can you point me to any reference document which shows "How to boot only the Cortex - M7 core?".
Once I am able to boot the M7 core, I will try to directly access the hardware by using the low level APIs to run my program.
Thank you!
BR
Arun
Hello, @arun_belamge
Thanks for your reply.
For only booting the board via M7 side, most of the examples shown in the RTD could be used, you may reference the beginning phase code from the example for details(for example, you may refer to the gmac example, but ignoring the network part, only focus on the booting phase steps/APIs)
Besides, there is also a M7 bootloader example shown in the GoldVIP package, which is a full M7 bootloader sample for booting the S32G2.
BR
Chenyin
Hello, @arun_belamge
Thanks for your post.
It is supported running application without RTOS on S32G2.
I suggest referencing the following document as a start once holding a reference board from NXP.
https://www.nxp.com/webapp/Download?colCode=S32G-VNP-RDB2-SW-UG
BR
Chenyin
Hello Chenyin.
Thanks for your response.
From the document you shared, I can see that the example application runs on MCAL which I can use for running my Baremetal application, but I fear it will introduce a performance overhead.
Is there a way to directly work on the hardware (truly baremetal) without any high level abstraction layers involved?
I am currently using the S32G274AEVB.
Thank you!
BR
Arun