I have a problem complie the MCAL 4.0.1 Sample application with launch.bat file.
As I atatched below, I set up the launch.bat file to compile the sample with multi ide 7.1.6.
There was version error occur so I modify the file versions and sometime the several code so no more systhetic error is occur.
At last, there is error with generate the ELF file.
[elxr] (error) errors during processing
make: *** [makefile:195: bin/sample_app_mcal.elf] Error 1
I really need the ELF file.
What should I do?
Dear June Uhm ,
Could you please let me know the full name of the MCAL package you are using. Is it MPC5777C_MCAL4_0_RTM_1_0_1 ?
If yes. I have checked the sample app in the package and compare with the sample app in the package MPC5777C_MCAL4_3_RTM_1_0_0. I see that it is missing the below code in the file "MPC5777C_MCAL4_0_RTM_1_0_1\sample_app_mcal\toolchains\Startup_vle.c".
/* push R3 on stack*/
/* clear MSR[PR] bit by modifying SRR1 for keeping supervisor mode after exiting the Handler */
ASM_KEYWORD("mfsrr1 r3"); /* load SRR1 */
ASM_KEYWORD("se_bclri r3,17"); /* clear PR bit */
ASM_KEYWORD("mtsrr1 r3 "); /* save SRR1 */
/* pop R3 from the stack */
/* return from interrupt */
/* while(1) */