page_banner

labarai

Sakamakon amfani da kayan aiki daban-daban, hanyoyin shirye-shiryen ɓarnatar da IC da buƙatun takaddun suma daban.

Hanya ɗaya ita ce ta amfani da hanyar shirye-shirye ta gama gari, idan amfani da manyan masu shirye-shirye, gabaɗaya suna tallafawa BIN ko HEX fayil, kai tsaye ɗora fayil ɗin, sannan daidaituwar da ta dace, kai tsaye za ka iya ƙonewa.

news pic12
news pic13

Na biyu, wata hanyar ita ce ta amfani da yanayin layin ISP ko JTAG don saukar da fayil ɗin, saboda akwai layukan zazzage iri iri, layin zazzagewa gaba ɗaya ana tallafawa a cikin saukar da AVRSTUDIO, zazzage STUDIO, tsarin fayil ɗin da ake buƙata ya zama fayilolin da aka tsara na HEX , idan an loda BIN fayil, za a sa shi ba tsarin tallafi na AVRSTUDIO ba. Kuma ana buƙatar fayilolin FLASH da EEPROM daban, ma'ana, bayan ƙaddamarwa don samar da FLASH da EEPOM fayiloli biyu.

news pic14

AVR microcontrollers IC decryption suna da ɗakunan wurare da yawa na fis wanda ya danganci ƙirar na'urar da yanayin aiki. Wadannan fius din suna da mahimmanci. Masu amfani za su iya saitawa da saita Fuse don sanya mai sarrafa AVR daban-daban a cikin yanayi don dacewa da aikace-aikacen da ake amfani da shi. Amma saboda buƙatar saita fius ɗin, ga masu farawa don kawo wasu rashin fahimtar wurin, bayan ƙaddamar da microcontroller, shirin a cikin lokacin ƙonawa, amma kuma akan yanayin fis, idan daidaitawar ba daidai bane, na iya ba Canje-canje na aiki ko aiki ba. Duk a cikin konewar rubutattun takardu lokacin da dole ne a daidaita fis din, saboda kayan aikin da zasu tallafawa AVR suna da yawa, kuma kayan aiki daban-daban na masarrafan software daban, don haka yi mafi kyau a cikin yanke hukunci na microRontroller AVR kafin bayyana kamfanin kanta Wadanne kayan aiki ana amfani da su, don kamfanin yankewar guntu daidai da kayan aikinsu don yin taswirar kewayawa, mai sauƙin yankewa bayan shirin ya ƙone, amma kuma suna iya amfani da kamfanin yanke hukunci don samar da samfuran don karanta tsarin fis ɗin, kuma wasu Kayan aiki na iya karanta guntu kai tsaye, wasu saitin karantawa, da sauransu, sannan kuma karanta saitin da aka ajiye.

PCB-Assembly
PCB-PCBA-assembly

Idan kawai masana'anta ce guda-guda, tsoho shine ayi amfani da 1MHZ RC na ciki kamar yadda tsarin agogo yake, kuma tashar JTAG tana cikin yanayin da aka yarda. Don fis ɗin AVR aƙalla don share waɗannan maki.

1, Ana iya shirya fis na AVR sau da yawa, ba fis na OTP lokaci ɗaya ba.

2, Kullin ɓoye ɓoye na AVR (LB2 / LB1 = 1 / 0,0 / 0) ba zai iya karanta guntu ta kowane bayanan FLASH da EEPROM ba, amma har yanzu ana iya karanta yanayin fis ɗin, amma ba zai iya gyaggyarawa ba.

3, ana iya samun daidaiton fius bit a layi daya, ISP da yanayin serial JTAG.

4, sauke matakan da suka dace sune: a cikin guntu ba tare da kulle guntu ba don sauke lambar gudana da bayanai, saita fuse bit ɗin da ya dace, kuma ƙarshe saita wurin ɓoye ɓoyayyen guntu.

5, umarnin goge guntu shine zuwa FLASH da EEPROM bayanai a sarari, kuma a lokaci guda an saita matsayin bit bit kadan zuwa babu jihar kulle (LB2 / LB1 = 1/1), amma umarnin goge guntu baya canzawa da sauran fis Bit jihar.

6, kuma mafi mahimmanci shine bitar BOOTRST, wannan bit ɗin ya saita alaƙar tsakanin guntu bayan shirin kunna wuta daga 0X0000 ko daga yankin BOOT ya fara aiwatarwa. Zaɓin tushen tsarin agogo yana da mahimmanci, bayan ƙaddamar da shirin lokacin da abokin ciniki galibi ba shi da sauƙin amfani, kunna ɓangaren tushen agogo ba a saita shi saboda dalilai, saboda haka agogon tsarin dole ne ya kasance daidai da saitunan asali

7, ya kamata ya zama a bayyane yake cewa SPIEN bit, yawancin kwastomomi sun kasance suna tuntuɓar tarho, ma'ana, muna ba da microcontroller ba za a iya haɗa shi da ISP ba, kuma zai iya siyan na su, fuse na SPIEN an daidaita ISP , idan SPIEN ya kasance 1, ISP an yarda da ita, idan 0 ce ta hana jihar, idan aka hana ta tabbas, ba za a iya guntu tashar ISP ba.

8, guntu an rufeta kuma an kulle, idan an sami fius da daidaitawa ba daidai bane, dole ne ku yi amfani da umarnin goge guntu don share bayanai a cikin guntun, yanke maƙullin ɓoyayyen, sannan sake sake sauke lambar da ke gudana da bayanai, gyara fius-masu alaƙa da sanyi, kuma a ƙarshe sake daidaita bitar makullin ɓoyayyen guntu.

news pic15

Post lokaci: Dec-07-2020