I am in the process of finding the correct algorithm for a dongfeng nammi, using decompiled code. I have all the files and have done extensive work reading the decompiled assembly code. My issue is i don't have experience in this field (assembly or decompilation of ECU's). The files have algorithms for multiple ECU's in the DongFeng Brand. From my analysis, everything revolves around system_acc_enter. But i am unclear on how it really works. Ghidra is having a hard time writing good assembly for the file.
system_acc_enter is a function in which an entire exchange between the scanner and ecu happens, with functions like send_key_to_ecu, send_code_get_seed, extend_mode_enter and get_key(). My issue with the decompiled function is that there appears to be a this pointer of unknown structure being passed around with a lot of the relevant info needed to correctly analyze the flow.
From using the scanner app. I found that AX7 model and D53 Model worked and unlocked my ECU, at least in level 3 which let me control the BCM.
Any help would be super useful. I like this repo and would like to contribute a lot to it.
Feel free to ask any questions
EV_DFBF.zip
I am in the process of finding the correct algorithm for a dongfeng nammi, using decompiled code. I have all the files and have done extensive work reading the decompiled assembly code. My issue is i don't have experience in this field (assembly or decompilation of ECU's). The files have algorithms for multiple ECU's in the DongFeng Brand. From my analysis, everything revolves around system_acc_enter. But i am unclear on how it really works. Ghidra is having a hard time writing good assembly for the file.
system_acc_enter is a function in which an entire exchange between the scanner and ecu happens, with functions like send_key_to_ecu, send_code_get_seed, extend_mode_enter and get_key(). My issue with the decompiled function is that there appears to be a this pointer of unknown structure being passed around with a lot of the relevant info needed to correctly analyze the flow.
From using the scanner app. I found that AX7 model and D53 Model worked and unlocked my ECU, at least in level 3 which let me control the BCM.
Any help would be super useful. I like this repo and would like to contribute a lot to it.
Feel free to ask any questions
EV_DFBF.zip