That's pretty cool if you are getting somewhere disassembling that shitty SHA CPU that's in the AL55x TCUs... I would actually need someone to help me with some stuff in that kind of architecture and CPU sometime.
Thanks! I used the SH2A language in Ghidra and while it disassembled and cross referenced numerous functions, I still have something I’m missing. Reason I say is because some functions and data that I know which are used are not cross referenced. I don’t have a great understanding of this processor in general but having an A2L helps quite a bit—another problem is it’s from the gen 2 AL551 while my TCU is a gen 1. Most of the function implementations are similar enough I can search for common constants or instructions and find them to work backwards but some are very different.
There’s also numerous H’FFF80000 addresses in the Gen 2 TCU that they use for flags which are not documented for example so it’s a struggle to sift my way through them. With that being said, if you have something specific, I am willing to share because now at this point this this is a hobby for me. I planned to take on this project making a canbus bridge to make the AL551 standalone compatible but now Maxxecu has pretty much already done this from what Natanael has told me. Beta stage for the AL551 for now. They accomplished this by flashing their custom dodge TCU firmware onto the Audi TCU.