Hello,
I added the "main.c" file from the GHS routine(Example MPC5744P BIST On-line GHS614 - NXP Community) to the S32DS project and used the debug function of the S32DS for downloading and debugging.
Well, this is not exactly how porting should looks like. You are now mixing 2 compilers GHS and GCC if I understood it correctly. Not talking about header files differences, etc...
From your description I cannot say which compiler you are going to use.
1. Did I fail to configure? What is the reason?
Hmm, and what did you configured? I read that you just added main.c file to some unknown S32Ds project.
2. If I made a mistake in the transplant project, can you provide me with a correct transplant method?
There is no automatic tool for migration. You will need to copy routines/files by hand into your project so they will fit S32DS IDE:
Here is more about it explained by Stanish:
https://community.nxp.com/t5/S32-Design-Studio/How-are-convert-GreenHills-project-to-S32-project/m-p...
3. If I can't view the register through the expressions window during debugging, how do I read the register value to ensure that the online BIST executes correctly?
During the BIST execution you do not have access to microcontroller. You will read the result registers after the reset triggered by BIST on BIST complete event.
Best regards,
Peter