Author Topic: Read the code of a very old microcontroller  (Read 5395 times)

0 Members and 1 Guest are viewing this topic.

Offline fabiodlTopic starter

  • Frequent Contributor
  • **
  • Posts: 282
Read the code of a very old microcontroller
« on: June 10, 2014, 08:31:11 am »
I would like to check the code of a tmp42c66p
a 4 bit toshiba microcontroller. Do you know if it is possible/ any programmer able to do that?
 

Offline amyk

  • Super Contributor
  • ***
  • Posts: 8384
Re: Read the code of a very old microcontroller
« Reply #1 on: June 10, 2014, 08:41:14 am »
That's a mask ROM MCU, so it's unlikely to have a programming interface. The most effective way would probably involve decapping and then optically reading the bits out (there's only 8192 of them...); this process can be automated.
 

Offline Kjelt

  • Super Contributor
  • ***
  • Posts: 6568
  • Country: nl
Re: Read the code of a very old microcontroller
« Reply #2 on: June 10, 2014, 10:26:57 am »
You're better off to try to reverse engineer the behaviour in the application and try to mimic it with a modern uC.
 

Offline fabiodlTopic starter

  • Frequent Contributor
  • **
  • Posts: 282
Re: Read the code of a very old microcontroller
« Reply #3 on: June 10, 2014, 12:55:34 pm »
@amyk thank you for the link, that is amazing, but I surely don't have the hardware nor the competence to do that.

 

Offline fabiodlTopic starter

  • Frequent Contributor
  • **
  • Posts: 282
Re: Read the code of a very old microcontroller
« Reply #4 on: June 10, 2014, 01:48:25 pm »
I found this http://bitsavers.informatik.uni-stuttgart.de/pdf/toshiba/_dataBooks/1984_Toshiba_Microcomputer_LSI_Data_Book.pdf

It seems that to program you had to send the code by a PAPER TAPE  :)
yes, probably reading it is impossible
 

Offline Stray Electron

  • Super Contributor
  • ***
  • Posts: 2191
Re: Read the code of a very old microcontroller
« Reply #5 on: June 10, 2014, 06:52:33 pm »
  Why does it matter what was used to send the code into the manufacturer? It's all just ones and zeros regardless of the media.  Either the device is readable or its not!  FWIW most devices are readable but manufacturers keep the methods a secret to prevent reverse engineering.  I have a device that was specifically made to dump code from the MC 68705s.

  FWIW there are still some of us hard core types that still have working PT readers and punches! Mine is on (one of) my Intel MDS 800.
 

Offline fabiodlTopic starter

  • Frequent Contributor
  • **
  • Posts: 282
Re: Read the code of a very old microcontroller
« Reply #6 on: June 11, 2014, 07:22:06 am »
  Why does it matter what was used to send the code into the manufacturer? It's all just ones and zeros regardless of the media.  Either the device is readable or its not!  FWIW most devices are readable but manufacturers keep the methods a secret to prevent reverse engineering.
Yes, you are completely right. The correct wording would have been "as the chips were not programmed electrically, I think it is unlikely there is  a modern programmer able to write the program and read the content back, with an interface like the keil software".

I have a device that was specifically made to dump code from the MC 68705s.
do you know if there's any such device compatible with the tmp42c66p ?

  FWIW there are still some of us hard core types that still have working PT readers and punches! Mine is on (one of) my Intel MDS 800.
wow, this is really cool
« Last Edit: June 11, 2014, 07:24:07 am by fabiodl »
 

Offline miguelvp

  • Super Contributor
  • ***
  • Posts: 5550
  • Country: us
Re: Read the code of a very old microcontroller
« Reply #7 on: June 11, 2014, 07:29:44 am »
I threw away my used punch cards, but I have some around used as book marks inside very old books!
 

Offline Kjelt

  • Super Contributor
  • ***
  • Posts: 6568
  • Country: nl
Re: Read the code of a very old microcontroller
« Reply #8 on: June 11, 2014, 08:08:26 am »
  FWIW there are still some of us hard core types that still have working PT readers and punches! Mine is on (one of) my Intel MDS 800.
Sounds more like a hoarder type then a hard core type to me  :D (joke not to offend you)
I got rid of old tech if at least all applications from that computer or system can be transferred to the current state of technology, if not then you try to keep it alive and running as long as possible but everybody knows that time will win eventually.
 

Offline 22swg

  • Frequent Contributor
  • **
  • Posts: 274
  • Country: gb
Re: Read the code of a very old microcontroller
« Reply #9 on: June 11, 2014, 08:30:41 am »
Paper tape saved the world.... ( taken at Bletchley Park.)
Check your tongue, your belly and your lust. Better to enjoy someone else’s madness.
 

Offline westfw

  • Super Contributor
  • ***
  • Posts: 4281
  • Country: us
Re: Read the code of a very old microcontroller
« Reply #10 on: June 11, 2014, 08:43:07 am »
Various sites report that there are "somewhat dodgy" companies that will read code from processors for you (even if "protected") for as little as ~$100.  ( ) (price dependent on difficulty, or something.  Other chips: $25k.  But it might be worth checking out.)
 

Offline Jeroen3

  • Super Contributor
  • ***
  • Posts: 4129
  • Country: nl
  • Embedded Engineer
    • jeroen3.nl
Re: Read the code of a very old microcontroller
« Reply #11 on: June 11, 2014, 09:24:35 am »
Yes, these companies exist. Some larger regular companies might even be capable, but they won't tell you.
 

Offline Refrigerator

  • Super Contributor
  • ***
  • Posts: 1573
  • Country: lt
Re: Read the code of a very old microcontroller
« Reply #12 on: June 14, 2014, 05:56:55 pm »
  Other chips: $25k.  But it might be worth checking out.)
:o
$25k is pocket change. ^-^
I have a blog at http://brimmingideas.blogspot.com/ . Now less empty than ever before !
An expert of making MOSFETs explode.
 

Offline M. András

  • Super Contributor
  • ***
  • Posts: 1014
  • Country: hu
Re: Read the code of a very old microcontroller
« Reply #13 on: June 14, 2014, 09:02:42 pm »
  Other chips: $25k.  But it might be worth checking out.)
:o
$25k is pocket change. ^-^
do mind donate some change to the crowd? :)
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf