Dear engineer:
Firstly, the introduction of the application environment as follow:
1. we use the IDE of S32 design studio for s32 v3.5;
2. we use the RTD (version: S32K3XX AUTOSAR 4.4 - R21-11 RTD 3.0.0 D2303 Example Projects);
3. we create the project through using the choice of S32DS Application Project;
4. we use the GDB PEMicro Interface Debugging to load and debug program (Debug_Flash_PNE mode).
5. we use the self-designed hardware rather than official EVB.
Then, the problem we faced is:
We can use the debugger to load and start the program, and the mcu can work well at the mode of debug. However, when we disconnect the mcu with the debugger, and just power on the mcu, the mcu can not work normally. It just run about several seconds then stop. We do not know how to solve this problem. We try to refer some resolution like adding the define of START_FROM_FLASH in preprossors (as following figure), but it does not work.

We look forward to any suggestion from anyone, thank you very much!