Cov txheej txheem:

Hacking EXtreme Burner rau AVR Atmega Devices Programming: 7 Kauj Ruam
Hacking EXtreme Burner rau AVR Atmega Devices Programming: 7 Kauj Ruam

Video: Hacking EXtreme Burner rau AVR Atmega Devices Programming: 7 Kauj Ruam

Video: Hacking EXtreme Burner rau AVR Atmega Devices Programming: 7 Kauj Ruam
Video: aaj ek baar phir se akal haar gyi 😷 2024, Hlis ntuj nqeg
Anonim
Hacking EXtreme Burner rau AVR Atmega Devices Programming
Hacking EXtreme Burner rau AVR Atmega Devices Programming
Hacking EXtreme Burner rau AVR Atmega Devices Programming
Hacking EXtreme Burner rau AVR Atmega Devices Programming

Nov yog Kuv Qhov Kev Qhia Thawj Hauv Lub Vev Xaib no! Txhua tus neeg zoo tau tshaj tawm ntau yam ntawm lub xaib no, ntau yam kev xav txawv thiab txawv thiab nyiam ib yam nkaus! Ntau yam uas kuv tau nyeem ua ntu zus, thiab koj tshoov kuv siab kom rov qab los rau Zej Zos! Txawm hais tias lub npe yog "nyiag nkas" tsis xav tau kev ceeb toom! peb tsuas yog hloov kho qee cov ntaub ntawv cov ntaub ntawv siv los ntawm txoj haujlwm thiab nws tsis raug cai nyob rau hauv ib txoj kev twg. Cov software teev tseg ntawm no yog pub dawb siv los ntawm leej twg thiab tuaj yeem rub tawm nrog rau lwm qhov AVR cov phiaj xwm GUI pem hauv ntej-xaus rau AVRdude (uas nws tus kheej yog pej xeem sau) yam tsis muaj kev txwv. Cas lub sij hawm "Hacking" yog qhov txaus nyiam dua thiab peb tau hla ntau cov ntawv zoo li tam sim no!

"eXteme Burner" yog qhov nrov pem hauv ntej GUI rau AVRdude Program siv los ua haujlwm ATMEL AVR series ntawm MicroControllers. (MCU) Cov. Qhov thib ob 'X' yog lub peev hauv lub npe ntawm cov khoom siv no! Tsis yog, nws tsis yog kuv ua yuam kev. Muaj ntau yam cuab yeej GUI ib yam nkaus, xws li Khazama programmer thiab BitBurner AVR programmer thiab lwm yam. Kuv tau siv eXtreme Burner rau kuv kev xyaum AVR thiab nws tau pab kuv zoo rau Microcontrollers Atmega 328, 168, Atmega8 lossis 8A thiab lwm yam. Tab sis muaj ib hnub thaum kuv siv lub nti tshiab ATTINY44A kuv tau ntsib teeb meem. Lwm tus neeg ib yam nkaus (hauv ntau lub rooj sab laj AVR tau tshaj tawm qhov no thiab tso tseg eXtreme Burner, mus nrhiav lwm qhov haujlwm GUI rau AVRdude lossis nqis mus rau kab hais kom ua thiab siv AVRdude ncaj qha nrog nws cov kev xaiv.) Qhov no yog vim tsis nkag siab txog qhov hloov pauv hloov pauv tau hauv eXtreme Burner! Tom qab tag nrho, ib zaug koj tau siv GUI uas tuaj yeem nyeem koj lub cim xeeb flash AVR, EEPROM thiab FUSES vim li cas koj thiaj yuav mus kawm lwm GUI? Nov yog kuv nthuav qhia yuav hloov kho koj li eXtreme burner Tool li txoj hauv kev li cas! Koj lub cuab yeej yuav coj tus cwj pwm uas koj tsis xav ua thiab tsis yog qee txoj hauv kev uas nkag mus rau hauv koj txoj kev lossis tsis ua haujlwm txhua qhov tshwj xeeb hauv MCU.

