Hi @namnguyenviet ,
I am working on LIN based bootloader, in which I need to send large data which is store in an array.
When I send the data which is divided into 0x82 size of block then the first block is sent on the bus but remaining blocks are getting corrupted.
While debugging I checked the data which was send by us which is perfectly fine, but while getting the data on the LIN bus the data is modified expect the first block.
From the below images we can see that block sequence number is increasing and data which is in the array are perfectly placed.




From the LIN bus images we can see after the transmitting of block-0 the next block sequence number became -0x6d,0xe0,0x53 instead of 0x01,0x02,0x03




Any suggestion how to solve the issue would be highly appreciated.
Compiler-IAR
MCU-s32k116
LIN analyzer-PLIN