I am working on S32K144 micro. I have initialized Flexcan with 500 Baud Rate. While Downloading data with Block size = 0 , it is giving download error. whenever i am changing Block size = 1, it is working fine.
I would like to know why it is not working in Block Size = 0, If it should work in Block size = 0 , what changes needs to be done.
I am FIFO method in Flexcan whereas DMA is disabled.
Can you please provide a solution for the FLEXCAN to work in BLock Size = 0
Hi,
Could you explain me what is the blocksize? Is this a output of some tool?
Could you share more details on this issue?
regards,
Peter
hi,
Blocksize here refers to the number of frames sent in between the Flow control frames.
Blocksize is hardcoded inside the software. Based on the Blocksize it will transfer the data.
For Example:
1. If the Blocksize is one
During Transfer data request, the Boot loader will send first 8 bytes and waits for the flow control frame. If it receives the flow control frame then it sends the next 8 bytes of data.
2. If the Blocksize is two
It will send two 8 bytes of data and waits for flow control frame, if the Flow control frame is received it will send the next two 8 bytes of data.