Dab tsi koj xav tau: Lub laptop nrog eXtreme lub tshuab hlawv, AVR studio txhua qhov version nrog AVR-GCC tus neeg sau los sau koj li C program rau hauv Intel Hex cov ntaub ntawv txhawm rau thauj mus rau hauv koj MPU, Notepad ++ nrog ntxiv rau nruab rau 'XML' saib thiab kho (saib Hauv Cov Ntawv Qhia Lus, nws yuav qhia XML raws li kev xaiv hauv cov npe hauv qab, yog tias nws ua nws twb tau teeb tsa, yog tias tsis yog lub taub hau mus rau Notepad ++ qhov chaw thiab rub tawm nws, nws kuj tseem tuaj yeem ua los ntawm Notepad ++ nws tus kheej kom ntxiv cov lus ntxiv '). Xaiv qhov XML xaiv, tus ntawv yuav tshwm ntawm nws ib sab. Qhov no tso cai rau koj los saib thiab kho XML cov ntaub ntawv, uas yog hom ntawv koj yuav raug nyiag cov ntaub ntawv hauv kab lus no.

Kauj Ruam 1: Teeb XML Saib hauv Notepad ++

Teeb XML Saib hauv Notepad ++
Teeb XML Saib hauv Notepad ++

Kauj Ruam 2: Nkag Siab Cov Ntaub Ntawv Koj Yuav Tsum Hloov Kho

Nkag siab Cov Ntaub Ntawv Koj Yuav Tsum Tau Hloov Kho
Nkag siab Cov Ntaub Ntawv Koj Yuav Tsum Tau Hloov Kho
Nkag siab Cov Ntaub Ntawv Koj Yuav Tsum Tau Hloov Kho
Nkag siab Cov Ntaub Ntawv Koj Yuav Tsum Tau Hloov Kho

Hauv Extreme Burner, mus rau nws qhov program Cov ntaub ntawv nkag ntawm: C: / Program Files / eXtreme Burner - AVR, muaj ob peb daim nplaub tshev ntawm no: Cov Ntaub Ntawv, Pab, Duab, Tsav Tsheb thiab lwm yam Peb pib tawm nrog yog lub npe "Cov Ntaub Ntawv" ". Thaum koj saib rau hauv daim nplaub tshev no, Deja-Vu! Yog li qhov no yog qhov twg cov ntaub ntawv teeb tsa tau khaws cia! Cov ntaub ntawv XML muaj: Chips.xml, Fuselayout.xml, clocksystems.xml, Cov no yog cov ntaub ntawv XML koj yuav tau hloov kho hauv Cov Lus Qhia no. Koj yuav xav tau XML editor. Muaj ntau ntau hauv Web tab sis kuv siv thiab pom zoo Notepad ++ (qhov ntxiv-hauv los saib thiab kho XML cov ntaub ntawv twb tau teeb tsa hauv kev teeb tsa ua ntej ntawm Notepad ++, yog tias nws tsis yog, rub tawm thiab teeb tsa qhov ntxiv no). Saib lub vijtsam rau qhov uas koj yuav tsum zuam "XML saib" hauv notepad ++. hauv qib ua ntej.

Kauj ruam 3:

Duab
Duab
Duab
Duab

Yog tias koj saib mus rau hauv cov ntaub ntawv chips.xml hauv cov ntaub ntawv tais ceev tseg qhov twg eXtreme Burner tau teeb tsa, thiab nqes mus rau ntu ntu piav qhia rau koj lub cuab yeej Attiny44A lossis cov chip twg los xij koj tab tom ntsib teeb meem nrog, koj yuav Pom Qhov Tsis Txaus Siab Page loj i (64) bytes hloov ntawm 32 bytes raws li tau muab hauv nws cov ntaub ntawv) hauv XML cov ntaub ntawv hauv ntu Attiny44, qhov no ua rau muaj qhov tsis raug thiab tsis muaj peev xwm nyem peb Txoj Haujlwm / hex cov ntaub ntawv rau hauv peb lub Microcontroller siv USB-ASP. Qee zaum kab kos npe yuav muaj cov ntaub ntawv tsis raug. Koj yuav tsum nyeem nqe lus no thiab paub tseeb tias nws muaj cov ntaub ntawv raug thiab raug rau koj cov nti los ntawm kev sib piv nrog nws cov ntaub ntawv raug cai.

Cov ntaub ntawv XML no tuaj yeem nyeem nkaus xwb nrog XML cov ntaub ntawv kho.

