How to work with MCAL on the MPC5744P?

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

How to work with MCAL on the MPC5744P?

2,528 Views
610097630
Contributor I

Rencently, i attemp to drive DEVKIT-MPC5744P by using S32DS with AUTOSAR MCAL for MPC5744P , and it never successful.

And as i got to learn it for a while,this way may need AUTOSAR OS, but it is not free, so is it possible to work by just using MCAL?

 

Does someone works in this way?Can you give me a  example?

Labels (1)
Tags (2)
0 Kudos
12 Replies

2,275 Views
610097630
Contributor I

Thanks a lot!

For compiler, i download the Windriver DIAB, and load into the S32DS.

When i run my project again, it still has error, this time it is "fatal error (dcc:1635): License error: Unknown LMAPI error"

0 Kudos

2,275 Views
petervlna
NXP TechSupport
NXP TechSupport

Hi,

When i run my project again, it still has error, this time it is "fatal error (dcc:1635): License error: Unknown LMAPI error"

Is this error comming from compiler, MCAL, S32DS, or?

regards,

Peter

0 Kudos

2,275 Views
610097630
Contributor I

it is from S32DS. 

My way is just the one i mentioned before.

0 Kudos

2,275 Views
petervlna
NXP TechSupport
NXP TechSupport

Hi,

Understand that error is reported in S32DS eclipse environment.

But is this error coming from compiler, MCAL or S32DS?

There is no valid license somewhere in your tool chain and I am not able to tell you which tool is missing license.

You can do simple tests. Create blank project without MCAL and compile it with windriver.

etc....

to find the tool which is reporting issue.

Also a screenshots are very useful where the error is presented.

regards,

Peter

0 Kudos

2,275 Views
610097630
Contributor I

Thank for you, i thank i know the problem where is

0 Kudos

2,025 Views
lubo_NEW
Contributor III

How did you solve the DAID compiler
it is "fatal error (dcc:1635): License error: Unknown LMAPI error"

0 Kudos

2,275 Views
petervlna
NXP TechSupport
NXP TechSupport

Hi,

Sorry I am not able to guide you here from the information you have provided.

Error number does not say anything to me.

If you could share more details about error maybe we can move forward. (description of steps, screenshots, etc...)

regards,

Peter

0 Kudos

2,275 Views
610097630
Contributor I

Steps:

1.config by EB, and generate code;

2.creat a new project in the S32DS;

3.put the code generate by step 1 into the project;

4.put the source files of modules which used in the MCAL plugins into the project

5.write main.c

0 Kudos

2,101 Views
lubo_NEW
Contributor III

helloThe AUTOSAR OS I use feels similar to the MCAL.EB Tresos generated code
But I can only get the configuration file, how can I get the whole code to add to the S32DS code step by step

0 Kudos

2,276 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Rencently, i attemp to drive DEVKIT-MPC5744P by using S32DS with AUTOSAR MCAL for MPC5744P , and it never successful.

What should I imagine under this statement? Plugins are not working, unsuccessful compilation, device runs into exceptions, or? etc....

And as i got to learn it for a while,this way may need AUTOSAR OS, but it is not free, so is it possible to work by just using MCAL?

You don't need OS. MCAL can be used standalone.

 

Does someone works in this way?Can you give me a  example?

Yes, plenty of customers. By the way MCAL plugins also contains demo applications.

regards,

Peter

0 Kudos

2,276 Views
610097630
Contributor I

I saw the demo in the MCAL plugins, but it's operation is based on Makefile. Unfortunately i don't konw how to use it. I konw it has instructions, but when i followed it step by step, i found that some tools such as compilers were missing, so i changed my way.


This is my way:

1.config by EB, and generate code;

2.creat a new project in the S32DS;

3.put the code generate by step 1 into the project;

4.put the source files of modules which used in the MCAL plugins into the project

5.write main.c

Dose anyone works in the way?

0 Kudos

2,276 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Yes this is the way you will do it with any compiler which support MCAL.

But as far as I know MCAL is supported by Greenhills and windriver and S32DS compiler is not supported by AUTOSAR.

regards,

Peter

0 Kudos