Hi Constantin
Sorry for waste your time.
I already know why this two problems occur, and have already solve them. both due to the environment variables not set correctly.
For the IAR as compiler error question, beacuse of the compiler environmental variables didn't set correctly. And Now I set can got the right result.
For GCC, Firstly I use the matlab package gcc address as environment variables, and I found when matlab use "arm-none-eabi-gcc" it seems lost the prefix of the full address linker. Then I change the GCC environment variables to S32 DS files, it works normal.


Thank you.