Cov txheej txheem:
- Khoom siv
- Kauj Ruam 1: Txhim Kho USBasp Tsav Tsheb Siv Zadig
- Kauj ruam 2: Rub tawm AVRDUDE
- Kauj ruam 3: Qhib Atmel Studio
- Kauj ruam 4: Nyem "Ntxiv"
- Kauj Ruam 5: Sau Cov Lus Qhia rau USBasp Programmer
- Kauj Ruam 6: Siv Programmer
- Kauj ruam 7: Troubleshooting
Video: Programming Microcontrollers Nrog USBasp Programmer hauv Atmel Studio: 7 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Nyob zoo
Kuv tau nyeem thiab kawm dhau los ntawm ntau qhov kev qhia qhia yuav siv USBasp programmer nrog Arduino IDE li cas, tab sis kuv xav tau siv Atmel Studio rau Tsev Kawm Ntawv txoj haujlwm thiab nrhiav tsis tau ib qho kev qhia. Tom qab tshawb fawb thiab nyeem dhau los ntawm ntau cov peev txheej, Kuv tau tsim qhov kev qhia no rau txhua tus neeg xav siv Atmel Studio nrog tus tsim USBasp.
USBasp yog qhov kev daws teeb meem pheej yig dua rau AVR cov phiaj xwm thiab txhawb nqa ntau lub microcontrollers. Daim ntawv teev npe tag nrho tuaj yeem pom ntawm
Cov ntawv qhia no siv ATtiny85 ua piv txwv tab sis tuaj yeem txuas ntxiv rau kev ua haujlwm ib qho kev txhawb nqa microcontroller siv USBasp programmer.
Cia peb mus rau nws!
Khoom siv
USBasp AVR Programmer
Kauj Ruam 1: Txhim Kho USBasp Tsav Tsheb Siv Zadig
Qhib koj lub vev xaib thiab mus rau
Siv cov cuab yeej no, peb xub teeb tsa tus tsav tsheb raug rau USBasp.
- Ntaus lub pob download thiab teeb tsa daim ntawv thov.
- Qhib Zadig
- Nyem rau ntawm cov kev xaiv thiab nyem rau ntawm List All Devices
- Xaiv USBasp thiab teeb tsa libusbK (v3.0.7.0) tsav tsheb
Thov nco ntsoov, kev txhim kho tus tsav tsheb yuav siv sijhawm ntev li tsib feeb.
Kauj ruam 2: Rub tawm AVRDUDE
Cov kauj ruam tom ntej yog rub AVRDUDE.
Nyem rau kab ntawv hauv qab no txhawm rau rub tawm ZIP cov ntaub ntawv ncaj qha, lossis xav rub tawm nws sab nraud los ntawm kev tshawb nrhiav rub tawm AVRDUDE.
mirror.freedif.org/GNU-Sa/avrdude/avrdude-…
Thaum rub tawm, rho tawm cov ntawv rau hauv koj cov ntaub ntawv lossis hauv Atmel Studio Program cov ntaub ntawv. Nws yog ib qho tseem ceeb kom paub tias cov no raug rho tawm li cas koj yuav xav tau lawv cov ntawv hauv txoj hauv kev hauv qab no.
Kauj ruam 3: Qhib Atmel Studio
Qhib Atmel Studio thiab hauv lub ntsiab lus qhia bar, lub taub hau rau cov cuab yeej, thiab tom qab ntawd nyem rau ntawm cov cuab yeej sab nraud.
Kauj ruam 4: Nyem "Ntxiv"
Nyem "Ntxiv" ntxiv cov chaw rau lub cuab yeej tshiab.
Kauj Ruam 5: Sau Cov Lus Qhia rau USBasp Programmer
Txog qhov hais kom ua, nkag mus rau cov ntaub ntawv chaw nyob mus rau AVRDUDE.exe cov ntaub ntawv peb rub tawm thiab rho tawm ua ntej.
Piv txwv li, kuv cov lus txib yuav yog:
C: / Program Files (x86) Atmel / Studio / avrdude.exe
Nco tseg, qhov no tsuas yog piv txwv xwb !! Koj qhov chaw nyob tej zaum yuav txawv. Xav tias dawb siv lub ntsej muag tshawb pom (peb tus lej ntawm qhov kawg ntawm cov lus txib hais kom ua) txhawm rau nrhiav cov ntaub ntawv avrdude.exe.
Txog kev sib cav, luam thiab muab kab hauv qab no rau hauv koj cov lus sib cav:
-c usbasp -p t85 -Uflash: w: "$ (ProjectDir) Debug / $ (TargetName).hex": i
Ua txhaum cov lus sib cav saum toj no:
- Kev sib cav tom qab -c txheeb xyuas tus programmer id. Hauv peb qhov xwm txheej, usbasp
- Kev sib cav tom qab -p txheeb xyuas lub microcontroller. Hauv peb qhov xwm txheej, ATtiny85, hu ua t85
-
Kev sib cav tom qab -U txheeb xyuas hom kev nco
Hloov t85 rau koj lub microcontroller los ntawm kev saib cov ntsiab lus cuam tshuam hauv cov ntaub ntawv txuas ua ke thaum pib
Nco tseg, cov lus sib cav tau muab los ntawm cov ntaub ntawv avrdude. Qhov no tuaj yeem tau txais los ntawm cov kev sib txuas tau muab thaum pib.
Nyem Thov thaum txhua yam ua tiav!
Kauj Ruam 6: Siv Programmer
Txhawm rau program AVR, xyuas kom nws txuas nrog USBasp, mus rau cov cuab yeej sab nraud thiab nyem rau ntawm lub cuab yeej uas koj nyuam qhuav tsim.
Tsis txhob hnov qab tsim koj cov kev daws teeb meem ua ntej koj qhov program.
Nws yuav tsum yog txhua qhov programmed!
Kauj ruam 7: Troubleshooting
Yog tias muaj teeb meem tshwm sim:
- Sim siv cov chaw nres nkoj USB sib txawv los ntsaws rau hauv USBasp programmer rau
- Xyuas kom AVR txuas nrog tus programmer
- Nyeem los ntawm txhua qib ua tib zoo rov ua dua thiab xyuas kom cov lus txib thiab cov lus sib cav hauv cov cuab yeej sab nrauv teeb tsa yog qhov raug
Txwv tsis pub, koj txhua tus zoo mus!
Pom zoo:
Arduino Raws li ISP -- Hlawv Hex Cov Ntaub Ntawv hauv AVR -- Fuse hauv AVR -- Arduino Raws li Programmer: 10 Kauj Ruam
Arduino Raws li ISP || Hlawv Hex Cov Ntaub Ntawv hauv AVR || Fuse hauv AVR || Arduino As Programmer: ……………………… Please SUBSCRIBE To my YouTube channel for more videos …….. Kab lus no yog txhua yam hais txog arduino li isp. Yog tias koj xav xa cov ntawv hex lossis yog tias koj xav teeb tsa koj lub fuse hauv AVR ces koj tsis tas yuav yuav tus programmer, koj tuaj yeem ua
Kev Tswj Dej Hauv Dej Hauv Dej Hauv Dej: 10 Kauj Ruam (nrog Duab)
Underwater Remote Control Drone: Kuv txiav txim siab los tsim ROV no rau lub hom phiaj ntawm kev tshawb fawb thiab kev qhuas ntawm lub ntiaj teb hauv qab dej vim tias tsis muaj ntau tus nqi tsim txiaj hauv cov drones hauv qab. Txawm hais tias nws siv sijhawm ntau, tshawb fawb, thiab autodidacticism, nws yog qhov kev lom zem
Pheej Yig STK500 AVR Programmer rau Atmel Studio: 7 Kauj Ruam
Pheej Yig STK500 AVR Programmer rau Atmel Studio: Atmel Studio yog lub cuab yeej muaj zog rau ua AVR cov haujlwm, tab sis kev sau ib qhov program yog thawj kauj ruam. Txhawm rau siv koj txoj haujlwm, koj yuav tsum ua lub Circuit Court thiab hloov koj cov cai rau hauv lub microcontroller. Koj tuaj yeem tsim kho koj li AVR los ntawm Atmel Studio los ntawm kev siv
ISP Programmer rau AVR Microcontrollers: 4 Kauj Ruam
ISP Programmer rau AVR Microcontrollers: Tus tswj hwm lub microcontroller yog tus khoos phis tawj khoos phis tawj nrog software uas yog siv los hloov lub tshuab cov lej lus rau lub microcontroller/EEPROM los ntawm lub PC. ISP programmer rau AVR microcontrollers yog Serial Programmers uas siv cov
Ntse Suab Nkauj hauv Chav Dej thiab Da Dej Nrog Raspberry Pi - Sib Koom Ua Ke Hauv Chav, Tswb, Khawm Tswj thiab Kev Siv Tsev Hauv Tsev: 7 Kauj Ruam
Ntse Suab Nkauj hauv chav pw thiab Da Dej Nrog Raspberry Pi - Sib Koom Ua Ke Hauv Chav, Tswb, Khawm Tswj thiab Kev Siv Tsev Hauv Tsev: Niaj hnub no peb xav muab ob qho piv txwv txog yuav ua li cas koj tuaj yeem siv Raspberry Pi nrog peb Max2Play software rau hauv tsev automation: hauv chav dej thiab chav pw . Ob txoj haujlwm zoo ib yam nyob hauv cov suab paj nruag siab ncaj los ntawm ntau qhov chaw tuaj yeem rub tawm los