TQFP paketida AVRni dasturlash

Shunday qilib, men 32 pinli TQFP paketida ATmega328P-ni ko'rdim. Men ma'lumotnomaga mos ravishda pinlarni uladim. Mumkin echimlarni topish uchun internetda qidirishdan keyin ajratuvchi kondansativlarni qo'shdim. Bundan tashqari, barcha Vcc (jumladan, AVcc) va GND pinlarini mos ravishda ulabman. ICni yostiqning ustiga qo'yaman, ba'zi cheklovlar tufayli uni chigallashtira olmayman, lekin bu ishonchli elektr aloqasini amalga oshirayotganiga aminman. Ammo, mening shaxsiy kompyuterim quyidagi xatoni ko'rsatadi

C:\avrdude -p m328p -c usbasp

avrdude.exe: warning: cannot set sck period. please check for usbasp firmware up
date.
avrdude.exe: error: programm enable: target doesn't answer. 1
avrdude.exe: initialization failed, rc=-1
             Double check connections and try again, or use -F to override
             this check.


avrdude.exe done.  Thank you.

Is there anything that I am missing? What could be the problem here. enter image description here

1
Biror narsa noto'g'ri bog'langan. Yo'q, fotosurat yetarli emas.
qo'shib qo'ydi muallif markpasc, manba
Eng kamida aloqa qilish uchun chipni itarib qo'ying, lekin ishlay oladigan kafolatlar yo'q.
qo'shib qo'ydi muallif Tom Carpenter, manba
Shunday qilib, lehimsiz hech qanday kafolatlar yo'qmi?
qo'shib qo'ydi muallif P Tocco, manba
Bundan tashqari, pinler mutlaqo tekis joylashtirilmaydi. Lehimsiz kafolatlar yo'q. Ushbu chip osongina qo'l bilan lehimli.
qo'shib qo'ydi muallif user140087, manba

5 javoblar

Bu erda qanday muammo bo'lishi mumkin.

Muammolarning ba'zilari quyidagilardan iborat:

  • I place the IC on top of the pads [...] I am sure this is making a valid electrical connection.

    I respectfully disagree that you can be sure every (necessary) pin is making a good-enough electrical connection, with the ATmega328P TQFP package just "laying" on top of the breakout PCB.

    In the past I have seen a junior engineer try the same "trick" (different MCU) and again, they failed to program it - but all worked OK once it was correctly soldered.

    I cannot solder it due to some constraints

    So fix your constraints (whatever they are) which are preventing you from doing that soldering. For example, if your constraint is lack of suitable soldering equipment, then try to borrow the equipment, or ask someone else who has the equipment to do the soldering for you, or use the DIP version of the ATmega328P etc.

    Until the ATmega328P IC is correctly soldered to the breakout PCB, you are probably wasting your time.

  • That one picture of your breadboard, from an angle, and not including the full paths of all the jumper wires, makes it impossible for anyone reading your question to independently verify that the wiring is correct. You might have a problem there, which we cannot tell you about, since we cannot see all the jumper wiring.

  • From the amount of breakout PCB pin length which is visible above the breadboard (e.g. see the photo where IC pin 32 plugs into the breadboard), you either have long pins soldered to that PCB or the breakout PCB might not be fully inserted into the breadboard.

  • Looking at the soldering of the pins onto the top of the breakout PCB, they are a concern as several of them are "balls" of solder around the pin, instead of the solder flowing onto the PCB. This suggests the solder may not have made a good connection to the track on the breakout PCB, and again, that could cause problems for you.

    To illustrate the above two concerns, I have used part of your photo and highlighted them:

    potential problems marked on excerpt of original photo

Sizning xato xabaringiz eng umumiy (ya'ni, PC dasturiy ta'minoti ATMga328P-ni USB-dasturli programmali orqali aniqlay olmaganligi sababli) sizning muammoingiz, yuqorida ko'rsatilgan ro'yxatga qo'shimcha ravishda, deyarli hamma joyda bo'lishi mumkin. oldingi haddan ziyod katta pin o'rnatilganligi sababli, kambag'al yoki nil kontaktga sabab bo'lgan plitka kontakta ichki zarar; yoki ATmeag328P soxta bo'lishi mumkin; yoki sizning USBasp programmangiz noto'g'ri; va boshqalar.

