Hello, I am new to S32 and to NXP community and I am working with FRDMPKPT2000EVM Evaluation Board (EVB), I am trying to load and debug a sample file "S32K144_PT2000_EXAMPLE" with an error.
Can anyone help me resolve, thanks in advance
Hi,
can you please share more details? What kind of error are you facing?
Jiri
Thanks for replying, i am getting this: Program "gcc" not found in PATH S32K144_PT2001_EXAMPLE [Discovery Options] page in project properties C/C++ Problem
Eitan
Hi,
Please use build variables in Project properties - linker settings. Instead gcc put ${cross_prefix}${cross_c}${cross_suffix} :
Jiri
Hi Jiri, thanks for the information, please see window I am getting Don't have a linker option - Thanks
Hi Eitan,
what is your S32DS Version? Based on the blue icon on the top - I'm assuming that you are using incorrect version (probably S32DS v3.1?). For S32K144 target you need to use S32DS for ARM v2018.R1 - https://community.nxp.com/docs/DOC-340190
Here is version summary:
S32DS - releases & updates
Hope it helps.
Jiri
Dear Jiri, Thank you vary much, this version took me further, but i am still getting an error after the build, See below
Regards,
Eitan
Hello Eithan,
based on information in Problem view, I assume that this example has older setting for the path variable and it is pointing to wrong directory where compiler supposed to be.
Could you please check the setting for the Path, it should be ${ARM_TOOLCHAIN_DIR}/bin like on screenshot below:
if PATH setup properly, please check what value ARM_TOOLCHAIN_DIR variable has (go to Window->Preferences->Run/Debug->String Substitution)
Hi Irina, Thanks for your answer and information, I have checked, the ARM_TOOLCHAIN_DIR have the following value: ${eclipse_home}../Cross_Tools/gcc-arm-none-eabi-4_9
Let me know what you think.
Thanks again,
Eitan
Hello Eitan,
checked the example project, you might need to update the following settings for the Linker - should be ${cross_prefix}${cross_c}${cross_suffix} like below:
and as well I found out that Post build settings has hardcoded path to build tools, need to be updated:
(or you can use functionality of Create flash image to generate S-record output - using this checkbox and then configuring output type)
Best regards
Irina