How to import Greenhills generated files into S32D and debug

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to import Greenhills generated files into S32D and debug

1,715 Views
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?

Labels (1)
0 Kudos
3 Replies

1,097 Views
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 Kudos

1,097 Views
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 Kudos

1,097 Views
xingruid
Contributor II

Hi Martin,

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

Thanks.

Regards,

Ruidong

0 Kudos