info@panadisplay.com
Ib Leeg Board Microcontroller Programming

Ib Leeg Board Microcontroller Programming

Mar 11, 2019

Ntau lub sijhawm ua tsis tau muaj cov kev pabcuam rau sab nraud, thiab tso siab rau ib qho "cais" system rau txoj haujlwm no. Lub cajmeem no tau ua lus Askiv, lossis qee zaum C lossis PL / M, thiab tom qab ntawd muab cov lus sib dhos lossis sau ua ke ntawm tus tswv. Muaj qee tus neeg tswj hwm ib lub koom haum microcontrollers txhawb ib hom lus BASIC, cia cov kev pab cuam tsim los ntawm cov cuab yeej cuab tam. Kev txhawb nqa kev tso cai pub rau txhua tus cia thiab peripherals ntawm ib lub computer duab siv, muab kev loj hlob ib puag ncig zoo dua.


EPROM hlawv

Thaum ntxov microcontrollers cia siab rau cov kev pabcuam nyeem ntawv nkaus xwb (EPROM) los tuav cov ntawv thov kev pabcuam. Cov khoom chaws los ntawm lub koom txoos yuav "hlawv" rau EPROM nrog ib tus programmer EPROM. [3] Tom qab no EPROM tau muab lub cev tso rau hauv lub rooj tsavxwm. Raws li qhov EPROM yuav raug tshem tawm thiab hloov ntau zaus thaum kev kawm kev tsim kho, nws yog ib qho uas yuav muab Ziff qhov ntsawb kom tsis txhob hnav lossis raug mob. Erasing ib EPROM nrog UV lwv dej yuav siv sij hawm ntau ntau, thiab yog li ntawd nws kuj ua rau tus tsim kom muaj ntau EPROMs hauv kev zoo ib zaug.


Qee cov twj microcontroller tau muaj nyob rau hauv board EPROM. Cov no kuj yuav tsum tau programmed hauv ib qho hlawv cais, ces muab tso rau hauv lub qhov (socket) ntawm cov phiaj xwm.


Kev siv EPROM cov chaw tso cai teb rau daim ntawv thov kev pab cuam, xws li kho qhov yuam kev lossis muab cov ntaub ntawv kho tshiab.


Kov txob ntsuas


Ib qho computer-ib lub computer nrog lub hex keypad thiab 7-daim duab

Thaum cov tswj hwm ib leeg ua tiav tagnrho kev loj hlob ntawm ib puag ncig (feem ntau hauv kev kawm), pawg thawj coj muaj peev xwm kuj tau muaj ib qho yooj yim hexadecimal keypad, calculator-style LED zaub, thiab ib qho "monitor" program tuaj yeem hauv ROM. Qhov no saib pub lub tshuab code rau nkag ncaj qha los ntawm cov keyboard thiab tuav hauv RAM. Cov kev pab cuam no tau nyob rau hauv tshuab code, tsis txawm nyob rau hauv lub hom lus ua ke, thiab feem ntau tau sib sau ua ke los ntawm txhais tes ntawm daim ntawv ua ntej nkag mus. Nws yog qhov sib cav uas yog txheej txheem uas siv sij hawm ntau dua thiab yuam kev: teeb tsa los ntawm tes, los yog keying by by-by-byte.


Tib qho "keypad thiab calculator zaub" microcontrollers ntawm hom no zoo ib yam li cov qis microcomputers ntawm lub sijhawm tsawg, xws li KIM-1 lossis tus kws kho tshuab [4] Qee qhov ntawm cov microprocessor "trainer" systems tseem muaj nyob rau niaj hnub no, yog siv cov nqi qis heev rau microprocessors ntawm cov cuab yeej kho vajtse.


Coj kev loj hlob

Thaum twg cov duab PC ua ke, pib CP / M los yog Apple II, tom qab ntawd IBM PC thiab compatibles, muaj kev hloov mus rau txoj kev loj hlob. Cov cuab yeej tam sim no pheej yig dua thiab RAM muaj peev xwm nthuav dav tias nws tau mus download tau qhov kev zov me nyuam los ntawm qhov chaw nres nkoj thiab tuav nws hauv RAM. No loj heev nyob rau lub sij hawm voj voog mus ntsuam xyuas ib tug tshiab version ntawm ib qhov kev pab cuam muab kev nce qib loj hauv txoj kev loj hlob.


Qhov kev nco no qhov kev pab cuam tseem poob siab thiab yuav poob yog tias fais fab tuag ploj. Flash nco tsis tau muaj nyob rau ntawm ib qho siv tau. Raws li qhov ua tiav qhov kev sib tsoo uas tau ua tiav mas feem ntau yuav tsum tsis yog neeg tsis tuaj yeem, cov kauj ruam kawg hauv ib qhov project feem ntau yuav hlawv rau EPROM.