Cov txheej txheem:
- Kauj Ruam 1: Fuse Xam Koj Li 40DIP Circuit:
- Kauj Ruam 2: Saib rau Boards.txt File hauv Mightycore Directory:
- Kauj Ruam 3: Hloov Kho Cov Boards.txt thiab Bootload Nrog Mightycore:
- Kauj Ruam 4: Xaus:
Video: Yuav Ua Li Cas Xiam JTAG Ua Ntej Bootloading Atmegas 40DIP Nrog Arduino IDE Mightycore: 4 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:26
Tsis ntev los no kuv tau siv atmegas 40 DIP los tswj cov txheej txheem kev lag luam vim tias hom microcontroller no muab ntau yam analog lossis digital I/O yog li koj tsis xav tau kev nthuav dav ntxiv.
Atmegas32/644p/1284p suav nrog ib txoj hauv kev rub cov duab kos uas koj tsim uas hu ua "JTAG" (saib
en.wikipedia.org/wiki/JTAG yog xav paub ntau ntxiv). Yog tias koj siv Arduino IDE lossis LDmicro (IEC 61-131) cov duab kos tau rub los ntawm SPI chaw nres nkoj thiab JTAG pins (4 tus pin: PC2 (D18) PC3 (D19) PC4 (D20) PC5 (D21) tsis muaj rau txhua yam Yog li koj yuav tsum tau lov tes taw JTAG hauv koj qhov program.
Nrog arduino IDE koj tsuas yog yuav tsum ntxiv 3 kab ntawm cov cai hauv ntu teeb tsa zoo li no:
uint8_t tmp = 1 << JTD;
MCUCR = tmp;
MCUCR = tmp;
Ob txoj kab MCUCR txoj hauv kev.
Nrog LDmicro Kuv tsis tuaj yeem tswj ua dab tsi.
Txhawm rau zam cov teeb meem no, kuv bootloaded tom qab MCUCR sau npe tswj kuv atmegas nrog Arduino IDE hauv qab Mightycore. Ib txoj hauv kev hlawv cov fuses nrog JTAG xiam oob khab.
Kauj Ruam 1: Fuse Xam Koj Li 40DIP Circuit:
Mus rau lub vev xaib:
eleccelerator.com/fusecalc/fusecalc.php?chi…
Xaiv qhov kev sib tw zoo (atmega1284p hauv kuv qhov piv txwv tab sis tib txoj kev nrog lwm 40 DIP atmegas) thiab saib "U hfuse: w: 0x99: m" thiab uncheck JTAGEN yog li nws muab "U hfuse: w: 0xD9: m". Nco ntsoov koj lub siab tus nqi 0xD9.
Kauj Ruam 2: Saib rau Boards.txt File hauv Mightycore Directory:
Hauv koj lub PC tshawb nrhiav Mightycore directory. Rau kuv hauv C: / tus neeg siv kuv tus kheej / AppData / Local / Arduino15 / pob khoom / Mightycore / Harware / avr / 2.0.0 / boards.txt.
Kauj Ruam 3: Hloov Kho Cov Boards.txt thiab Bootload Nrog Mightycore:
Ua tibzoo saib ntawm Clock zaus thaiv ntawm atmega1284p nrog Notepad ++.
Hloov kho txhua qhov fuse siab xws li "1284.menu.clock.16MHz_external.bootloader.high_fuses = 0xd6" rau "1284.menu.clock.16MHz_external.bootloader.high_fuses = 0xd9" (0xd9 tus nqi yav dhau los koj yuav tsum nco ntsoov). Txuag nws.
Tom qab ntawd koj tsuas yog yuav tsum ua raws txoj hauv kev bootloading muab rau hauv
www.instructables.com/id/Arduino-18x-Clone…
Qhov ntawd yog nws.
Kauj Ruam 4: Xaus:
Tam sim no koj khwv tau 4 I/O thiab koj tsis tas yuav ua ib qho kev sau npe rau hauv koj daim duab. Koj tseem tuaj yeem rov qab thiab pab kom JTAGEN thiab rov pib dua ib zaug ntxiv.
Ua tsaug rau txhua qhov kev qhia paub hauv web uas tau muab qee qhov yuam sij rau kuv kom ua tiav txoj haujlwm no.
Pom zoo:
Yuav Ua Li Cas Thiaj Li Ua Ntej Ua Ntej Yooj Yim Software Siv Python: 6 Cov Kauj Ruam
Yuav Ua Li Cas Thiaj Li Yooj Yim Ua Ntej Ua Ntej Software Siv Python: Nyob zoo, zoo siab txais tos rau Cov Lus Qhia no. Ntawm no kuv yuav qhia yuav ua li cas thiaj ua rau koj tus kheej software. Yog tias koj muaj lub tswv yim … tab sis paub paub siv lossis xav tsim cov khoom tshiab tom qab ntawd nws yog rau koj …… Yam yuavtsum tau kawm uantej: Yuav tsum muaj kev paub pib ntawm P
Tus Tswj Tus Kheej rau Kev Xiam Oob Xiam Hlwb: 5 Kauj Ruam
Tus Tswj Tus Tswj rau Kev Xiam Oob Xiam Oob Qhab: Yog li, kuv tau xav txog ib hnub txog yuav ua li cas nws thiaj tsis muaj lub dab teg tawg. Kuv ua tsis tau dab tsi uas kuv xav ua! Los ntawm kev khi kuv tus kheej khau rau ua si video games, txhua yam yog txoj haujlwm. Tom qab ntawd kuv tau xav, "Cov neeg uas tsis tuaj yeem siv lawv lub
Yuav Ua Li Cas Ua Ntej Ua Ntej Ua Ntej: 8 Kauj Ruam (nrog Duab)
Yuav Ua Li Cas Ua Ntej Ua Ntej Ua Ntej Tsis Txaus Siab: BACKGROUND INFO: Kuv ib txwm ntxub lub suab nrov nrov ntawm txhua tus nas txij li thaum kuv tsis nyiam thab lwm tus neeg thaum kuv tab tom nyem rau hauv cov vis dis aus lossis yooj yim saib lub vev xaib. Vim li no, Kuv txiav txim siab hloov kho kuv thawj qhov kev ua si nas kom zoo rau
Yuav Ua Li Cas Txhim Kho Qhov Txiav Txiav X X Kawg Ua Ntej Ua Ntej: 10 Kauj Ruam
Yuav Ua Li Cas Txhim Kho Qhov Txiav Txiav X X Hloov Ua Ntej Presets: YUAV TSUM: Apple Computer / LaptopFinal Cut Pro X teeb tsa Browser txhawm rau rub qhov xav tau kawg Txiav Pro X hloov pauv ua ntej (s)
Yuav Ua Li Cas Ntxiv Cov Suab Ib puag ncig rau Chav Ua Ntej Ua Ntej: 5 Kauj Ruam
Yuav Ua Li Cas Ntxiv Cov Suab Ib puag ncig rau Chav Ua Ntej Ua Ntej: Koj puas xav ntxiv lub suab ib puag ncig rau hauv chav tab sis pom tias koj yuav tsum tau sib cais koj cov phab ntsa lossis ua qhov hauv qab nthab? Zoo ntawm no yog txoj hauv kev yooj yim me ntsis tso rau hauv cov xaim nrog tsis ua ib qho kev tsim kho loj, lossis ib qho hlo li