Maker Pro
Maker Pro

AVR analysis

Z

Zielony Lew

Jan 1, 1970
0
Hello,

I've got a problem with program analysis. I have a HEX file that is used to
program an ATMEL chip AT90S2313.
I've used to AVR Studio to disassemble the HEX file to assembler, but it's
still to big to analyze for me..
Is there here somebody that can help me with this assignment?
I have to write a short (?) description of what the program is doing or to
draw a block schema (with loops or sth). But i think the second is undoable
without going through the whole code line by line and memory maps.. and I
can't do it :(
I know that the whole thing is being used in an accumulator charger...
I was also given a circuit connections schema..

The source of ASM can be viewed herE: http://warden.anim.pl/atmel/ASM.txt
and the circuit: http://warden.anim.pl/atmel/schg.jpg
If the source HEX is needed then it's here:
http://warden.anim.pl/atmel/schg.hex

Please help.. i have to write it till wednesday :(


Thanks in advance for all your help!
 
R

Robert Baer

Jan 1, 1970
0
Zielony said:
Hello,

I've got a problem with program analysis. I have a HEX file that is used to
program an ATMEL chip AT90S2313.
I've used to AVR Studio to disassemble the HEX file to assembler, but it's
still to big to analyze for me..
Is there here somebody that can help me with this assignment?
I have to write a short (?) description of what the program is doing or to
draw a block schema (with loops or sth). But i think the second is undoable
without going through the whole code line by line and memory maps.. and I
can't do it :(
I know that the whole thing is being used in an accumulator charger...
I was also given a circuit connections schema..

The source of ASM can be viewed herE: http://warden.anim.pl/atmel/ASM.txt
and the circuit: http://warden.anim.pl/atmel/schg.jpg
If the source HEX is needed then it's here:
http://warden.anim.pl/atmel/schg.hex

Please help.. i have to write it till wednesday :(

Thanks in advance for all your help!

You need an inverse assembler to convert the hex to assembly code.
Obviously, ther will be no comments to help.
 
Z

Zielony Lew

Jan 1, 1970
0
You need an inverse assembler to convert the hex to assembly code.
Obviously, ther will be no comments to help.

obviously why ?
 
J

jim w

Jan 1, 1970
0
He's already disassembled it, per his orginal posting.

The reason there's be know comments, is that the comments from the
original source are 'stipped' (if you'll pardon the phrase) when the hex
file was created.

- jim
 
Top