Author Topic: Q about duplicate MCU  (Read 506 times)

0 Members and 1 Guest are viewing this topic.

Offline aihysp

  • Contributor
  • Posts: 6
  • Country: il
Q about duplicate MCU
« on: October 15, 2018, 03:50:07 am »
Hi i am trying to duplicate MCU named "12c5404"

wanted to order some hardware from Ali like the TLS866
but when i look in the software i don't see my chip there

ok so my question is:
1.can i duplicate a chip just by putting in an old one and copy data and dumping to MCU(i have old one working that can copy from)
2. i can see a number of variants of my MCU anyone can tell me what is the difference (can i use the AD version i see it has more space)
12c5404(very hard to find)
12c5404AD(more common with more space)

i am a noob never handled such MCUs please explain gently :)

Ali https://www.aliexpress.com/item/STC12C5404AD-35I-SOP28-12C5404-STC-YTYKDZ/32508647474.html

PDF if someone want to look :) http://www.stcmcudata.com/datasheet/stc/STC-AD-PDF/STC12C5410AD-english.pdf

« Last Edit: October 15, 2018, 03:53:48 am by aihysp »
 

Online wraper

  • Supporter
  • ****
  • Posts: 8390
  • Country: lv
Re: Q about duplicate MCU
« Reply #1 on: October 15, 2018, 03:54:51 am »
STC12C5404 has code protection feature. So if it's enabled, you won't be able to read flash content. It does not require special programmer, it can be programmed via UART.
 
The following users thanked this post: aihysp

Offline aihysp

  • Contributor
  • Posts: 6
  • Country: il
Re: Q about duplicate MCU
« Reply #2 on: October 15, 2018, 03:59:00 am »
Hi how can i know if it is enabled?

and what is UART?
 

Online wraper

  • Supporter
  • ****
  • Posts: 8390
  • Country: lv
Re: Q about duplicate MCU
« Reply #3 on: October 15, 2018, 04:06:01 am »
Hi how can i know if it is enabled?
You won't know without trying to read it. Usually read protection is enabled.
Quote
and what is UART?
Basically low voltage RS232. You need either level converter for COM port or USB serial converter.  https://www.ebay.com/itm/WEMOS-CH340G-Breakout-5V-3-3V-USB-to-Serial-Module-Switch-for-Arduino-QWI/253842292518?hash=item3b1a2dff26:g:X3oAAOSwvoNbiUi9:rk:1:pf:0
 
The following users thanked this post: aihysp

Offline aihysp

  • Contributor
  • Posts: 6
  • Country: il
Re: Q about duplicate MCU
« Reply #4 on: October 15, 2018, 04:10:53 am »
Thanks so if got you right

1. buy this 2$ thing from China
2. connect to PC ? or Arduino?
3. connect to working chip
4. try to read with what software?
5. see if protected

sorry I as I said I am little slow :)
 


Online wraper

  • Supporter
  • ****
  • Posts: 8390
  • Country: lv
Re: Q about duplicate MCU
« Reply #6 on: October 15, 2018, 04:58:58 am »
Your adapter should work fine https://www.stcmicro.com/rjxz.html
Connection schematic is in the datasheet.
« Last Edit: October 15, 2018, 05:01:00 am by wraper »
 
The following users thanked this post: aihysp

Offline aihysp

  • Contributor
  • Posts: 6
  • Country: il
Re: Q about duplicate MCU
« Reply #7 on: October 15, 2018, 06:54:54 am »
again thank you!

what shuld i look for in the data sheet ?

and what  do i need to connect ? anything but RX TX GND and V
 

Online blueskull

  • Supporter
  • ****
  • Posts: 10171
  • Country: cn
  • Power Electronics Guy
Re: Q about duplicate MCU
« Reply #8 on: October 15, 2018, 07:03:05 am »
If it's an STC, assume the device is from China. As we know, Chinese clones Chinese, so you can bet the STC is 100% encrypted.
As a matter of fact, STC runs a bounty for anyone who can crack their encryption -- good marketing strategy in China.

If you can read that chip, you can email STC and claim your 6-digit bounty.
SIGSEGV is inevitable if you try to talk more than you know. If I say gibberish, keep in mind that my license plate is SIGSEGV.
 
The following users thanked this post: aihysp

Offline aihysp

  • Contributor
  • Posts: 6
  • Country: il
Re: Q about duplicate MCU
« Reply #9 on: October 15, 2018, 04:21:20 pm »
Many thanks
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf