Errors met when compiling external interrupt for MPC5775K

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

Errors met when compiling external interrupt for MPC5775K

1,167 Views
yongzhiliu
Contributor I

Dear sir:

      When I am compiling external interrupt program for MPC5775K,  refered to the example "Example-MPC5775K-PIT-ISR-v1_0-GHS614", using S32DS Power2.1, I met these error compile result (fig 1). These errors (fig 2 and 3) come from file "Vector_SW_VLE - Z4.s" . The file had not been edited,but why those error ? How to solve these problems?

   Thanks and regards.

 

yongzhiliu_0-1760966712238.png

yongzhiliu_1-1760966839658.pngyongzhiliu_2-1760966900463.png

 

 

0 Kudos
Reply
2 Replies

1,130 Views
lukaszadrapa
NXP TechSupport
NXP TechSupport

Hi @yongzhiliu 

"Example-MPC5775K-PIT-ISR-v1_0-GHS614", as the suffix suggests, is a project for GreenHills MULTI IDE, not for S32 Design Studio. The syntax is different.
It's necessary to create new project in S32DS and use startup files and files related to interrupts/exceptions from S32DS project.
You can take a look at project like this to see how to handle interrupts in S32DS:
https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Example-MPC5775K-DSPI-with-interrupts-S32DS-1-0/...
Other examples can be found here:
https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/MPC5-software-example-list/ta-p/1102445

And the main thing - MPC5775K is not available for mass market, it cannot be ordered. Therefore we do not provide support for this device. Take a look at replacement like this or newer:
https://www.nxp.com/products/processors-and-microcontrollers/s32-automotive-platform/s32r-radar-proc...

Regards,
Lukas

0 Kudos
Reply

1,126 Views
yongzhiliu
Contributor I

Thank you very much. Your advice is very very helpful!

Thanks & regards.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2189227%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EErrors%20met%20when%20compiling%20external%20interrupt%20for%20MPC5775K%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2189227%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EDear%20sir%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20When%20I%20am%20compiling%20external%20interrupt%20program%20for%20MPC5775K%2C%26nbsp%3B%26nbsp%3Brefered%20to%20the%20example%20%22Example-MPC5775K-PIT-ISR-v1_0-GHS614%22%2C%20using%20S32DS%20Power2.1%2C%20I%20met%20these%20error%20compile%20result%20(fig%201).%20These%20errors%20(fig%202%20and%203)%20come%20from%20file%20%22Vector_SW_VLE%20-%20Z4.s%22%20.%20The%20file%20had%20not%20been%20edited%2Cbut%20why%20those%20error%20%3F%20How%20to%20solve%20these%20problems%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%20%26nbsp%3BThanks%20and%20regards.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22yongzhiliu_0-1760966712238.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22yongzhiliu_0-1760966712238.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F361665i38B191070BE46BD5%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22yongzhiliu_0-1760966712238.png%22%20alt%3D%22yongzhiliu_0-1760966712238.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22yongzhiliu_1-1760966839658.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22yongzhiliu_1-1760966839658.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F361666iE06B637A2CD45040%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22yongzhiliu_1-1760966839658.png%22%20alt%3D%22yongzhiliu_1-1760966839658.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22yongzhiliu_2-1760966900463.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22yongzhiliu_2-1760966900463.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F361667iCEA4D9C93811C7AE%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22yongzhiliu_2-1760966900463.png%22%20alt%3D%22yongzhiliu_2-1760966900463.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E