Author Topic: Is it possible to copy content of MCU to other MCU?  (Read 2749 times)

0 Members and 1 Guest are viewing this topic.

Offline FlizTopic starter

  • Contributor
  • Posts: 26
Is it possible to copy content of MCU to other MCU?
« on: April 29, 2013, 11:29:13 am »
- 2 identical MCU's
- one is full and other one is blank
would it be possible just to copy/past content from one to another MCU?

Thanks
 

Offline AndyC_772

  • Super Contributor
  • ***
  • Posts: 4228
  • Country: gb
  • Professional design engineer
    • Cawte Engineering | Reliable Electronics
Re: Is it possible to copy content of MCU to other MCU?
« Reply #1 on: April 29, 2013, 11:39:51 am »
Possibly, depending on the type of MCU and whether or not it has any of its code protection bits set.

Online Psi

  • Super Contributor
  • ***
  • Posts: 9947
  • Country: nz
Re: Is it possible to copy content of MCU to other MCU?
« Reply #2 on: April 29, 2013, 12:00:10 pm »
You can't link some pins together and have one mcu copy to another (unless the firmware was written to do that.)

However, as said above, if there's no protection enabled you can "download" the firmware from one mcu to a PC and then "upload" it from the PC onto another mcu.

MCUs in purchased products will almost certainly have the protection enabled to stop other companies copying their firmware and quickly selling a competing product.  (Since a significant percentage of the development cost in a product is writing the code)

Note: You may have to copy both the firmware and the eeprom for the new chip to work the same as the original.
« Last Edit: April 29, 2013, 12:06:41 pm by Psi »
Greek letter 'Psi' (not Pounds per Square Inch)
 

Offline FlizTopic starter

  • Contributor
  • Posts: 26
Re: Is it possible to copy content of MCU to other MCU?
« Reply #3 on: April 29, 2013, 12:26:49 pm »
MCU type is Atmel Attiny13A
Idea is to read content of one chip using USBASP programmer (that I have) and then just write that content without any changes to another Attiny13A!
How will I know If there is a protection? I will not be able to read content of mcu or if I succeed writing that content to new mcu it will not function properly!

Thanks for replies
 

Offline ptricks

  • Frequent Contributor
  • **
  • Posts: 671
  • Country: us
Re: Is it possible to copy content of MCU to other MCU?
« Reply #4 on: April 29, 2013, 12:33:42 pm »
If the content is protected it will either error out on the read or you will get a read composed of FF or 00.
 

Offline ben_r_

  • Frequent Contributor
  • **
  • Posts: 419
  • Country: us
  • A Real Nowhere Man
Re: Is it possible to copy content of MCU to other MCU?
« Reply #5 on: April 30, 2013, 10:28:01 pm »
Are you trying to steal someone elses code? ;)
If at first you don't succeed, redefine success!
 

Offline FlizTopic starter

  • Contributor
  • Posts: 26
Re: Is it possible to copy content of MCU to other MCU?
« Reply #6 on: April 30, 2013, 10:44:28 pm »
I ordered soic 8 pin clip for this job but unfortunately it's going to take a while while it gets here :/

Are you trying to steal someone elses code? ;)

You could say so :) but I couldn't get to the source code anyway, it's all converted to hex code.
Actually I am trying to make another instance of excellent product that has been discontinued long time ago, unfortunately :/
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf