USB Programmer (AVR): Lus Piav Qhia, Lub Hom Phiaj

Cov txheej txheem:

USB Programmer (AVR): Lus Piav Qhia, Lub Hom Phiaj
USB Programmer (AVR): Lus Piav Qhia, Lub Hom Phiaj

Video: USB Programmer (AVR): Lus Piav Qhia, Lub Hom Phiaj

Video: USB Programmer (AVR): Lus Piav Qhia, Lub Hom Phiaj
Video: USBASP может шить флешки (BIOS, EEPROM, Fash memory) 2024, Tej zaum
Anonim

Qee zaum cov xov tooj cua tshuab hluav taws xob uas tsim cov khoom siv hluav taws xob xav tau siv microcontrollers hauv lawv cov qauv. Microcontrollers xav tau firmware - qhov ntawd yog dab tsi cov programmer yog rau.

USB programmer (AVR): lus piav qhia, lub hom phiaj
USB programmer (AVR): lus piav qhia, lub hom phiaj

Dab tsi yog qhov programmer?

Tus programmer yog khoom siv kho vajtse-software uas tau siv los nyeem lossis sau cov ntaub ntawv rau ib lub chaw khaws khoom (lub cim xeeb sab hauv ntawm microcontrollers). Yog tias lub xov tooj cua pib xyaum ua haujlwm yuav tsum tau tswj hwm cov cuab yeej microcontroller ib zaug, koj tuaj yeem siv cov programmer uas sib txuas rau COM lossis LPT chaw nres nkoj. Piv txwv, qhov programmer yooj yim tshaj plaws rau AVR chips yog 6-xaim, 4-resistor cable (PonyProg programmer).

Siv cov txheej txheem tsim qauv, koj tuaj yeem thauj cov hex program rau hauv ntau AVR microcontrollers tsis tas yuav nkim sijhawm thiab nyiaj txiag. Tsis tas li ntawd, tus programmer tuaj yeem siv ua hluav taws xob hauv tshuab hluav taws xob, yog li koj tuaj yeem ua tus txheej txheem AVR microcontroller tsis tshem nws tawm ntawm lub cuab yeej.

Xws li cov programmer tau txuas nrog lub khoos phis tawj siv qhov tshwj xeeb (uas tseem hu ua tus programmer). Nws hloov lub khoos phis tawm ntawm lub khoos phis tawm, thiab lub cuab yeej tsuas yog sau nws rau lub cim xeeb ntawm cov microcircuit. Cov programmers tuaj yeem txuas ntawm qhov chaw nres nkoj txuas mus lossis cov chaw nres nkoj, ntawm USB txuas, thiab lwm yam. Cov programmers niaj hnub feem ntau txuas los ntawm USB.

Tus USB programmer yog npaj rau cov phiaj xwm microprocessor cov khoom ntawm qee lub tuam txhab (nyob ntawm lub hom ntawm tus programmer) hauv cov foos. Nws ua tau yooj yim ntawm cov txheej txheem software.

Yuav txuas lub USB programmer li cas?

Txhawm rau siv cov ntaus ntawv, koj yuav tsum txuas nws rau ib ntawm USB chaw nres nkoj ntawm koj lub khoos phis tawm. Tom qab ntawd, cov lus yuav tshwm nyob rau hauv lub computer txog kev sib txuas ntawm USBasp ntaus ntawv tshiab, thiab cov LED ntawm tus programmer nws tus kheej yuav taws, uas txhais tau tias lub cuab yeej txuas tau zoo.

Tom qab ntawd koj yuav tsum teeb tsa cov tsav tsheb kom lub OS tuaj yeem ua haujlwm kom raug nrog lub cuab yeej no. Tom qab ntawd nws yuav tau txuas rau microprocessor ntaus ntawv mus rau ISP interface. Qhov thib ob LED yuav pom teeb thaum lub sijhawm ua haujlwm.

Raws li txoj cai, tus programmer muaj ob qho cuam tshuam - ib qho rau txuas microcontroller, ib qho yog txuas rau khoos phis tawj. Txhawm rau txuas cov microcontroller, koj tuaj yeem siv ISP serial programming hom. Thiab cov cuab yeej no tau txuas nrog lub khoos phis tawm ntawm tus qauv USB txuas.

Txhawm rau tswj hwm tus programmer, koj yuav tsum nruab tshwj xeeb cov phiaj xwm. Nws yog qhov zoo tshaj plaws los siv kev thov windowed. Piv txwv li, txhawm rau ua haujlwm nrog tus ntaus ntawv, koj tuaj yeem siv cov programmes ExtremeBurner, Khazama, avrguge thiab lwm tus.

Pom zoo: