Flashing After EB Tresos

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Flashing After EB Tresos

跳至解决方案
1,908 次查看
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 项奖励
1 解答
1,804 次查看
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 项奖励
12 回复数
1,879 次查看
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 项奖励
1,875 次查看
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 项奖励
1,864 次查看
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 项奖励
1,861 次查看
lb28
Contributor II

The 'Path' variable in what application? 

0 项奖励
1,853 次查看
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 项奖励
1,843 次查看
lb28
Contributor II

Hello, 

This helped a lot. Thank you! 

I am now getting this error. 

lb28_0-1659637742227.png

 

 

 

 

0 项奖励
1,837 次查看
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 项奖励
1,829 次查看
lb28
Contributor II

Hello, 

I'm getting the same error again.

Here's my project_parameters.mk file. 

lb28_0-1659723413979.png

 

0 项奖励
1,805 次查看
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 项奖励
1,800 次查看
lb28
Contributor II

Ahhh, 

I updated the path, thank you  

0 项奖励
1,893 次查看
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 项奖励
1,888 次查看
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 项奖励