brainstorm / treadmill-re

Reverse engineering a dumpster dive threadmill
4 stars 1 forks source link

Not a Issue, just a thank you #2

Open romeurolo opened 3 weeks ago

romeurolo commented 3 weeks ago

Hi Mate Greetings from Portugal. I just want to say thanks for this small project because it helps me a lot in project for my Company (Reverse engineering a german / Chinese MMA-Tig welding machine stm8l151c6 IC ). You combine the use of Ghidra and radare to disassemble, in my case start with both but soon realize to use just Ghidra and some python Scripts like SVD loader (https://github.com/leveldown-security/SVD-Loader-Ghidra). After firsts attempt to emulate the code with Zero success, i start digging in datasheets, reference and programming manuals and find some tricks / particularly from this Ic like the Program not really start at 0x8080 but sometimes in 0x8000 Reset-init interrupt that the emulators fail in running. If you already know about that sorry for making you lost your time, if not message me that i will try to help you and share what i learn during my "journey ". Cheers Romeu

brainstorm commented 3 weeks ago

Muito obrigado!

Please, I encourage you to SHARE what you found out right here on this issue, openly! I bet it'd not only be useful for me but for the wider community that wants/needs some e-waste or gadget reverse engineered?

One thing I haven't explored a lot are STM8 emulators (r2 doesn't have ESIL well supported for it and haven't tried with Ghidra) but you seem to have a fair bit of experience on them?

If you are unwilling to share details of your firmware over here, would you mind posting some details on how to emulate one of my two firmwares in this repo (and other interesting tips you found in your journey)? That'd mean a lot to me!

Thanks mate, your issue made my day! ;)