After receiving the evaluation board, we executed the following steps:
- Connected the evaluation board with a power supply. Configured the jumper as:
SonuRaut_0-1751277669323.png
- We have used the example code for LED blinking provided at :-
SonuRaut_1-1751277669347.jpeg
- We checked the LED (D35) was blinking.
- We changed startup_cm7.s file (Port_Example_S32K396\Project_Settings\Startup_Code\startup_cm7.s)
- We changed value of CM7_0_ENABLE to 0 and value of CM7_2_ENABLE to 1
#define CM7_0_ENABLE (0)
#ifndef CM7_1_ENABLE
#define CM7_1_ENABLE (0)
#endif
#ifndef CM7_2_ENABLE
#define CM7_2_ENABLE (1)
#endif
#ifndef CM7_3_ENABLE
#define CM7_3_ENABLE (0)
- Again, we reversed it to default values. (CM7_0_ENABLE to 1 and value of CM7_2_ENABLE to 0)
#define CM7_0_ENABLE (1)
#ifndef CM7_1_ENABLE
#define CM7_1_ENABLE (0)
#endif
#ifndef CM7_2_ENABLE
#define CM7_2_ENABLE (0)
#endif
#ifndef CM7_3_ENABLE
#define CM7_3_ENABLE (0)
- We are not able to connect to the debugger and flash the project.