How to import Greenhills generated files into S32D and debug

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

How to import Greenhills generated files into S32D and debug

1,819 次查看
xingruid
Contributor II

Greenhills does not support using PEMicro to debug MPC5744P but S32D support.

I guess if it is possable that import Greenhills generated files into S32D, and use S32D+PEMicro to debug. If it is possable, which files need to be imported and how to operate on the details?

标签 (1)
0 项奖励
3 回复数

1,201 次查看
stanish
NXP Employee
NXP Employee

Hello,

Yes it's possible to program GHS executable into the device but debugging GHS generated project with P&E GDB has some limitations, see e.g.

https://community.nxp.com/message/850410 

Regards,

S.

0 项奖励

1,201 次查看
martin_kovar
NXP Employee
NXP Employee

Hello,

try to look at the article below and use .elf file from GreenHills compiler. I think you should be able to load the elf into the microcontroller and also debug it in case you use DWARF 2.0 standard for debug information.

https://community.nxp.com/docs/DOC-332252?sr=search&searchId=0c1a670b-f5b4-40fb-bc50-83d018dcc743&se... 

Please try and let me know if it works.

Regards,

Martin

0 项奖励

1,201 次查看
xingruid
Contributor II

Hi Martin,

Sorry for my delay, the method you provided is useful.

Thanks.

Regards,

Ruidong

0 项奖励