How to build GoldVIP Bootloader image correctly

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to build GoldVIP Bootloader image correctly

ソリューションへジャンプ
2,625件の閲覧回数
PaulHu
Contributor II

I followed the instructions of GoldVIP-S32G3-1.13.0 Bootloader User Manual generate Blob_image.bin and load to flash address 0x0 cannot boot up.

I have used EB tresos 27.1.0 generated Bootloader_Configuration.bin.

And run the command generated Bootloader.bin (463KB) then assign it in S32 Design Studio 3.5 IVT view's Application bootloader Image.

Turn out the Blob_image.bin only have 895KB, compare to boot-loader(1291KB) provided in GoldVIP example binaries/ it's quite small.

 

I tried using Hex view to compare Blob_image.bin and boot-loader.

DCD, QuadSPI Parameters, HSE and SYS-IMG Pointer content are same.

Only IVT image points to different addresses of SYS-IMG and Application bootloader, and Application bootloader content are different.

How did the example boot-loader image be generated?

ラベル(1)
0 件の賞賛
返信
1 解決策
1,779件の閲覧回数
Joey_z
NXP Employee
NXP Employee

hi, PaulHu

Sorry for the reply late.

Please check if the IPCF project has the IPCF folder as shown in the following picture, and check if has the SDK as shown the following picture. The lost files come from here.

Joey_z_0-1746513576389.png

Joey_z_1-1746513685636.png

Refer to the Bootloader.map you can find the RAM pointer.

Joey_z_2-1746513795925.png

Hope it can help you.

BR

Joey

元の投稿で解決策を見る

0 件の賞賛
返信
15 返答(返信)
2,545件の閲覧回数
LinaHou
NXP TechSupport
NXP TechSupport

Hi H Paul

I am Lina who had chatted with you this morning.

Per you request, you need to cancel the  Bootloader.bin file which you uploaded.

I have contacted our community admin , they have helped to deleted the file per your request.

Pls upload the new useful one to identify question as you mentioned in our chat if needed.

Pls kindly be advised.

Thank you and have a nice day.

2,570件の閲覧回数
PaulHu
Contributor II

HI @Joey_z :

I tried to follow the instructions in the document.

There're some questions in 5. Prepare images for Cortex-M7 cores.
I had already installed related packages, 
1. Inter_Platform_Communication_Framework_4_10_0
2. FreeRTOS_4_0_3_CD3
3. Real_Time_Drivers_5_0_0
Since my version is S32G3 and DS 3.5, should I install those in document?
Do you have documents and file for S32G3?

Later part of Chapter 5.1
I import examples from SW32G_IPCF_4.10.0_D2405\eclipse\plugins\Ipcf_TS_T40D11M410I0R0\examples\
But there's no mex file inside the project.

0 件の賞賛
返信
2,540件の閲覧回数
Joey_z
NXP Employee
NXP Employee

hi,

Thank you for your reply.

We don't have a direct article for S32G3, but the main process is the same when referring to AN13750 for S32G3. Please also note that the software version should refer more to Release Notes and use a compatible software version.

In addition, you can import example to refer as shown the following picture, then find the .mex file.

Joey_z_0-1744599790917.png

 

Hope it can help you.

BR

Joey

0 件の賞賛
返信
2,523件の閲覧回数
PaulHu
Contributor II

Dear @Joey_z :

I have checked and fulfilled the software prerequisites version in GoldVIP 1.13.0 User-Manual.

I use SW32G_IPCF_4.10.0_D2405.exe to install IPCF.

But there's no mex file inside the examples.

Can you let me know how I can get the example you have?

0 件の賞賛
返信
2,519件の閲覧回数
Joey_z
NXP Employee
NXP Employee

hi,PaulHu

Thank you for your reply.

You should import SW32G_IPCF_4.10.0_DS_updatesite_D2405.zip to S32DS IDE, then you can find the examples.

Joey_z_2-1744614536255.png

Download the SW32G_IPCF_4.10.0_DS_updatesite_D2405.zip.

Joey_z_1-1744613834788.png

BR

Joey

 

 

0 件の賞賛
返信
2,479件の閲覧回数
PaulHu
Contributor II

Dear @Joey_z :

I have download and install the SW32G_IPCF_4.10.0_DS_updatesite_D2405.zip in S32 IDE.
Also installed SW32G_RTD_4.4_5.0.0_D2410_DesignStudio_updatesite.zip and SW32G_FreeRTOS_11.1.0_4.0.3_CD3_D2410_DesignStudio_updatesite.zip.
After I import the example, there's some error I faced.
1. Issue: At least one feature configuration must be enabled when adding the Platform configuration.!
Origin: Peripherals:BOARD_InitPeripherals
Resource: Platform
=> This one I select "Platform Interrupt Controller Configuration" and error solved.
Is this the configuration I should select?

PaulHu_0-1744684601246.png
2. After solving the error in mex file describe in 1., I update code and tried to build project
But it came out with below error messages.
Did I missied something not installed?

../src/sample.c:22:10: fatal error: ipc-shm.h: No such file or directory
22 | #include "ipc-shm.h"
C:/NXP/S32DS.3.5/S32DS/software/PlatformSDK_S32XX_4_0_0/RTD/BaseNXP_TS_T40D11M50I0R0/include/Std_Types.h:50:10: fatal error: Platform_Types.h: No such file or directory
50 | #include "Platform_Types.h"

 

0 件の賞賛
返信
2,442件の閲覧回数
Joey_z
NXP Employee
NXP Employee

hi,PaulHu

Thank you for your reply.

Please note the Software version compatibility. Checked the compatibility between IPCF and RTD, found that the IPCF 4.10.0 is supported on RTD 4.0.2_P04.

Joey_z_0-1744709773659.png

Hope it can help you.

BR

Joey

0 件の賞賛
返信
2,260件の閲覧回数
PaulHu
Contributor II

Dear @Joey_z :

I have tried to align my S32DS software version with IPCF example release note.
SW32G_RTD_4.4_4.0.2_P04_D2312_DS_updatesite.zip
SW32_FreeRTOS_10_4_6_UOS_4_0_2_DS_updatesite_D2307.zip

But still unavailable to build the example, with error
Platform_Types.h: No such file or directory
Std_Types.h: No such file or directory
ipc-shm.h: No such file or directory

0 件の賞賛
返信
2,241件の閲覧回数
Joey_z
NXP Employee
NXP Employee

hi,PaulHu

Thank you for your reply.

Do you have installed the 3.5.3 Development Package in the S32DS IDE as shown in the following picture.

Joey_z_2-1745306171838.png

In addition, could you check the S32DS version by selecting the "About S32 Design Studio for S32 Platform " as shown in the following picture.

Joey_z_0-1745305926064.png

BR

Joey

0 件の賞賛
返信
2,197件の閲覧回数
PaulHu
Contributor II

Dear @Joey_z :
Yes, I do install the SW32_S32DS_3.5.3_D2306.zip, this is the install screen again.

S32DS_3.5.3_Install_Again.png

Here's the screen of the About page

S32DS_3.5.3_About.png

0 件の賞賛
返信
2,002件の閲覧回数
PaulHu
Contributor II

Dear @Joey_z :
I can see Std_Types.h: under RTD plugin & ipc-shm.h under IPCF plugin.
I have tried to re-install the plugin and update using the zip file.
But the project still can find the file.
Do you know how to solve this?

Another question like to ask is about RAM pointer.
How do we determine this to be point at?

PaulHu_0-1746002272953.png

Thanks

0 件の賞賛
返信
1,780件の閲覧回数
Joey_z
NXP Employee
NXP Employee

hi, PaulHu

Sorry for the reply late.

Please check if the IPCF project has the IPCF folder as shown in the following picture, and check if has the SDK as shown the following picture. The lost files come from here.

Joey_z_0-1746513576389.png

Joey_z_1-1746513685636.png

Refer to the Bootloader.map you can find the RAM pointer.

Joey_z_2-1746513795925.png

Hope it can help you.

BR

Joey

0 件の賞賛
返信
1,685件の閲覧回数
PaulHu
Contributor II

Dear @Joey_z :
I change the RAM address to my Bootloader.map address.

And the Blob works fine now.

No need to build IPCF project.

Thanks for the helping.

Another question, can we change to Bootloader.map address?

0 件の賞賛
返信
1,656件の閲覧回数
Joey_z
NXP Employee
NXP Employee

hi,PaulHu

You can try to modify the linkfile.

Joey_z_0-1746693321119.png

Hope it can help you.

BR

Joey

0 件の賞賛
返信
2,610件の閲覧回数
Joey_z
NXP Employee
NXP Employee

hi,PaulHu

You can refer to the AN13750, This AN download link is  AN13750: Enabling Multicore Application on S32G2 using S32G2 Platform Software Integration – Applica...

Hope it can help you.

BR

Joey

0 件の賞賛
返信