Page 1 of 1

MS-II code in Assembler?

Posted: Fri May 04, 2012 2:21 pm
by Adnan
Hi,

I would like to make some modifications to the code but I'm C-impaired. Aside from the syntax, I get lost with the multiple files structure, etc. However, I'm comfortable with Assembler.

One way for me to go about understanding the code structure (even basic things like how interrupts are sturctured) would be to decompile the hex code to Assembler and go from there. I realize that this is still a bit of a nightmare because there are no comments and no sensible variable names but it's worth a shot. Has anyone done this already? If not, what software would I need to convert the hex file into Assembler? With PIC microcontrollers, I know my way around, but with the Motorola uC, I'm starting from scratch.

Does a flowchart for MS-II code exist? Something like a Software Architecture or Software Design Specification?

Thanks,
Adnan

Re: MS-II code in Assembler?

Posted: Sun May 20, 2012 2:43 pm
by duxthe1
First off, new guy here.

While I have no answers to your questions, I too would like to have the answers. Like you, I am relatively comfortable in Assembler, but not in C. My last project used a PIC to read O2 voltage, display its value, and output a user defined O2 voltage. It took a bit over 1800 lines of code to do it. After a project like that I feel like there is more I could squeeze out of my MS if I could use a language I am comfortable with to program.

Re: MS-II code in Assembler?

Posted: Thu Jul 05, 2012 11:24 am
by hnamaky
Adnan wrote:Hi,

I would like to make some modifications to the code but I'm C-impaired. Aside from the syntax, I get lost with the multiple files structure, etc. However, I'm comfortable with Assembler.

One way for me to go about understanding the code structure (even basic things like how interrupts are sturctured) would be to decompile the hex code to Assembler and go from there. I realize that this is still a bit of a nightmare because there are no comments and no sensible variable names but it's worth a shot. Has anyone done this already? If not, what software would I need to convert the hex file into Assembler? With PIC microcontrollers, I know my way around, but with the Motorola uC, I'm starting from scratch.

Does a flowchart for MS-II code exist? Something like a Software Architecture or Software Design Specification?

Thanks,
Adnan
Hi,
Where did you get the C-code for the latest version of the MS-II, I got the earlier version (V1.4.C) without CAN interface and looking for the one with CAN (V2.1). I do not remember where, but I've seen a very good commented assembly version of the V2.1 which I've downloaded for reference and studying.

Thanks, HN