Flashing After EB Tresos

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

Flashing After EB Tresos

Jump to solution
3,519 Views
lb28
Contributor II

Hello, 

I've configured modules in EB Tresos and have generated a project for S32K14W-Q064 Evaluation Board

lb28_0-1659035827208.png

I tried following these following steps, however I am having no luck. 

lb28_1-1659035895797.png

Can I somehow use S32 DS to generate a .elf file and flash it onto my board? 

 

0 Kudos
Reply
1 Solution
3,415 Views
namnguyenviet
NXP Employee
NXP Employee

Hello @lb28,

Is it indeed that the path to the Tresos plugin directory (where you've installed the RTD package) is C:\EB\tresos\plugin

Best Regards,

Nam

View solution in original post

0 Kudos
Reply
12 Replies
3,490 Views
namnguyenviet
NXP Employee
NXP Employee

Hello @lb28,

Could you share the error log (some snapshots should be fine)? I would assume that there were some issues with the paths to some programs e.g. GCC or make GNU.

Best Regards,

Nam

0 Kudos
Reply
3,486 Views
lb28
Contributor II

Hello, 

I would like to generate the .elf file from the MCAL in EB Tresos and flash it onto the board. 

Error: 

lb28_0-1659456364774.png

Error in the Windows Command Prompt. 

Best Regards, 

0 Kudos
Reply
3,475 Views
namnguyenviet
NXP Employee
NXP Employee

Hello @lb28,

It seems like you haven't installed any GNU make yet. You can install the GNU make here: https://www.gnu.org/software/make/ or install Cygwin https://www.cygwin.com/ then add the make.exe directory to your PATH variable.

Best Regards,

Nam

 

0 Kudos
Reply
3,472 Views
lb28
Contributor II

The 'Path' variable in what application? 

0 Kudos
Reply
3,464 Views
namnguyenviet
NXP Employee
NXP Employee

Sorry I didn't make it clear. It's the PATH in environment variables. Something like:

namnguyenviet_0-1659579688844.png

Here is a link that you can refer to:

https://docs.microsoft.com/en-us/previous-versions/office/developer/sharepoint-2010/ee537574(v=offic...

Best Regards,

Nam

0 Kudos
Reply
3,454 Views
lb28
Contributor II

Hello, 

This helped a lot. Thank you! 

I am now getting this error. 

lb28_0-1659637742227.png

 

 

 

 

0 Kudos
Reply
3,448 Views
namnguyenviet
NXP Employee
NXP Employee

Sometimes the slash in the path might be the problem. Usually  backslash is used path to a local file on a windows machine, while slash is a path to a web resource or file located on a UNIX based machine (includes Macs, Linux). 

Try to change the slash in project_parameters.mk and see whether your issue can be fixed.

Best Regards,

Nam

0 Kudos
Reply
3,440 Views
lb28
Contributor II

Hello, 

I'm getting the same error again.

Here's my project_parameters.mk file. 

lb28_0-1659723413979.png

 

0 Kudos
Reply
3,416 Views
namnguyenviet
NXP Employee
NXP Employee

Hello @lb28,

Is it indeed that the path to the Tresos plugin directory (where you've installed the RTD package) is C:\EB\tresos\plugin

Best Regards,

Nam

0 Kudos
Reply
3,411 Views
lb28
Contributor II

Ahhh, 

I updated the path, thank you  

0 Kudos
Reply
3,504 Views
namnguyenviet
NXP Employee
NXP Employee

Hello @lb28,

What was the error you have been facing with during your attempt with the example? I would suggest that instead of using EB Tresos as a code generator, you can directly use S32DS: you need to install the S32K RTD package for S32DS, try out an example project in S32DS then flash the elf file into your board.

Best Regards,

Nam

0 Kudos
Reply
3,499 Views
lb28
Contributor II

Hello, 

Thank you for getting back to me.

I've tried it with the RTD Package for S32DS and I've gotten it to work. 

However, I would like to generate the code from EB Tresos itself. 

The error comes in the Windows Command Prompt when I try to enter in the command listed in section 3.2 and 3.3 of the screenshot I provided. It says the command has not been found. 

Regards, 

0 Kudos
Reply