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

0 Members and 1 Guest are viewing this topic.

Offline aihyspTopic starter

  • Newbie
  • Posts: 6
  • Country: il
Q about duplicate MCU
« on: October 14, 2018, 04:50:07 pm »
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 14, 2018, 04:53:48 pm by aihysp »
 

Online wraper

  • Supporter
  • ****
  • Posts: 16792
  • Country: lv
Re: Q about duplicate MCU
« Reply #1 on: October 14, 2018, 04:54:51 pm »
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 aihyspTopic starter

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

and what is UART?
 

Online wraper

  • Supporter
  • ****
  • Posts: 16792
  • Country: lv
Re: Q about duplicate MCU
« Reply #3 on: October 14, 2018, 05:06:01 pm »
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 aihyspTopic starter

  • Newbie
  • Posts: 6
  • Country: il
Re: Q about duplicate MCU
« Reply #4 on: October 14, 2018, 05:10:53 pm »
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: 16792
  • Country: lv
Re: Q about duplicate MCU
« Reply #6 on: October 14, 2018, 05:58:58 pm »
Your adapter should work fine https://www.stcmicro.com/rjxz.html
Connection schematic is in the datasheet.
« Last Edit: October 14, 2018, 06:01:00 pm by wraper »
 
The following users thanked this post: aihysp

Offline aihyspTopic starter

  • Newbie
  • Posts: 6
  • Country: il
Re: Q about duplicate MCU
« Reply #7 on: October 14, 2018, 07:54:54 pm »
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
 

Offline aihyspTopic starter

  • Newbie
  • Posts: 6
  • Country: il
Re: Q about duplicate MCU
« Reply #8 on: October 15, 2018, 05:21:20 am »
Many thanks
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf