2368261_en-US

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

2368261_en-US

2368261_en-US

How to use S32DS command line to import, update code, and cleanbuild the example in TCPIP stacks

Dear sir,

I want to use S32DS command line to import, update code, and cleanbuild.
I can do successfull for the examples(Dio_Example_S32K388) in RTD, but failed for the examples in stacks, like lwip_FreeRTOS_s32k388.
Could you help to check? Or could you provide the method?


I test some examples of S32K388 and S32K344 like below.

Now just lwip_FreeRTOS_s32k388 is failed.

lwip_FreeRTOS_s32k344 is OK.

FreeRTOS_Toggle_Led_Example_S32K388 and FreeRTOS_Toggle_Led_Example_S32K344 are OK.

Dio_Example_S32K388 and Uart_Example_S32K388 are OK.

 

seanwu_0-1779266141313.png


And my cusomter now is using lwip_FreeRTOS_s32k388, so I need resolve this issue.

 

Test environment:

S32DS3.6.3

RTD : S32K3_S32M27x Real-Time Drivers ASR R21-11 Version 6.0.0 QLP04

FREERTOS: SW32K3 FreeRTOS 11.1.0 version 6.0.0 Code Drop

TCPIP stack: SW32K3_S32M27X_TCPIP_STACK_3.0.0_D2507


Thanks.

BR,

Sean Wu

Re: How to use S32DS command line to import, update code, and cleanbuild the example in TCPIP stacks

Hi @PavelL ,

I read the thread before, and tried the command mantioned in the thread. But still failed.

-HeadlessTool is required; otherwise, the S32DS GUI window will pop up, which is not what the customer wants.

lwip_FreeRTOS_s32k344 is worked using my command.

Could you please try lwip_FreeRTOS_s32k388 using your suggested command?

My customer is using lwip_FreeRTOS_s32k388, so must resolve the issue.

 

Thanks.

BR,

Sean Wu


Re: How to use S32DS command line to import, update code, and cleanbuild the example in TCPIP stacks

Hello @seanwu ,

Based on this related thread:

Load Config and Building in CLI failed

You need to (some updates might be required to meet your project):

  • load mex by -Load %PROJECT_PATH%\%PROJECT_NAME%.mex
  • This row is not equivalent to "Update Code", remove -HeadlessTool Peripherals
  • Explicitly set MCU by -MCU S32K388
  • Use -SDKVersion PlatformSDK_S32K3
  • "Click Update Code" by -ExportAll %PROJECT_PATH%
  • Alternatively, add debug stuff to see what's happening there by -consoleLog

So, the "Update code" could look like that:

.\s32dsc.exe -noSplash ^
-application com.nxp.swtools.framework.application ^
--launcher.ini %DS_INSTALL%\eclipse\s32ds.ini ^
-data %WORKSPACE% ^
-sdkPath %RTD_PATH% ^
-MCU S32K388 ^
-SDKVersion PlatformSDK_S32K3 ^
-Load %PROJECT_PATH%\%PROJECT_NAME%.mex ^
-ExportAll %PROJECT_PATH%


The example lwip_FreeRTOS_s32k344 can work only by accidentally, caused by some default settings. 

Best regards,

Pavel

Re: How to use S32DS command line to import, update code, and cleanbuild the example in TCPIP stacks

Hi @PavelL ,

I can see "tcpip_stack_1", and add "S32K388" in tcpip_itm_manifest.xml.

S32DS can generate the folders after "Update Code", but command line still can't generate.


Thanks.

BR,

Sean Wu

seanwu_0-1779282030340.png

seanwu_1-1779282110998.png


Re: How to use S32DS command line to import, update code, and cleanbuild the example in TCPIP stacks

Hello @seanwu ,

Double click on mex file. Click on icon Peripherals. Can you see this:

PavelL_0-1779279923463.png

If you can't see tcpip_stack and you can't even see the stack in Mange SDK Components window, try to fix tcpip_itm_manifest.xml as it has been discussed in this thread S32K388 tcpip stack 4.0.0 missing lwip folder while compiling

Best regards,

Pavel

Re: How to use S32DS command line to import, update code, and cleanbuild the example in TCPIP stacks

HI @PavelL ,

I use the command line(see attached file) to "update code"  lwip_FreeRTOS_s32k388. But It won't generate "FreeRTOS", "RTD", and "stacks" folders, and files in the folders like below(The picture is "update code" using S32DS.). 

seanwu_0-1779279138126.png


Re: How to use S32DS command line to import, update code, and cleanbuild the example in TCPIP stacks

Hello @seanwu ,

You installation setup appears to be correct.

What do you mean by "failed"? Build errors or tcpip functional issue?

Please check my example Example S32K388 GMAC0 lwIP FreeRTOS S32DS 3.6.1 RTD600 - list of my changes is provided.

Best regards,

Pavel

タグ(1)
評価なし
バージョン履歴
最終更新日:
木曜日
更新者: