EEVblog Electronics Community Forum
Electronics => Microcontrollers => Topic started by: aihysp 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 (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 (http://www.stcmcudata.com/datasheet/stc/STC-AD-PDF/STC12C5410AD-english.pdf)
-
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.
-
Hi how can i know if it is enabled?
and what is UART?
-
Hi how can i know if it is enabled?
You won't know without trying to read it. Usually read protection is enabled.
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 (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)
-
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 :)
-
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/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 (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)
-
Your adapter should work fine https://www.stcmicro.com/rjxz.html (https://www.stcmicro.com/rjxz.html)
Connection schematic is in the datasheet.
-
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
-
Many thanks