Added Support for AVR Processor Atmega64M1 #8606
Nickster44
started this conversation in
Show and tell
Replies: 1 comment 5 replies
-
|
Oh, I would also like to add that I did notice some strange differences between the Ghidra ASM and the Atmel Studio debugger. For example, if the actual instruction was ROL (Rotate Left) R16. Ghidra would show ADD R16, R16. Multiply by 2 and adding the same thing to itself is the same I guess. I don't know if this is common for AVR disassembly, just based on how the opcodes are structured. But you end up with functionally identical results, but sometimes not using the mnemonically correct ASM opcode. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
My purpose for using Ghidra for the first time was to reverse engineer an AVR binary for the Atmega64M1. The generic AVR processor did not produce good assembly results so I made a PSPEC and LDEFS file to have support for the Atmega64M1.
I don't really want to set up the development environment, because I don't think I'll have any other contributions, and I don't use git very much.
Using these files though helped massively for my purpose, so I thought if anyone else needed automotive Atmel processor support I could share.
Thanks for this amazing program! Hopefully, I'll have another need for it in the future.
avr8_atmega64m1.zip
Beta Was this translation helpful? Give feedback.
All reactions