Tresos - Load Configuration Error - MPC5777C MCAL

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

Tresos - Load Configuration Error - MPC5777C MCAL

1,368 Views
HMughal
Contributor II

Hello, 

I'm trying to load the 'MPC5777C_MCAL4_3_RTM_1_0_0' sample application into Tresos, but encounter this error when I try to 'Load Configuration' (Shown below). 

Tresos Version: 25.1.1
MCAL: SW5777C-SMCL431-RTMC-1.0.0

Any guidance is appreciated.

HMughal_0-1667925827858.png

 

Tags (2)
0 Kudos
7 Replies

1,328 Views
HMughal
Contributor II

Hello, 

Thank you for your reply. I've been able to 'Load Configuration' on Tresos for the project 'MPC5777C_MCAL4_3_RTM_1_0_0' application. 

I'm now trying to build the project using S32DS. I've modified the 'Launch.bat' file as mentioned in the AN13063 document. But, I keep receiving the error message below. I'm also following the instructions mentioned in this video: 

https://www.nxp.com/video/introduction-to-nxp-autosar-mcal-software:AUTOSAR-OnDemand-Training-Video

Please advise on the necessary steps to build the sample project in order to flash onto the MPC5777C/MPC5775E. 

HMughal_0-1668613119395.png


TYIA




0 Kudos

1,322 Views
cuongnguyenphu
NXP Employee
NXP Employee

can you share the project that you modified launch.bat.
The error said that it doesn't recognize make.exe, so you need to provide compiler directory until make.exe from launch.bat or put it in path environment of your PC
For example in my PC:

cuongnguyenphu_0-1668670675608.png

 

  

0 Kudos

1,315 Views
HMughal
Contributor II

Hello, 

This is for 'MPC5777C_MCAL4_3_RTM_1_0_0' and its corresponding sample application, which I'm trying to build and flash onto the MPC5775E. So far, I've:

Loaded Configurations using Tresos, 

Generated Code using Tresos, 

Used S32DS to create 'New Makefile project using Existing Code' as per https://www.nxp.com/video/introduction-to-nxp-autosar-mcal-software:AUTOSAR-OnDemand-Training-Video,

Added the makefile.exe path to my environment variables as per your suggestion.

Modified the Launch.bat file as per AN13063, but I still cannot build the project on S32. 

 

HMughal_0-1668702014418.png

 

HMughal_1-1668702193221.png

HMughal_2-1668702307961.png

TYIA

 

 

0 Kudos

1,304 Views
HMughal
Contributor II

I understand that I need a make.exe file in the PlatformIntegration_TS_T2D41M10I0R0\build\bin directory to build the sample application. How do I generate/where do I find the relevant make.exe, please? There doesn't seem to be one with the sample application.

TYIA

0 Kudos

1,280 Views
cuongnguyenphu
NXP Employee
NXP Employee

To Run the Example application as above instruction video, you must install executable computer program (e.g gnuwin32), and at least one of compiler provided (i.e Linaro- gcc, OR GreenHill - ghs, OR IAR, OR DIAB). In the video, they use Diab, so you can see that when call launch.bat, they provided parameter TOOLCHAIN=diab
Then you must provide these path in launch.bat. By set these variable: MAKE_DIR, GHS_DIR, LINARO_DIR, IAR_DIR.
You also need to check all other path in this launch.bat to map with your PC environment.

Make.exe is appeared in MAKE_DIR, if you installed S32DS, you can find it in C:\NXP\S32DS.3.4\S32DS\build_tools\msys32\usr\bin\make.exe) , so it can be:
SET MAKE_DIR = C:\NXP\S32DS_Power_v2.1\S32DS\build_tools\msys32\usr

0 Kudos

1,335 Views
cuongnguyenphu
NXP Employee
NXP Employee

The error said that the modules is not installed in your PC, then EB Tresos cannot find that plugin module.
So you need to install this SW package SW5777C-SMCL431-RTMC-1.0.0 first

0 Kudos

1,341 Views
HMughal
Contributor II

Error Message: 

HMughal_1-1668004571896.png

 

 

0 Kudos