Hi,
I am currently working on CAN part of Bootloader program to flash application program into MCU (s32k144) memory automatically once update is received. Actually I am using OTA_s32k144_use_case_ws file for this. We have connected the Vehicle Spy on the CAN Bus to understand the CAN Communication. But we are not getting the data on the CAN bus. It's getting stuck in the FlexCAN0_transmit while loop.
while(0 == ( (CAN0->IFLAG1 >> CAN_TXbuffer_ptr->MB) & 1 ));
Could you let us know why it is getting stuck in the while Loop. What might be wrong ?. While debugging I observed that the code stuck at the line 234, Flexcan of gateway program.
I am using S32ds for ARM 2.2 development environment.
We are testing this on our custom hardware with the same pinout used in the s32k144 evkb PTE4 & 5 for CAN TX / RX.
We were able to send and recieve messages through CAN bus with our previous bootloader working. I have attached CAN part of that. Could please compare what