Who's Online Now
0 members (), 24 guests, and 2 robots.
Key: Admin, Global Mod, Mod
September
S M T W T F S
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30
Newest Members
Josephs, Javy89, Ropeguy67245, kywewa, Ingvar
10,040 Registered Users
Forum Statistics
Forums13
Topics7,385
Posts40,939
Members10,040
Most Online3,137
Apr 9th, 2026
Previous Thread
Next Thread
Print Thread
#2300 01/10/12 07:48 PM
Joined: Dec 2010
Posts: 75
EDM-A/Pilot
EDM-A/Pilot
Joined: Dec 2010
Posts: 75
Anyone know whats involved in decompiling a raw bin file of an EEPROM. I know its application specific. Does anyone have any information on this? Northern specifically.


-Matt
Joined: Jan 2012
Posts: 419
addict
addict
Joined: Jan 2012
Posts: 419
Depends...What you are looking at in the EEPROM is a binary file. Main program usually lies in EPROM which is a binary file as well.

Usually on embedded process systems, you will need to know what processor you are running..(Intel, Motorola, DEC, TI, etc..). Then you will have to run decompiler that will support your processor to convert it to the appropriate assembly language for your processor, from the binary loaded on the chips. (Which will leave you page upon page of assembly code to figure out.)...

There are a few programs out there that will convert to Assembly to a higher level language,,,(C, C++, ) but I have found them to be unreliable...

There are many methods to skin a cat...

http://technet.microsoft.com/en-us/library/bb490635.aspx
http://en.wikipedia.org/wiki/Interactive_Disassembler


It Don't mean a thing if it aint got that swing.

Cool, Free, Johnny Smith courtesy of NPR..HERE
http://www.npr.org/ramfiles/asc/asc25.smith.asx
Joined: Dec 2010
Posts: 75
EDM-A/Pilot
EDM-A/Pilot
Joined: Dec 2010
Posts: 75
Ya I've got the binary file and can read it in assembly. But I was wondering if there is a way to convert that to C or something. Give me something that's alittle easier to decode.


-Matt
Joined: Jan 2012
Posts: 419
addict
addict
Joined: Jan 2012
Posts: 419
As far as dissassemblers, this is the one I have used in the past for Intel based products. Mine was in DOS, but the new one has a GUI and a looks to be windows based...

http://www.hex-rays.com/products/ida/index.shtml

Did a great job on creating intel binary files to intel assembly language. However you are left with reams of paper with raw assembly code. which you then have to decipher the calls to various output devices. (Keyboard, Serial Port, Video Screen, LPT1, etc...) Lots of time consuming, tedious work.

As far as taking the next step and going from assembly to a higher level language, (C, BASIC, PASCAL, etc..) I've tried a few,but none were very reliable, and left a lot of guess work..

What kind of processor does the Northern use?


It Don't mean a thing if it aint got that swing.

Cool, Free, Johnny Smith courtesy of NPR..HERE
http://www.npr.org/ramfiles/asc/asc25.smith.asx
Joined: Dec 2010
Posts: 75
EDM-A/Pilot
EDM-A/Pilot
Joined: Dec 2010
Posts: 75
Um good question. I'll have to check the card to know. Anyone else know can chime in.


-Matt

Link Copied to Clipboard
Photo Gallery
service tool laptop
service tool laptop
by dunkdadrunk, February 4
rip orona
rip orona
by epic_ecodisc, January 7
what controller is this?!
what controller is this?!
by Alex_ELMAN, December 4
HW PM
HW PM
by Chris, January 13
PECCO PH5000 Overspeed Governor
PECCO PH5000 Overspeed Governor
by stankap, September 24
Drive sheave
Drive sheave
by jkh, October 10
The best helper.
The best helper.
by Adrian, August 8
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Release build 20240826)
Responsive Width:

PHP: 8.3.33 Page Time: 0.022s Queries: 24 (0.005s) Memory: 3.0181 MB (Peak: 3.5926 MB) Data Comp: Off Server Time: 2026-09-21 05:31:55 UTC
Valid HTML 5 and Valid CSS