Hi
When i use s32ds(version is 2018.R1) create a project,I want to build the project using release,
It can build successful
11:32:50 **** Incremental Build of configuration Release for project wheel4 ****
make -j4 all
Building target: wheel4.elf
Executing target #78 wheel4.elf
Invoking: Standard S32DS C Linker
arm-none-eabi-gcc -o "wheel4.elf" "@wheel4.args"
Finished building target: wheel4.elf
Executing target #79 wheel4.siz
Invoking: Standard S32DS Print Size
arm-none-eabi-size --format=berkeley wheel4.elf
text data bss dec hex filename
39296 700 16560 56556 dcec wheel4.elf
Finished building: wheel4.siz
11:32:59 Build Finished (took 9s.322ms)
But when i download the file to the mcu(s32k144) with release,it can’t run .see the picture
How could i use release with s32ds?
Hi,
release version of .elf file doesn't contain symbols and debug info. You can normally run it, but for debugging you can see only disassembly.
If you need debug release version - you can load symbols from Debug .elf:
Jiri
only load symbols select debug. elf is not ok
load executable use debug. elf is ok
the thing I want to know is the debugging file is debug. elf or release. elf
Hi,
forgot mention that you need to use same optimization level for both confugurations. By default Debug has -O0 and Release -O3
Anyway, the only difference between Release and Debug .elf is the -g option. The binary code is same. So, you can normally use for "Release" debugging Debug output with optimization level of your choice. Technically there is no Reason for debugging Release version.
Jiri
hi jiri
I faced another problem with s32ds
I want to make a boot loader project and an application project. I set the application's s32k144_64_flash. ld file m_text as Origin=0x0000c400,length=0x00073bf0
when I download the elf file to the MCU it can running automatically. and it cover the boot loader's elf file (the boot loader file is downlod before)
how do I set application project as application project?
can you help me?
Hi,
I don't get your question. Anyway - please create new thread for your boot loader question thread and share more details - which bootloader are using and what's the issue? .
Jiri
thank you very much
debug is ok