Hi,
you are trying run the target .elf file on your PC Machine - which is impossible. You probably create your project as a C/C++ Project instead of S32 Application Project:
For running it - you need to start debug session:
Hi,
using the C/C++ project is the wrong way - that's why you get the error. Correct way is use New -> S32DS Application project:
As a next step choose your MCU:
This procedure configure all project settings for you.
I tried executing application project earlier, i can build a project but whiling running error iam getting is as attached. the board is getting detected but, in the run cnfiguration, twhile selecting open sda, com port is not showing. without selecting com port run is unsuccesful.
Hi
Sorry, to be honest I really don't understand your situation. For testing target MCU code you need cross compiler (in this case gcc for ARM) and debug probe, which is able upload output binary into target device. On S32K344 it is integrated PE Micro FX Embedded. I have no experience with S32K358 board.
Can you please describe in more details your HW/SW setup? Which debug probe is present on your EVB? Looks that your Debug probe is recognized by OS, did you select the correct version in S32DS debug configurations?
the evb is s32k3x8EVB-Q289
Open SDA Debugger
12v external power
software IDE- s32DS 3.5 (which supports s32k3xx series)
We do not recommend using printf and scanf. It is suggested to use the UART to print information with the MCU into a console.
Even so, if it is possible to use them, for that you need to use lib C with the Debugger console:
And the printf output is going to be shown in the Semihosting console.
B.R.
VaneB
If you run an example project you get the same problem?
yes, i do get the same error without selecting com port not abl to run