How to standalone running FlexCAN_Ip_Example_S32G399A_M7 on s32g3 target brd ?

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

How to standalone running FlexCAN_Ip_Example_S32G399A_M7 on s32g3 target brd ?

跳至解决方案
1,133 次查看
fengxianeric
Contributor IV

I compiled m7 core binary file FlexCAN_Ip_Example_S32G399A_M7.elf, but have no idea to run it as standalone service (to control sth).

BTW,  my purpose is that m7 image can be running as can message receiver end from A53 core command line app as sender.

0 项奖励
回复
1 解答
956 次查看
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

There is no guidelines nor documentation for this loading process to the M7 core.

If you are following the IPCF example and it is working, that is great. If not, the IVT creation and Blob image is the recommended process.

Please, let us know.

在原帖中查看解决方案

0 项奖励
回复
9 回复数
1,123 次查看
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Are you using S32DS? If so, you can debug the application with the provided S32Debugger configuration. If you are using tresos, there is a Lauterbach script that should be provided.

If you are trying to communicate both M7 and A53 core, we recommend the IPCF driver, since it is the main feature that it provides.

Please, let us know.

0 项奖励
回复
1,107 次查看
fengxianeric
Contributor IV

Thanks.

To run image by debugger I already gave a trial on it, but it is not my point because it is not the good way to demonstrate, I just want to let m7 core do command msg translater to control flexcan interface. thanks again

0 项奖励
回复
1,094 次查看
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Thanks for your feedback.

FlexCAN example is provided as an internal-loop from NXP, there are no examples that use the external transceiver from within the FlexCAN module.

The examples that use the external transceiver are the ones provided under the LLCE package.

Please, let us know.

0 项奖励
回复
1,020 次查看
fengxianeric
Contributor IV

Thanks.

Yes I saw the llce project code, but still have no idea on how to make it run independently ?

0 项奖励
回复
995 次查看
fengxianeric
Contributor IV

I mean power-on running or commands activate it, not debugging method, thanks.

0 项奖励
回复
1,006 次查看
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Thanks for your feedback.

When you say "no idea on how to make it run independently", what are you referring to?

The examples can be run from the M7 core, no problem from our side.

Please, let us know.

0 项奖励
回复
988 次查看
fengxianeric
Contributor IV

BTW, for current stage it is acceptable for us to invoke it with similar ipcf testing instance method (startm7).

0 项奖励
回复
976 次查看
fengxianeric
Contributor IV

Could you please correct me for my testing method ?  I learned this from ipcf sw stack. Thanks.

-------------------------------------------

=> dcache off
=> ping 192.168.1.38
Failed to get speed of XPCS for emac1_xpcsPFEng firmware file 'mmc@0:1:s32g_pfe_class.fw' loading failed: -2
eth_eqos Waiting for PHY auto negotiation to complete....... done
Using eth_eqos device
host 192.168.1.38 is alive
=> mw.q 0x34000000 0x0 0x100000
=> tftp 0x8000000 Can_Llce_DS_Can2Can_S32G399A_M7.bin
Using eth_eqos device
TFTP from server 192.168.1.38; our IP address is 192.168.1.100
Filename 'Can_Llce_DS_Can2Can_S32G399A_M7.bin'.

TFTP error: trying to overwrite reserved memory...
=> tftp 0x8000000 Can_Llce_DS_Can2Can_S32G399A_M7.bin
Using eth_eqos device
TFTP from server 192.168.1.38; our IP address is 192.168.1.100
Filename 'Can_Llce_DS_Can2Can_S32G399A_M7.bin'.

TFTP error: trying to overwrite reserved memory...
=> tftp 0x80000000 Can_Llce_DS_Can2Can_S32G399A_M7.bin
Using eth_eqos device
TFTP from server 192.168.1.38; our IP address is 192.168.1.100
Filename 'Can_Llce_DS_Can2Can_S32G399A_M7.bin'.
Load address: 0x80000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
###################################################
1.5 MiB/s
done
Bytes transferred = 5505032 (540008 hex)
=> cp.q 0x80000000 0x34300000 0x60000
=> startm7 0x34381000
Starting CM7_0 core at SRAM address 0x34381000 ... done.
=> NOTICE: Reset status: Power-On Reset

0 项奖励
回复
957 次查看
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

There is no guidelines nor documentation for this loading process to the M7 core.

If you are following the IPCF example and it is working, that is great. If not, the IVT creation and Blob image is the recommended process.

Please, let us know.

0 项奖励
回复