Yuav Ua Li Cas Thiaj Ua Tau Tus Programmer

Cov txheej txheem:

Yuav Ua Li Cas Thiaj Ua Tau Tus Programmer
Yuav Ua Li Cas Thiaj Ua Tau Tus Programmer

Video: Yuav Ua Li Cas Thiaj Ua Tau Tus Programmer

Video: Yuav Ua Li Cas Thiaj Ua Tau Tus Programmer
Video: peb vib this yuav ua li cas thiaj tau muag khoom nyob hauv online 2024, Kaum ib hlis
Anonim

Ib qho ntawm kev tsim qauv yooj yim tshaj plaws rau microcontrollers yog AVReAl. Yog tias koj lub koos pij tawj muaj qhov chaw nres nkoj LPT, tom qab ntawd feem hluav taws xob ntawm tus programmer yuav tsis muaj cov haujlwm nquag. Yog tias tsis muaj qhov chaw nres nkoj zoo li no, koj tuaj yeem siv USB-LPT adapter.

Yuav ua li cas thiaj ua tau tus programmer
Yuav ua li cas thiaj ua tau tus programmer

Cov Lus Qhia

Kauj ruam 1

Nco ntsoov tias microcontroller koj tab tom txog rau qhov program nyob hauv cov npe khoom siv txhawb los ntawm tus programmer.

Kauj ruam 2

Txuas cov pins ntawm DM-25M ntsaws nrog microcontroller ceg raws li hauv qab no: tus pin 6 ntawm lub ntsaws - "/ RESET", tus pin 7 - MOSI, tus pin 5 - XTAL1, tus pin 8 - SCK, tus pin 10 - MISO, ib tus pin los ntawm 18 txog 25 - hom khoom noj khoom haus hlau nquag. Qhov chaw ntawm microcontroller ceg nrog cov npe coj nyob ntawm nws hom. Nws tuaj yeem raug teev tseg hauv cov ntawv teev lus qhia rau lub microcircuit.

Kauj ruam 3

Txuas DB-25M ntsaws rau LPT chaw nres nkoj ntawm koj lub computer lossis USB-LPT adapter. Hauv rooj plaub thib ob, txuas lub adapter mus rau USB chaw nres nkoj ntawm lub computer. Nco ntsoov tias cov adapter no yuav tsis ua haujlwm hauv DOS ntshiab.

Kauj ruam 4

Rub tawm qhov program control rau AVReAl programmer haum rau koj OS (DOS, Linux, BSD, Windows). DOS version tsis hloov tshiab, tab sis tseem muaj rau download. Qhov kev pab no tsis xav tau kev txhim kho - nws yog qhov txaus los muab tag nrho cov ntaub ntawv tso rau hauv ib lub tais ceev tseg. Muab cov ntawv HEX nrog qhov firmware nyob ntawd.

Kauj ruam 5

Siv zog rau lub microcontroller raws li nws cov pinout, tsom kwm cov polarity. Khiav qhov kev pab cuam nrog cov yuam sij uas xav tau thiab sau npe. Cov lus piav qhia txog cov yuam sij muaj nyob rau sab tom ntej no:

Kauj Ruam 6

Tom qab lub cajmeem ua tiav tiav, tshem lub hwj chim los ntawm microcontroller thiab disconnect nws los ntawm programmer.

Kauj Ruam 7

Nrog ib tus maub los ua tiav cov txheej txheem zoo, tso tus programmer nyob rau hauv rooj plaub. Ntawm nws cov vaj huam sib luag pem hauv ntej, tso ntau lub vaj huam sib luag rau cov microcontrollers nrog cov pinouts sib txawv, txuas nrog hauv thaum uas tig mus rau ntawm cov pins coj. Muab cov khoom siv fais fab tso rau ntawd, ntxiv rau lub pob hluav taws xob uas tso cai rau koj qhib thiab tawm sai sai, thiab txhua qhov taw qhia ntawm qhov muaj hluav taws xob (piv txwv li, LED nrog 200 Ohm resistor thiab lub zog ntawm 0.5 W), uas yog qhov tsim nyog nyob rau hauv kev txiav txim kom tsis txhob yuam kev muab lub microcontroller rau hauv lub qhov (socket) lossis tsis tshem nws los ntawm qhov ntawd thaum muaj kev txhawb nqa voltage.

Pom zoo: