qspi running pfe_master project

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

qspi running pfe_master project

343 次查看
youke
Contributor III

Hi,NXP

I'm testing the S32G with rdb2 hardware, I haven't found a M core pfe master program that I can run on qspi, I just want the M core to be able to send out udp data via pfe just fine, is there a routine for that?

BR.

0 项奖励
回复
12 回复数

197 次查看
chenyin_h
NXP Employee
NXP Employee

Hello, @youke 

Thanks for your feedback

You mean that the PFE master with LWIP project works fine from your side via debugger, but failed for QSPI boot when flashed to the QSPI?

May I know which CMM file you used to test the elf file? and share the steps for generating blob image from raw binary.

 

BR

Chenyin

0 项奖励
回复

193 次查看
youke
Contributor III

Hi,chenyin

I tested debugging with PFE-DRV_S32G_M7_MCAL_1.3.0\example_application\run_main_RDB2.cmm and it works correctly;
Test qspi startup by adding the blob file as follows:

youke_0-1760083073438.png

 

BR.

0 项奖励
回复

165 次查看
chenyin_h
NXP Employee
NXP Employee

Thanks, @youke 

Would you mind sharing the map file with me to have a check?

 

BR

Chenyin

0 项奖励
回复

162 次查看
youke
Contributor III

Hi,chenyin

Map file uploaded, please confirm

BR.

0 项奖励
回复

156 次查看
chenyin_h
NXP Employee
NXP Employee

Hello, @youke 

Thanks for your reply.

Would you mind changing the RAM start pointer to also 0x34390000 and have another trial?

 

BR

Chenyin

0 项奖励
回复

149 次查看
youke
Contributor III

Hi, chenyin

I followed your test modification and it didn't boot successfully (the code turned on uart1 to output the log, no associated log prints after power up)

 

BR.

0 项奖励
回复

144 次查看
chenyin_h
NXP Employee
NXP Employee

Hello, @youke 

Thanks for your reply.

May I know if it is possible to share the elf/raw binary/linker file used? I would help to check it.

If it is not convenient to share it in this public community,  please tell me and I could help to create private sessions.

 

BR

Chenyin

0 项奖励
回复

70 次查看
youke
Contributor III

Hi, chenyin

This is the relevant document.

0 项奖励
回复

51 次查看
chenyin_h
NXP Employee
NXP Employee

Hello, @youke 

Thanks for your reply.

I have checked the image you shared, seems there is something wrong in clock init during QSPI boot, not sure what you may had modified upon the default settings? 

 

BR

Chenyin

0 项奖励
回复

27 次查看
youke
Contributor III

Hi, chenyin

I haven't made any corresponding modifications to the initialization code; I only commented out some unused functions in the main function.
These are the QSPI-related parameters in IVT. Could they have an impact?
What other modifications do I need to make?

youke_0-1760424551817.png

BR.

0 项奖励
回复

301 次查看
chenyin_h
NXP Employee
NXP Employee

Hello, @youke 

Thanks for your post.

Since UDP is based on IP protocol, for sending UDP packet via PFE from M core's perspective, you need to combine the PFE driver and IP stack together(for example, LWIP),  I suggest referencing the demo that mentioned from example_application directory of the PFE MCAL for details.

chenyin_h_0-1759219361788.png

 

BR

Chenyin

 

 

BR
Chenyin

0 项奖励
回复

214 次查看
youke
Contributor III

Hi,chenyin

I have tested this routine, I now want to simply run through the ping test, I tested the cmm debugging and it works, but I can't get it to start after I flushed it to QSPI, do you have a pfe master routine available for qspi?

BR.

0 项奖励
回复