Hi,
i am tring to recive the 4kb of file data via UDS service 36.
for this I am using the s32k148 board.
the current problem which i am facing is with data recive limit.
i am able to recive the 4kb of data via service 36 on board in 32 bytes chunks.
now i want to recive the data in the 128 Bytes chunk or more than that if posible.
i confirmed that i am sending the data to the CAN bus is in the form of 128b bytes chunks.
but board is not able to pick that much data.
so let me know if someware i need to do the configuration for reciving more data.
Setup :
RiPi is sending the data on CAN bus in chunks of 128 bytes via UDS 36 Service.
Rpi and NXP is connected via CAN BUS.
Hello,
We are able to recieve the 4KB data as 128bytes consecutive frame for UDS service 36 by changing the UDS Network layer configuration parameter STmin from 0 to 25 as shown below,
/*uds netwrok layer cfg info */
const tUdsNetLayerCfg g_stUdsNetLayerCfgInfo =
{
1u, /*called can tp period*/
RX_FUN_ID, /*can tp rx function ID*/
RX_PHY_ID, /*can tp rx phy ID*/
TX_DIAG_ID, /*can tp tx ID*/
0u, /*BS = block size*/
50u, /*STmin*/
25u, /*N_As*/
25u, /*N_Ar*/
75u, /*N_Bs*/
50u, /*N_Br*/
0u, /*N_Cs*/
1500u, /*N_Cr*/
CanTpTxMsg, /*can tp tx*/
CanTpRxMsg, /*can tp rx*/
};
So now i want to recieve the 256bytes frame on hardware, so for this i tried by changing the
STmin and N_Br values but hardware didn't recieved 256bytes frame
kindly let me if anything need to be changed with parameters
Thanks in advance
Regards
Kallappa MB
Hi Kallappa,
what kind of driver is that?
Regards,
Lukas