Hello,
I'm attempting to debug in S32DS with MBDT generated code. I can import the xml into S32DS without issue and build the model. But when attempting to debug the build I receive the error below. How to resolve?
Which is the correct Debug to use?
It's all quite different to the documentation I can find:
Is there documentation to show how to debug simultaneously using Freemaster and S32DS together (from MBDT) to resolve Runtime errors?
Hello @mariuslucianand @Daniel_Popa
Could you please help me out with this issue. I try to follow the information here:
and here:
I can import the code. I can build the code:
But when I try and debug:
I get the issue below:
Here are my settings (with S32K144 EVB):
And after clicking "Debug", I get the message below:
Hello @Sam_ECU,
The .elf file, which the debugger is trying to write into the MCU Flash memory is not selected in the C/C++ Application field of the below configuration. This is why you get the following error:
The debugger configuration can be automatically created when the code is imported by following the below procedure:
Now, after you have built the project, in the associated Debug configuration, you will see that under the C/C++ Application, the resulted .elf file of the Build process will be selected there.
If the .elf is still missing, you shall Build the project, go to Debug Configuration, and press the "Search Project" button. Select the .elf file, and the debugger shall be able to flash your binary file.
Hope this helps,
Marius
That works, cheers.
Hello,
Could someone please help me with the issue.
Cheers.