PCAN UDS Security Access
Posted: Mon 26. Sep 2022, 12:39
Hello to all,
im writing you, because im struggling with UDS libary. Im developing a flashing software for ECUs (structurre in attached picture). I know the steps i have to programm to flash an ECU but im having some troubles writing them.
Step 1.) Request Seed with Security Access
Step 2.) Read Response with Seed from ECU
Step 3.) some calculation
Step 4.) Send calculated Key with Security Access
At the moment im stuck at step 2 because i dont know how to read the response. What is mapping for? How do i set the config? All i know is that request address is 0x10A and response address is 0x10B. And the ECUs have a remote address.
The response message is only address 0x10B but i dont kow how to read only messages with this address because the ECU is also sending measured values with other address (0x101 - 0x109) over CAN.
im sorry for my broken english but im looking forward hearing from you
best regards
Adam
im writing you, because im struggling with UDS libary. Im developing a flashing software for ECUs (structurre in attached picture). I know the steps i have to programm to flash an ECU but im having some troubles writing them.
Step 1.) Request Seed with Security Access
Step 2.) Read Response with Seed from ECU
Step 3.) some calculation
Step 4.) Send calculated Key with Security Access
At the moment im stuck at step 2 because i dont know how to read the response. What is mapping for? How do i set the config? All i know is that request address is 0x10A and response address is 0x10B. And the ECUs have a remote address.
The response message is only address 0x10B but i dont kow how to read only messages with this address because the ECU is also sending measured values with other address (0x101 - 0x109) over CAN.
im sorry for my broken english but im looking forward hearing from you
best regards
Adam