Peak CAN ISO-TP problems and Address Mapping
Posted: Sat 28. Jul 2018, 14:32
Recently, I am starting to use your company PEAK-USB product.
We use the PEAK-USB to issue command from PC window 64bit to a STM32 MCU who have already been
implemented the ISO-TP protocol that supports up to 4096 data transfer.
As long as our MCU powers up, our MCU actively send "Rdy" CAN message to PC side( PCAN-ISO-TP.)
but PCAN-ISO-TP (Using C# Example) never receive any message from MCU side, I use Visual studio 2017 to
debug the PCAN-ISO-TP(c#), it always get the "PCANTP_ERROR_NO_MESSAGE"
but When I use the PCAN-View, I can get the CAN message from MCU. also I can issue command
and get some feedback
BUT I don't want to use PCAN-view, because it can not support up to 4096 bytes data.
Could help me why the PCAN-ISO-TP does NOT work?
and I have another question is that
I just want to use the PCAN-ISO-TP to issue some commands from PC to MCU and get some data from MCU.
But it seems PCAN-ISO-TP force us to do the Address Mapping(source address, target address, CAN_ID response).
I really don't know what is the source address and target address. I just know only the CAN ID.
How can we skip the Address mapping? i just want to only do simple read and write with CAN_I which is similar to PCAN-View but support up 4096 bytes.
We use the PEAK-USB to issue command from PC window 64bit to a STM32 MCU who have already been
implemented the ISO-TP protocol that supports up to 4096 data transfer.
As long as our MCU powers up, our MCU actively send "Rdy" CAN message to PC side( PCAN-ISO-TP.)
but PCAN-ISO-TP (Using C# Example) never receive any message from MCU side, I use Visual studio 2017 to
debug the PCAN-ISO-TP(c#), it always get the "PCANTP_ERROR_NO_MESSAGE"
but When I use the PCAN-View, I can get the CAN message from MCU. also I can issue command
and get some feedback
BUT I don't want to use PCAN-view, because it can not support up to 4096 bytes data.
Could help me why the PCAN-ISO-TP does NOT work?
and I have another question is that
I just want to use the PCAN-ISO-TP to issue some commands from PC to MCU and get some data from MCU.
But it seems PCAN-ISO-TP force us to do the Address Mapping(source address, target address, CAN_ID response).
I really don't know what is the source address and target address. I just know only the CAN ID.
How can we skip the Address mapping? i just want to only do simple read and write with CAN_I which is similar to PCAN-View but support up 4096 bytes.