Q about duplicate MCU - Page 1
Forum section: electronics / general

author: aihysp
author_rank: Newbie
timestamp: October 14, 2018, 04:50:07 pm
content: Hi i am trying to duplicate MCU named "12c5404"wanted to order some hardware from Ali like the TLS866but when i look in the software i don't see my chip thereok 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 gentlyAlihttps://www.aliexpress.com/item/STC12C5404AD-35I-SOP28-12C5404-STC-YTYKDZ/32508647474.htmlPDF if someone want to lookhttp://www.stcmcudata.com/datasheet/stc/STC-AD-PDF/STC12C5410AD-english.pdf

author: wraper
author_rank: Unknown
timestamp: October 14, 2018, 04:54:51 pm
content: 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.

author: aihysp
author_rank: Newbie
timestamp: October 14, 2018, 04:59:00 pm
content: Hi how can i know if it is enabled?and what is UART?

author: wraper
author_rank: Unknown
timestamp: October 14, 2018, 05:06:01 pm
content: Quote from: aihysp on October 14, 2018, 04:59:00 pmYou won't know without trying to read it. Usually read protection is enabled.QuoteBasically 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

author: aihysp
author_rank: Newbie
timestamp: October 14, 2018, 05:10:53 pm
content: Thanks so if got you right1. buy this 2$ thing from China2. connect to PC ? or Arduino?3. connect to working chip4. try to read with what software?5. see if protectedsorry I as I said I am little slow

author: aihysp
author_rank: Newbie
timestamp: October 14, 2018, 05:16:22 pm
content: i have this at home do i still need the adapter you recommendedhttps://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.27424c4dZoVsv4https://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

author: wraper
author_rank: Unknown
timestamp: October 14, 2018, 05:58:58 pm
content: Your adapter should work finehttps://www.stcmicro.com/rjxz.htmlConnection schematic is in the datasheet.

author: aihysp
author_rank: Newbie
timestamp: October 14, 2018, 07:54:54 pm
content: 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

author: aihysp
author_rank: Newbie
timestamp: October 15, 2018, 05:21:20 am
content: Many thanks