Tsis tas li, Thaum twg los xij koj tau txais txhua yam kev ua yuam kev thaum siv lub tshuab hluav taws xob hnyav, tsuas yog nyem rau "CHIP INFO" hauv Cov Ntawv Qhia ntawm koj lub cuab yeej hlawv thiab saib yog tias cov ntaub ntawv qhia pom yog raug (tom qab koj tau teeb tsa cov nti hauv cov ntawv qhia hauv qab Chip) saib cov duab 1 thiab 2). Thaum koj pom qhov tsis sib xws no hauv cov ntaub ntawv qhia txog cov nti uas koj tau xaiv thiab Chip cov ntaub ntawv-ntawv (lossis txawm tias nyob rau hauv rooj plaub thaum lub nti koj tab tom sim nyem tsis tshwm nyob rau hauv lub nti xaiv cov lus hauv eXtreme Burner) koj yuav tsum hloov kho XML raws li tau piav qhia hauv peb cov lus qhia.

Kauj Ruam 4: Ua Kev Kho hauv XML Cov Ntaub Ntawv Chips.xml

Ua Kev Kho hauv XML Cov Ntaub Ntawv Chips.xml
Ua Kev Kho hauv XML Cov Ntaub Ntawv Chips.xml

Siv Notepad ++ lub qhov rais koj yuav ua cov kev hloov kho no, feem ntau Nplooj ntawv teeb tsa rau 32 bytes raws li tau muab hauv cov ntaub ntawv rau Attiny44). Koj yuav ntsib teeb meem thaum siv cov nti sib txawv, tab sis cov theem yog tib yam.

Tam sim no koj yuav tsum tau ntxiv lwm ntu hauv qab no ib qho, rau koj qhov tshwj xeeb MCU Attiny44A. Txij li cov nti no zoo ib yam hauv cov npe, cim xeeb loj, thiab txhua yam, peb tsuas yog theej thiab luam tawm ntu 44A hauv qab nws, hauv ntu tshiab no, hloov npe lub npe nti, rau ATTINY44A hloov chaw ntawm ATTINY44. Tsuas yog txhawm rau rov ua dua, peb tsis tshem ntu ATTINY44, peb tsuas yog hloov kab ntawv kab ntawv hauv nws! Peb tsuas yog ntxiv ib ntu ntxiv hauv qab no rau peb 44A Microcontroller.

Saib cov duab.

Kauj Ruam 5: Tshooj Lus Tshiab rau Attiny44A Ntxiv

Tshooj lus tshiab rau Attiny44A Ntxiv
Tshooj lus tshiab rau Attiny44A Ntxiv

Koj tsuas yog theej theej ntu ntu dhau los rau ATTINY44 (tom qab kho cov nplooj ntawv loj rau 32 bytes hauv nws ntu XML) thiab hloov lub npe nti hauv kab XML rau "ATTINY44A", piv txwv li, tsuas yog ntaus "A"! Tag nrho cov seem ntawm txoj kab zoo ib yam. Ceev faj kom tsis txhob ua yuam kev hauv XML thiab tsis txhob tso ib qho cim cim tseg! Yog tias koj ua li ntawd ib zaj dab neeg sib txawv koj yuav kawm paub yuav muaj dab tsi tshwm sim tom ntej koj qhib "Xtreme Burner" nws yuav hais "yuam kev thauj XML cov ntaub ntawv chips.xml ntawm kab no. ----", yog li koj yuav paub thiab tom qab ntawd koj tuaj yeem ua tau rov qhib cov ntaub ntawv XML thiab tshawb xyuas qhov koj ua yuam kev! Txuag koj cov ntaub ntawv hauv Notepad ++ thiab tawm. Koj txoj haujlwm tiav lawm!

Kauj Ruam 6: Txheeb Xyuas Koj Txoj Haujlwm

Txheeb Xyuas Koj Txoj Haujlwm!
Txheeb Xyuas Koj Txoj Haujlwm!
Txheeb Xyuas Koj Txoj Haujlwm!
Txheeb Xyuas Koj Txoj Haujlwm!
Txheeb Xyuas Koj Txoj Haujlwm!
Txheeb Xyuas Koj Txoj Haujlwm!
Txheeb Xyuas Koj Txoj Haujlwm!
Txheeb Xyuas Koj Txoj Haujlwm!

