MS-II code in Assembler?
Read the manual to see if your question is answered there before posting. Many users will not reply if the answer is already available in the manual.
If your question is about troubleshooting, configuration, or tuning, you MUST include your processor type (MS-I or MS-II) and code version in your post. If your question is about PCB assembly or modifications, you must also include the main board version number (1.01, 2.2 or 3.0).
If you have questions about MS1/Extra or MS2/Extra code configuration or tuning, please post them at www.msextra.com Such questions posted here will be moved to: a temporary MSextra sub-forum, where they will be removed after 7 days
The full forum rules are here: Forum Rules, be sure to read them all regularly.
MS-II code in Assembler?
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?
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.
T3 turbo @ 9 PSI
MS2 Extra V3.0
Re: MS-II code in Assembler?
Hi,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
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