Disassembling an AVR HEX file (anyone got a full version of IDA?)

2,767 views
Skip to first unread message

Peter "Sci" Turpin

unread,
Mar 22, 2014, 9:30:58 PM3/22/14
to london-h...@googlegroups.com
I've got a couple of HEX files that I got from the brain of a toy robot
(flash and EEPROM). The Brain is an Atmel ATmega8L.

I'd like to disassemble it so I have an idea how it communicates with
the black-blob IC that likely contains the movement & sound data.

If anyone's got a full version of IDA, it sounds like turning it into
assembler should be simple. AtmelStudio won't seem to do it (at least
not when running without a physical programmer).

Mark Steward

unread,
Mar 23, 2014, 7:42:20 AM3/23/14
to london-h...@googlegroups.com
What's wrong with avr-gcc? it comes with Arduino software, and will be packaged for your *nix system of choice.

avr-objdump -d
avr-as -mmcu=atmega8


Mark




--
You received this message because you are subscribed to the Google Groups "London Hackspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to london-hack-space+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Adrian Godwin

unread,
Mar 23, 2014, 7:55:23 AM3/23/14
to london-hack-space
Putting a scope or logic analyser on the lines into the black blob will probably give you a faster idea, though you may end up having to disassemble the code to determine the meaning of what you read.


To unsubscribe from this group and stop receiving emails from it, send an email to london-hack-sp...@googlegroups.com.

Peter "Sci" Turpin

unread,
Mar 23, 2014, 11:22:37 AM3/23/14
to london-h...@googlegroups.com
Because I currently don't have a functioning *nix system.
> send an email to london-hack-space+unsubscribe@__googlegroups.com
> <mailto:london-hack-space%2Bunsu...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/__optout
> <https://groups.google.com/d/optout>.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "London Hackspace" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to london-hack-sp...@googlegroups.com
> <mailto:london-hack-sp...@googlegroups.com>.

Yvan Janssens

unread,
Mar 23, 2014, 11:24:45 AM3/23/14
to london-h...@googlegroups.com, london-h...@googlegroups.com
I should've sent you a reply off list. 

Kind regards,

Yvan Janssens

Sent from my PDA - excuse me for my brevity
To unsubscribe from this group and stop receiving emails from it, send an email to london-hack-sp...@googlegroups.com.

Peter "Sci" Turpin

unread,
Mar 23, 2014, 11:29:19 AM3/23/14
to london-h...@googlegroups.com
To clarify, I'm not asking for a pirated copy of the software, I'm
asking if there's someone I could email the files to who could email me
back the resultant disassembled info.

Mark Steward

unread,
Mar 23, 2014, 11:40:20 AM3/23/14
to london-h...@googlegroups.com
Email me the files - I can disassemble them for you.


Mark


--
You received this message because you are subscribed to the Google Groups "London Hackspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to london-hack-space+unsubscribe@googlegroups.com.

Mark Steward

unread,
Mar 23, 2014, 11:41:36 AM3/23/14
to london-h...@googlegroups.com
As I said, these files come with the Arduino software, available here for everything except DOS:

  http://arduino.cc/en/Main/Software#toc1

I also stumbled across this today, which looks promising:


Mark



For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "London Hackspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to london-hack-space+unsubscribe@googlegroups.com.

Peter "Sci" Turpin

unread,
Mar 23, 2014, 1:08:08 PM3/23/14
to london-h...@googlegroups.com
> I also stumbled across this today, which looks promising:
>
> http://www.onlinedisassembler.com/odaweb/

I tried that last night. It kept resetting to i386 in Chrome and failed
to update correctly in FireFox. Shame, rather a good idea.

> Mark
>
>
> On Sun, Mar 23, 2014 at 3:22 PM, Peter "Sci" Turpin <s...@sci-fi-fox.com
> <mailto:s...@sci-fi-fox.com>> wrote:
>
> Because I currently don't have a functioning *nix system.
>
>
> On 23/03/2014 11:42, Mark Steward wrote:
>
> What's wrong with avr-gcc? it comes with Arduino software, and
> will be
> packaged for your *nix system of choice.
>
> avr-objdump -d
> avr-as -mmcu=atmega8
>
>
> Mark
>
>
> On Sun, Mar 23, 2014 at 1:30 AM, Peter "Sci" Turpin
> <s...@sci-fi-fox.com <mailto:s...@sci-fi-fox.com>
> <mailto:s...@sci-fi-fox.com <mailto:s...@sci-fi-fox.com>>> wrote:
>
> I've got a couple of HEX files that I got from the brain of
> a toy
> robot (flash and EEPROM). The Brain is an Atmel ATmega8L.
>
> I'd like to disassemble it so I have an idea how it
> communicates
> with the black-blob IC that likely contains the movement &
> sound data.
>
> If anyone's got a full version of IDA, it sounds like
> turning it
> into assembler should be simple. AtmelStudio won't seem to
> do it (at
> least not when running without a physical programmer).
>
> --
> You received this message because you are subscribed to the
> Google
> Groups "London Hackspace" group.
> To unsubscribe from this group and stop receiving emails
> from it,
> send an email to
> london-hack-space+unsubscribe@____googlegroups.com
> <http://googlegroups.com>
> <mailto:london-hack-space%__2Buns...@googlegroups.com
> <mailto:london-hack-space%252Buns...@googlegroups.com>__>.
> For more options, visit
> https://groups.google.com/d/____optout
> <https://groups.google.com/d/__optout>
> <https://groups.google.com/d/__optout
> <https://groups.google.com/d/optout>>.
>
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "London Hackspace" group.
> To unsubscribe from this group and stop receiving emails from
> it, send
> an email to london-hack-space+unsubscribe@__googlegroups.com
> <mailto:london-hack-space%2Bunsu...@googlegroups.com>
> <mailto:london-hack-spa...@googlegroups.com
> <mailto:london-hack-space%2Bunsu...@googlegroups.com>>.
>
> For more options, visit https://groups.google.com/d/__optout
> <https://groups.google.com/d/optout>.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "London Hackspace" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to london-hack-space+unsubscribe@__googlegroups.com
> <mailto:london-hack-space%2Bunsu...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/__optout
> <https://groups.google.com/d/optout>.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "London Hackspace" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to london-hack-sp...@googlegroups.com
> <mailto:london-hack-sp...@googlegroups.com>.

Peter "Sci" Turpin

unread,
Mar 23, 2014, 1:10:01 PM3/23/14
to london-h...@googlegroups.com
Emailed, thankyou very much!
> send an email to london-hack-space+unsubscribe@__googlegroups.com
> <mailto:london-hack-space%2Bunsu...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/__optout
> <https://groups.google.com/d/optout>.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "London Hackspace" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to london-hack-sp...@googlegroups.com
> <mailto:london-hack-sp...@googlegroups.com>.

Martin Ellis

unread,
Mar 23, 2014, 2:50:56 PM3/23/14
to london-h...@googlegroups.com
Radare supports avr apparently, it's a very capable (if sometimes buggy) disassembler.

Reply all
Reply to author
Forward
0 new messages