Tam sim no peb yuav tsum saj Cov Ncuav Qab Zib lossis Pudding raws li koj nyiam hu nws!

Qhib eXtreme burner, thiab saib hauv Chips hauv qab Cov Ntawv Qhia, koj cov nti tshiab Attiny44A yuav tsum tshwm! xaiv nws.

nyem rau ntawm Chip Info thiab txheeb xyuas cov ntsiab lus yog qhov tseeb! Saib cov duab.

Txuas koj tus programmer USBASP rau koj lub USB chaw nres nkoj thiab koj lub Rooj Tswjhwm Saib Xyuas Kev Txhim Kho rau USBASP, thiab tos txog thaum nws tau lees paub los ntawm cov tsav tsheb, nws yuav tshwm nyob rau hauv "Devices & Printers". Tam sim no muab "Nyeem TXHUA" los ntawm Burner. Koj yuav pom qhov nyeem tau zoo ntawm Flash, EEPROM thiab fuses, yog tias txhua yam yog lawm! Cov lus kuaj mob yuav pom zoo li hauv daim duab.

Kauj Ruam 7: Sau rau Chip Koj Txoj Haujlwm / Cov Ntaub Ntawv Hex

Sau rau Chip Koj Txoj Haujlwm / Cov Ntaub Ntawv Hex
Sau rau Chip Koj Txoj Haujlwm / Cov Ntaub Ntawv Hex
Sau rau Chip Koj Txoj Haujlwm / Cov Ntaub Ntawv Hex
Sau rau Chip Koj Txoj Haujlwm / Cov Ntaub Ntawv Hex
Sau rau Chip Koj Txoj Haujlwm / Cov Ntaub Ntawv Hex
Sau rau Chip Koj Txoj Haujlwm / Cov Ntaub Ntawv Hex
Sau rau Chip Koj Txoj Haujlwm / Cov Ntaub Ntawv Hex
Sau rau Chip Koj Txoj Haujlwm / Cov Ntaub Ntawv Hex

Tam sim no qhib ib qho ntaub ntawv hex ntawm koj lub khoos phis tawj los ntawm koj cov phiaj xwm AVR thiab saib nws nyem los ntawm muab "Sau Flash" los ntawm Burner Menu.

Saib cov lus uas qhia sau rau Chip thiab txheeb xyuas ops mus tau zoo!

Yog tias lawv tsis ua, txheeb xyuas cov xov hlau thiab kev sib txuas los ntawm koj lub rooj sib tham txhim kho tus tswv thiab koj li USBasp programmer. Nws yog!

Kab lus tom ntej kuv yuav qhia koj li cas txhawm rau hack lwm cov ntaub ntawv XML ib yam nkaus! thiab yuav ua li cas tso koj cov duab kev cai (Kuv tso cov duab ntawm kuv tus dev dev Tom hauv cov ntawv qhia zaub mov, kawg tab sis ib lub cim ntawm sab xis, txhawm rau kho kuv lub eXtreme lub tshuab hlawv, pom hauv daim duab kawg saum toj no) hauv Cov Ntawv Qhia zaub mov kom paub tseeb tias koj nws qhov hloov kho kom haum rau koj cov kev xav tau uas koj siv thiab tsis yog cov khoom lag luam! Saib qhov snap ntawm cov ntawv qhia zaub mov bar nrog duab hauv nws (kawg tab sis ib lub cim).

Txog Fuses, koj puas siv lub tshuab fuse hauv online? Koj tuaj yeem ua nws nyob rau hauv Extreme burner ib yam nkaus, muaj lub fuse laij lej hauv FUSES tab rau teeb tsa lub moos nrawm thiab kev xaiv fuse! Qee lub sij hawm nws tsis ua haujlwm rau koj cov nti, Kuv yuav qhia koj li cas rau hack ntawd ib yam, nws yooj yim heev, siv cov ntaub ntawv fuselayout.xml thiab clocksystems.xml.

Zoo siab MCU programming! Yog tias koj xav tau cov lus qhia ntxiv txog kev siv eXtreme burner, tshaj tawm nws hauv cov lus thiab kuv yuav zoo siab muab kuv cov tswv yim thiab cov lus qhia. Qhia koj lub tswv yim ib yam!

Pom zoo: