S32K388 IPCF example error

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

S32K388 IPCF example error

跳至解决方案
68 次查看
chansookang
Contributor III

Hello,

I am trying the "IPCF_Example_S32K388" by using S32K388-EVB-Q289. Rev B

I followed the user manual IPCF_S32K3_4.2.0_ReleaseNotes_Updated_D2502

and use PEMicro Debugger ( use IPCF_Example_S32K388_Debug_RAM_PNE_group)

But app.tx_count and app.rx_count doesnt change and err = -IPC_SHM_E_NOMEM (-2)

And stop at handle_error() , right after the ipc_shm_init.

Also i tried erasing the shared memory address( 0x2044F000 ~  1000, 0x2049F000 ~ 1000) but same error occurs

My S32DS version is 3.6.0, IPCF 4.2.0, RTD 5.0.0

标记 (1)
0 项奖励
回复
1 解答
37 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @chansookang,

Which debugger do you use?

In the IPCF installation directory:

S32DS\software\PlatformSDK_S32K3\IPCF\example\IPCF_Example_S32K388\

you’ll find a .cmm script for Lauterbach.

danielmartynek_1-1756881972559.png

This script automatically initializes both local and remote memory regions to zero using the following commands:

Data.Set 0x2044F000--0x2044FFFF %quad 0x0 /Verify
Data.Set 0x2049F000--0x2049FFFF %quad 0x0 /Verify

These steps are also documented in the user manual.

danielmartynek_2-1756882045840.png

 

Regards,

Daniel

 

在原帖中查看解决方案

0 项奖励
回复
2 回复数
38 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @chansookang,

Which debugger do you use?

In the IPCF installation directory:

S32DS\software\PlatformSDK_S32K3\IPCF\example\IPCF_Example_S32K388\

you’ll find a .cmm script for Lauterbach.

danielmartynek_1-1756881972559.png

This script automatically initializes both local and remote memory regions to zero using the following commands:

Data.Set 0x2044F000--0x2044FFFF %quad 0x0 /Verify
Data.Set 0x2049F000--0x2049FFFF %quad 0x0 /Verify

These steps are also documented in the user manual.

danielmartynek_2-1756882045840.png

 

Regards,

Daniel

 

0 项奖励
回复
16 次查看
chansookang
Contributor III
Thank you
I initialized each local memory in each core.
I changed the code to initialize both memory in main core and it worked