EEVblog Electronics Community Forum
A Free & Open Forum For Electronics Enthusiasts & Professionals
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
This topic
This board
Entire forum
Google
Bing
Home
Help
Search
About us
Links
Login
Register
EEVblog Electronics Community Forum
»
Electronics
»
Microcontrollers
»
Q about duplicate MCU
« previous
next »
Print
Search
Pages: [
1
]
Go Down
Author
Topic: Q about duplicate MCU (Read 2632 times)
0 Members and 1 Guest are viewing this topic.
aihysp
Newbie
Posts: 6
Country:
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
»
Logged
wraper
Supporter
Posts: 16864
Country:
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.
Logged
The following users thanked this post:
aihysp
aihysp
Newbie
Posts: 6
Country:
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?
Logged
wraper
Supporter
Posts: 16864
Country:
Re: Q about duplicate MCU
«
Reply #3 on:
October 14, 2018, 05:06:01 pm »
Quote from: aihysp on October 14, 2018, 04:59:00 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
Logged
The following users thanked this post:
aihysp
aihysp
Newbie
Posts: 6
Country:
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
Logged
aihysp
Newbie
Posts: 6
Country:
Re: Q about duplicate MCU
«
Reply #5 on:
October 14, 2018, 05:16:22 pm »
i have this at home do i still need the adapter you recommended
https://www.aliexpress.com/item/1pcs-FT232RL-FTDI-USB-3-3V-5-5V-to-TTL-Serial-Adapter-Module-forArduino-Mini-Port/32650148276.html?spm=a2g0s.9042311.0.0.27424c4dZoVsv4
https://www.aliexpress.com/item/CP2102-module-USB-to-TTL-serial-UART-STC-download-cable-PL2303-Super-Brush-line-upgrade-for/32390863227.html?spm=2114.search0104.3.36.108c5b42c2t53g&ws_ab_test=searchweb0_0,searchweb201602_5_10065_10068_318_319_10696_450_10084_10083_10618_452_535_534_533_10307_532_5727312_5727212_204_10059_10884_10887_100031_320_10103_448_449,searchweb201603_60,ppcSwitch_0&algo_expid=ba4f1c6e-fe04-4dd0-8fe3-40f80a577611-5&algo_pvid=ba4f1c6e-fe04-4dd0-8fe3-40f80a577611&priceBeautifyAB=0
Logged
wraper
Supporter
Posts: 16864
Country:
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
»
Logged
The following users thanked this post:
aihysp
aihysp
Newbie
Posts: 6
Country:
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
Logged
aihysp
Newbie
Posts: 6
Country:
Re: Q about duplicate MCU
«
Reply #8 on:
October 15, 2018, 05:21:20 am »
Many thanks
Logged
Print
Search
Pages: [
1
]
Go Up
« previous
next »
Share me
Smf
EEVblog Electronics Community Forum
»
Electronics
»
Microcontrollers
»
Q about duplicate MCU
There was an error while thanking
Thanking...
EEVblog Main Site
EEVblog on Youtube
EEVblog on Twitter
EEVblog on Facebook
EEVblog on Odysee