使用M核制作bootloader,不能正常启动问题?

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

使用M核制作bootloader,不能正常启动问题?

Jump to solution
899 Views
飘飘飘飘
Contributor II

hi 你好,

1.s32g开发板,是否可以只下载M核文件,就可以运行起来。
2.我参考S32G_Bootloader_V2-2022.1024_eng.pdf和S32G_Bootloader_G3_LLCELOGGER_V1_2023_12_06.pdf 做了如下操作,不能正常启动?请帮忙check下哪里有问题?
通过SDS32 工具创建了一个M核的工程,生成了一个bin文件,之后通过这个bin文件制作出bootloader 文件下载到开发板,
(参考之前文件需要通过EB单独创建bootloader工程,由于现在基于Freertos平台,没有对应的bootloader工程)

_1-1706682721561.png

 

 

_0-1706682647416.png

传统服务

 

0 Kudos
Reply
1 Solution
849 Views
chenyin_h
NXP Employee
NXP Employee

Hello, @飘飘飘飘

Sorry for the delay.

I am sorry that I did not find obvious issues from you IVT generation process, only the following suggestions for you kindly reference:

  1. Check whether the RAM start pointer and RAM entry pointer are correct, which could reference your own map file from the build directory.
  2. Do not use your self-set start address(0x1200), instead, using the address automatically generated after clicking the automatically align button.
  3. Try the alternative QSPI parameters: C:\NXP\S32DS.3.5\eclipse\mcu_data\processors\S32G399A\PlatformSDK_S32XX_4_0_0\quadspi\default_boot_images\mx25_sim200ddr.bin
  4. If you have a debugger connected to the board, directly run your application with it, to check if it could be running correct, to avoid any bug from the application itself.

 

Best Regards

Chenyin

 

View solution in original post

3 Replies
850 Views
chenyin_h
NXP Employee
NXP Employee

Hello, @飘飘飘飘

Sorry for the delay.

I am sorry that I did not find obvious issues from you IVT generation process, only the following suggestions for you kindly reference:

  1. Check whether the RAM start pointer and RAM entry pointer are correct, which could reference your own map file from the build directory.
  2. Do not use your self-set start address(0x1200), instead, using the address automatically generated after clicking the automatically align button.
  3. Try the alternative QSPI parameters: C:\NXP\S32DS.3.5\eclipse\mcu_data\processors\S32G399A\PlatformSDK_S32XX_4_0_0\quadspi\default_boot_images\mx25_sim200ddr.bin
  4. If you have a debugger connected to the board, directly run your application with it, to check if it could be running correct, to avoid any bug from the application itself.

 

Best Regards

Chenyin

 

881 Views
chenyin_h
NXP Employee
NXP Employee

Hello, @飘飘飘飘

Thanks for the question.

  1. Yes, you may only use the M core when do not need to initialize the A core. One of the main purpose of S32G_Bootloader_vxxx document is to boot the M&A cores simultaneously.
  2. If without bootloader project, I think the application program could also run on the M core if the resources are correctly initialized by your own code, could you help to show the full picture of your IVT tool for reference?

 

Best Regards

Chenyin

0 Kudos
Reply
865 Views
飘飘飘飘
Contributor II

Hi 你好

IVT表格,我只配置了DCD和Application,如下图
其中QuadSPI Serial Flash 选择的是:\Integration_Reference_Examples_S32G3_2022_12\code\framework\realtime\swc\bootloader\platforms\S32G3XX\res\flash\S32G3XX_QuadSPI_133MHz_DDR_configuration.bin
DCD选择的是:\Integration_Reference_Examples_S32G3_2023_02\code\framework\realtime\swc\bootloader\platforms\S32G3XX\res\flash\S32G3XX_DCD_InitSRAM.bin

Application的初始地址0x1200是自己设置的。

_0-1707016481820.png

谢谢

0 Kudos
Reply