how to download a firmware into the external flash of S32R294

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

how to download a firmware into the external flash of S32R294

跳至解决方案
7,688 次查看
HyunungPark
Contributor III

Currently, I am using S32R294.

and I want to download the external flash of S32R294 from S32 Design Studio for Power Architecture.

As I know, the code of external flash is copied to SRAM when boot because there is no internal flash in s32r294.

Please let me know the document for the above two items.

BRs.

Hyunung Park

0 项奖励
回复
1 解答
7,642 次查看
jiri_kral
NXP Employee
NXP Employee

S32DS is based on Eclipse, which is universal tool. Run button is trying to execute build target on machine, where S32DS is running - in this particular case - Run is trying to execute Power PC .elf file on your PC. 

 

Unfortunately I don't have S32R294 EVB fort test, but by pressing Debug button PE Micro should upload binary part of .elf file into external QSPI flash. 

 

You can find S32R294 User Guide in help folder - S32R294_Development_Package_User_Guide.pdf

在原帖中查看解决方案

0 项奖励
回复
8 回复数
7,679 次查看
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi Hyunung,

there's QSPI memory MX25U25645GXDQ00 on S32R294-RADB board.

This memory is supported by S32DS:

lukaszadrapa_0-1662362108293.png

 

Regards

Lukas

0 项奖励
回复
7,675 次查看
HyunungPark
Contributor III

Dear lukaszadrapa.

Thank you for your response.

I have two questions.

Q1. Is the firmware downloaded to MX25U25645GXDQ00 as default when an application runs?

       what should I do to download to MX25U25645GXDQ00?

Q2. An error happens when an application runs or "Error with command: gdb --version" happens when an application runs as debug.

what should I do to resolve this issue?

 

BRs.

Hyunung Park

    

0 项奖励
回复
7,668 次查看
HyunungPark
Contributor III

Dear lukaszadrapa.

Please find the attached file.

BRs.

Hyunung Park

0 项奖励
回复
7,657 次查看
jiri_kral
NXP Employee
NXP Employee

Hi, 

it looks that you are trying execute Power PC .elf file on x_64 machine. You need to setup debug session for uploading an elf file into device. 

0 项奖励
回复
7,651 次查看
HyunungPark
Contributor III

Hi,

Currently, I use S32R294-EVB.

I don't know how to upload the firmware into the device like your response.

Could you please let me know how to set setup debug session to upload into the device?

0 项奖励
回复
7,646 次查看
jiri_kral
NXP Employee
NXP Employee

Hi, 

 

I'm not sure what is your debug probe - let's assume that you have PE Micro Multilink FX. You can select Debug Configurations here: 

s32ds_2022-09-06_09-31-18.png

 

 

Select your debug probe, check the programming algorithm and simply press the Debug button: 

s32ds_2022-09-06_09-36-44.png

If you are new in S32DS - good starting point is Help folder - with default install path located in c:\NXP\S32DS_Power_v2.1\S32DS\help\

 

 

0 项奖励
回复
7,642 次查看
HyunungPark
Contributor III

Hi.

I think that a debug configuration sets normally like the below picture.

I select the debug and run button.

In the case of debug button, the application runs normally.

But in the case of the run button, the application doesn't run normally.

Could you please let me know what is problems?

and I have one question.

Does the firmware download into the external flash?

제목 없음.png

BRs.

Hyunung Park

0 项奖励
回复
7,643 次查看
jiri_kral
NXP Employee
NXP Employee

S32DS is based on Eclipse, which is universal tool. Run button is trying to execute build target on machine, where S32DS is running - in this particular case - Run is trying to execute Power PC .elf file on your PC. 

 

Unfortunately I don't have S32R294 EVB fort test, but by pressing Debug button PE Micro should upload binary part of .elf file into external QSPI flash. 

 

You can find S32R294 User Guide in help folder - S32R294_Development_Package_User_Guide.pdf

0 项奖励
回复