Biroq, yuqorida sanab o'tilgan oddiy masalalardan boshlashni tavsiya qilaman.

2
qo'shib qo'ydi

Ehtimol, TQFP pastki tomoni bir necha pinlar oldida aloqa qilayotgandir.

Agar siz uni chigallashtirishni istamasangiz va sizning imkoniyatingizni o'stirishni istamasangiz, siz barcha ignalarni bir oz ichkariga egib olishga harakat qilishingiz mumkin, shunday qilib ular chipning taglik qismiga qaraganda oldinga suriladi.

Bundan tashqari, agar siz buni bir necha marotaba (masalan, lehimlenmeden oldin chiplarga yonilg'i yuklagich) yoqib yuborsangiz, bu aniq ish uchun bozorda TQFP adapterlari mavjud.

TQFP adapter

0
qo'shib qo'ydi
Ha. Men buni Xitoydan buyurdim. Umid qilamanki, bu yerga kelganda yangilanadi.
qo'shib qo'ydi muallif P Tocco, manba
ICni yostiqning ustiga qo'yaman, ayrim cheklovlar tufayli uni chigallashtirolmayman, lekin buning joriy elektr aloqasini amalga oshirayotganiga aminman.

Bu yomon taxmin. ICda 3 dan ortiq pin borligi sababli, uning mexanik qo'llab-quvvatlashi statik jihatdan aniqlanmagan va pinlar ko'p qismi sizning sinib ketish tenglamangizdagi pedlarning yuzasiga tegmasligi deyarli aniq. 3 oyoqli tabureti qanday turg'unligini o'ylab ko'ring, ammo 4 oyoqli stol yoki stol doimo engil qizarib ketgan.

Bundan tashqari, sizning kompyuteringizda o'tiradigan joylar bilan tugagan ko'rinadi HASL va ICdagi pinalar kalay qoplangan misdir. Bu keng tarqalgan amaliyot va saqlash vaqtida korroziyani va yaxshi lehimlilikni ta'minlaydi. Biroq, juda kam mexanik kontaktda bo'lgan ikkita Supero'tkazuvchilar uchun yaxshi sirtni bajarish emas, chunki izolyator sifatida ishlaydigan nozik izolyatsion oksidli qatlam shakllanishi mumkin. Oltin yoki kumush yaxshi bo'ladi.

If you have a good reason not to want to solder the IC (perhaps you're building a production programming fixture and will later be soldering the ICs onto a different board), you can use a pricey Zero Insertion Force socket, or perhaps make up something with sharp springy pogo pins.

0
qo'shib qo'ydi

sxema bilan nima sodir bo'lishini ko'rish qiyin. lekin umuman odatda ushbu chiplardagi kodni dasturlash va bajarish uchun hech narsa kerak emas.

  1. Bolalaringizning to'g'ri kelishiga ishonch hosil qiling;

  2. Nishonning quvvatlanganligiga ishonch hosil qiling;

  3. sug'urta sozlamasi to'g'ri ekanligiga ishonch hosil qiling;

  4. Qurilmalaringizning ham apparat, ham dasturiy ta'minotni ishga tushirganligiga ishonch hosil qiling.

Bu juda ko'p.

0
qo'shib qo'ydi
Xo'sh, bu kondansatörler keraksiz?
qo'shib qo'ydi muallif P Tocco, manba

Xuddi shu muammo bor edi. U sizning avringizda yoki aloqada ham. Agar siz birinchi marta noto'g'ri aralashgan bo'lsangiz, avr sizning kompyuteringizdan ma'lumot uzatishni to'xtatishi mumkin. Boshqa avr qurilmalarini sinab ko'ring. Agar u bir xil xatolikni davom ettirsa, bu muammo sizning avringizdan bo'lmasligi mumkinligini tushunishingiz mumkin.

Bundan tashqari, yana bir muhim hal

0
qo'shib qo'ydi