while the application is set to receive in transfer data a block of 128 bytes, is it possible increase up to 1024 byte.
I do this modifications but does not works:
#define TOTAL_FIFO_BYTES (4000u) (was 800u)
#define RX_TP_QUEUE_LEN (1050u) (was 150u)
Is it necessary change some other define?? or is not possible.
Thanks
Hi,
Default bootloader have 4 FIFO channels for transfer data as: Driver --> TP, TP-->UDS, UDS --> TP and TP --> driver. If increase the max received message length, should increase the FIFO channel size driver -- > TP and TP --> UDS. In addition, should modify the max UDS store message length and fls module the max program size.
Hope this can help you.
Best regards!
Hi,
thank you for reply, I have tried to increase the FIFO channel size and now the block sent by CAN is received correctly.
Unfortunately the received data are not programmed in the Flash.
Following the code I saw the Flask_app is tuned for a 128 bytes bloks. The received length is cast to a uint8. I think it is necessary a deep review to increase the buffer size over 128 bytes.
Best regards!