Problems in using S32DS for MPC5744P, my operation processure is attached

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

Problems in using S32DS for MPC5744P, my operation processure is attached

1,152 Views
nathan_
Contributor IV

Hello,

I am new to S32DS, and I met some problems in using the software.

I printed the screen when I use the software and upload my operation processure in the attached word document.

I hope someone can see it and help me to use the software correctly.

Thank you very much.

0 Kudos
5 Replies

860 Views
martin_kovar
NXP Employee
NXP Employee

Hello,

1) Yes, this is correct procedure. In project wizard, you can also choose between EWL and NewLib libraries.

2) For compile the project, use hammer icon in upper left corner. You can choose between debug, debug_ram and release target.

3 The example you downloaded had been created in GreenHills Multi IDE and these cannot be imported to S32DS directly. I recommend you to create new project in S32DS and migrate the whole project manually. This is also answer for your question 4.

Regards,

Martin

0 Kudos

860 Views
nathan_
Contributor IV

Thank you very much.

I tried to migrate the whole example and complie it, but after I copy all the files from the example to the new project and complie it in debug_ram,

a lot of errors occurs.the following picture is the files in the origin example. the files in the origin example.png 

the following picture is what happened when I migrate the files to the new project "test531"what happened after i compile the new project.png

a lot of errors occurs in the ghs file and source file.

I wonder how to solve the problem and compile the example correctly?

thank you

0 Kudos

860 Views
martin_kovar
NXP Employee
NXP Employee

Hello,

unfortunately, it is not so easy to migrate the project. You cannot simply copy whole project from GreenHills to S32DS and compile it, because there are many points which are compiler dependent.

I recommend you to create new project in S32DS and migrate only main.c file. Be careful about xcptn_xmpl () which serves to configure and enable interrupts (this function is not in GreenHills IDE). Also if the example uses interrupts, you must migrate interrupt service handlers. This are located in  intc_SW_mode_isr_vectors_XXX.c file.

I think the best way is to download PinToggleStationery project for MPC5744P created in S32DS, load this project into the microcontroller and debug it. This shows you, what is in startup, how interrupts and exceptions are configured and finally, you should be able to recognize, what is independent code and what code must be preserve for correct example working. 

Hope it helps.

Best Regards,

Martin

0 Kudos

860 Views
nathan_
Contributor IV

Thanks a lot for your help.

I downloaded the PinToggleStationery project for MPC5744P and tried to compile it, as the following picture

compile the PinToggleStationary.png

I found some errors in three .c files which is shown in the picture above. It all says some symbols cound not be resolved,such as the  kUARTNoError, kUARTNoData and so on.

May I ask what should I do to deal with these errors to debug this project? Is there any newest version of the PinToggleStationary?

Best regards.

Nathan

0 Kudos

860 Views
martin_kovar
NXP Employee
NXP Employee

Hello Nathan,

please ignore these errors. Those are some parsing errors which are caused by incorrect parses state machine in eclipse. Even if these errors are reported, .elf file is correctly created and whole project is compiled correct.

Regards,

Martin

0 Kudos