STC 12C5A16AD programming with arduino


hi got flasher, removed case see what's inside. has black&white lcd display, driven tm1621 , there's mcu chip named stc 12c5a16ad, controlling things. pcb has 6 points, named isp. possible use arduino program chip? without buying other programmer. datasheet

i want reprogram mcu use lcd own purposes, if can't use arduino program, should use?

in page 383 being programmed using chip, guess can use arduino tx/rx programming chip also?

all stc chips 8051 core derivatives, cannot programmed using arduino ide. can compile c based programs device sdcc (public domain) , download serial device, these days means usb serial converter plus switch , diodes documented in stc literature. yes, use arduino usb serial converter that's more expensive , harder use ft232 or ch340 breakout board.

all stc chips have pre-installed, non-erasable bootloader , stc publishes own downloader software stc-isp, it's free it's windows program. there public domain program called stcgal allows download programs using linux or osx.

if don't know 8051, start here:

https://en.m.wikipedia.org/wiki/mcu_8051_ide

you not able use ide stc parts can learn 8051 basics , develop , test subroutines simulator.

i've worked extensively stc chips , while decent, reliable , cheap, there 0 library support compared arduino. stc provides demo code using timers, serial, pwm , adc subsections, it's make need means writing need, scratch.

if you're fluent in mandarin chinese, there considerably more support , code sharing since product sponsored chinese government. outside of domestic chinese market there zero, zip, nada support.

there tons of stc "development boards" on aliexpress. find 1 same series part have (12c) , start there. you'll need logic analyzer figure out display driver have. realistically, need @ least 1 more original "flasher" board testing , experimentation. guarantee journey long. if you're gives easily, don't start.


Arduino Forum > Using Arduino > Microcontrollers > STC 12C5A16AD programming with arduino


arduino

Comments

Popular posts from this blog

Error compiling for board Arduino/Genuino Uno.

Installation database is corrupt

esp8266 (nodemcu 0.9) client.write très lent ???