Pages: [1]   Go Down
Author Topic: Extracting software out of AT89C2051-24PU using Arduino  (Read 2738 times)
0 Members and 1 Guest are viewing this topic.
ਪੰਜਾਬ
Offline Offline
Edison Member
*
Karma: 7
Posts: 1545
Another year! Alone! :(
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I have read many articles on using the Deumiilanove to program the ATTiny48 and other ATTiny at MIT's forum but i have this AT89C2051 and want to take the software already in it must be the Binary and convert it into the c++/wiring based program as im used to program in Arduino what must i do?
Logged

"Real Men can Accomplish  Anything"
-  Website  
- skype : nishants5  

ਫ਼ਤੇਹ ਕਰੂਂ !

France
Offline Offline
God Member
*****
Karma: 4
Posts: 961
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi

Dump hex file is not impossible, if your programmed 89C2051 is not copy protected by fuses !!!
If so the way is long  as 89C2051 is not an AVR but a 8051 variant neding 12V on reset pin for programming or dumping.

-here is a good DIY 89C2051 programmer(Reader) built itself on a 89C2051
http://www.kmitl.ac.th/~kswichit/easy1/easy.htm
C source code (SDCC) is available.
You can buit as is  and dump hex file.

If you want an Arduino based programmer you have to learn from given SDCC C source file, port it on Arduino platform, add some hardware for Reset switching between 5V and12V.

Using a 8051 disassembler you can obtain a raw 8051 assembler file.
If you want to go further you have to undertand all stuff before new C coding !!!

Very, very long way !!!
Logged

ਪੰਜਾਬ
Offline Offline
Edison Member
*
Karma: 7
Posts: 1545
Another year! Alone! :(
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes its a Very Very long way.Thanks! for replying.
Logged

"Real Men can Accomplish  Anything"
-  Website  
- skype : nishants5  

ਫ਼ਤੇਹ ਕਰੂਂ !

Pages: [1]   Go Up
Jump to: