> On 1/15/08, John Flynn <.....query_me2001KILLspam
@spam@yahoo.co.uk> wrote:
> > I have inherited an assembler project that has not been documented. I
> > was wondering if anyone knows of a tool that will allow be to better
> > understand the structure of the project, e.g. by creating some
flowchart
{Quote hidden}> > or equivalent.
>
> So you do have the source code and the hardware, right?
> Without reading the firmware, you need to be familiar with
> the hardware function first. And then you can start to read the
> firmware. If it is for a PIC, load the code in MPLAB, use
> the simulator (MPSIM) or a debugger (PICkit 2 or ICD2),
> or even an ICE (ICE2000) to run through the firmware.
> This may help you a lot.
>
> BTW, how big is the code and how complicated is the function?
> Sometimes it might be easier to start from scratch if the
> original code is not in good shape.
>
Xiaofan,
Thanks for the feedback.
Yes I have the source code and the target hardware and a ICD2. I could step through the code to see the operation - I have been trying to do this but I felt that I would understand it better if there was some way of documenting the code. This would just give me that helping hand to get a better feel for the overall control.
The code is not huge there is about 1000 lines of assembler.
Thanks,
John
__________________________________________________________
Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com