Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

firmware reverse engineering #1

Open
ardera opened this issue Dec 5, 2023 · 0 comments
Open

firmware reverse engineering #1

ardera opened this issue Dec 5, 2023 · 0 comments

Comments

@ardera
Copy link

ardera commented Dec 5, 2023

Hey,

good work on this! I actually am trying to do the exact same thing with my Dedica EC685, and I'm currently reverse engineering the firmware hexdump you uploaded. Turns out Ghidra actually has PIC16 support, so I'm using that right now; and I've found quite some interesting things:

  • I've identified a lot of functions, e.g. eeprom write/read procedures, (lots of) timers, some GPIO output controls, GPIO input routines (seem to be connected to the buttons, maybe the water sensor, at least they're being debounced in firmware)
  • Analog Input handling (might be the temperature sensor?)
  • a debug protocol on the UART port. Allows you to output some of the internal state, flags, eeprom values, also overwrite some eeprom values (not sure if persistent)

Currently trying to disassemble my dedica so I can see what the PIC pins are actually connected to; and maybe what the Oscillator frequency is.

This is my ghidra project: pic16.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant