본문 바로가기

카테고리 없음

At89c52 Programming Software

Software

After finishing my basics in electronics i wanted to try my hand at programming micro controllers and this post is a direct result of my adventure in learning micro controller programming.Read on If. You are a newbie to micro controllers and want to learn the easiest way to program i.e. Don't want to solder circuits, don't want to learn internals of micro controller(yet) etc.,. You are ready to spend 30 to 40 CAD.

If you don't know Chinese(because the micro controller i am using 'STC' is a Chinese made one and has better information in Chinese). You are ok to do some C coding.BTW the reason i chose STC was because i did not know a thing about micro controller programming when i started so i bought the cheapest one with the most functionality i saw.STC is a Chinese design company which produces improved derivatives of the classic 8051 MCU. You can get more info from (in English ) or mcu-memory.com. The STC chips seems to be manufactured by a variety of other companies e.g, also i see reference to the Taiwanese company, anyway this does not matter to us.The one i am using is STC89C52RC(why? Note: There are other commercial and open source compiler and IDE which you can use for 8051. Atmel Studio 6 (free).

Microchip MPLab X (demo). SDCC (opensource). GCC (opensource). MicroElektronika (demo 2k limit)I feel its better to use Keil as i found it to be small, simple and easy to start with albeit some limitations. Go ahead and use the open source ones if you are comfortable setting up the tool-chain(i.e compiler, linker etc)Keil also provides a lot of sample programs for 8051, referYou can also use an assembler e.g.

At89c52 Programming Software

A51 from Keil or BASIC e.g BASCOM if you are comfortable or familiar with those. I have a bit more going now. I found the STCISP V4.83 you used, and it contained the 89C52RC MCU. Now when attempting download I'm receiving a Connection Failed after the following: Chinese:????? MCU??MCU Type is: STC89C52RCMCU Firmware Version: 4.3CChinese:MCU?????: 4.3CDouble speed /???: 12T/??????????: full gain????? P1.0/P1.1?????????AUX-RAM:????(????)??????????????Flash???: NO????????????:??????ALE pin??

At89c52 Programming Software 2017

ALE??????:12.003264M.??????:12.003264M.Chinese:??????Connection failed. (End: 17:55:05)Would love to know what's failing.Any guidence appreciated.