일치하지 않는 부트 로더 오류 ATMEGA328P

Aug 19 2020

마이크로 컨트롤러가있는 무선 충전기를 만들고 있습니다.

3 개의 보드를 조립했습니다. 그들 중 하나는 잘 작동하는 마이크로 컨트롤러를 가지고 있습니다-부트 로더를 태우고 코드 스케치를 잘 업로드합니다. 그러나 작동하지 않는 동일한 구성 요소 인 두 개의 다른 보드가 있습니다. 부트 로더가 다음 메시지와 함께 실패합니다.

첫 번째 보드

     System wide configuration file is "/home/bem22/tools/arduino-1.8.10/hardware/tools/avr/etc/avrdude.conf"
     User configuration file is "/home/bem22/.avrduderc"
     User configuration file does not exist or is not a regular file, skipping

     Using Port                    : /dev/ttyUSB0
     Using Programmer              : stk500v1
     Overriding Baud Rate          : 19200
     AVR Part                      : ATmega328P
     Chip Erase delay              : 9000 us
     PAGEL                         : PD7
     BS2                           : PC2
     RESET disposition             : dedicated
     RETRY pulse                   : SCK
     serial program mode           : yes
     parallel program mode         : yes
     Timeout                       : 200
     StabDelay                     : 100
     CmdexeDelay                   : 25
     SyncLoops                     : 32
     ByteDelay                     : 0
     PollIndex                     : 3
     PollValue                     : 0x53
     Memory Detail                 :

                              Block Poll               Page                       Polled
       Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
       ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
       eeprom        65    20     4    0 no       1024    4      0  3600  3600 0xff 0xff
       flash         65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff
       lfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
       hfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
       efuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
       lock           0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
       calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
       signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

     Programmer Type : STK500
     Description     : Atmel STK500 Version 1.x firmware
     Hardware Version: 2
     Firmware Version: 1.18
     Topcard         : Unknown
     Vtarget         : 0.0 V
     Varef           : 0.0 V
     Oscillator      : Off
     SCK period      : 0.1 us

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.02s

avrdude: Device signature = 0x000000 (retrying)

Reading | ################################################## | 100% 0.02s

avrdude: Device signature = 0x000000 (retrying)

Error while burning bootloader.
Reading | ################################################## | 100% 0.02s

avrdude: Device signature = 0x000000
avrdude: Yikes!  Invalid device signature.
         Double check connections and try again, or use -F to override
         this check.


avrdude done.  Thank you.

두 번째 보드

         System wide configuration file is "/home/bem22/tools/arduino-1.8.10/hardware/tools/avr/etc/avrdude.conf"
         User configuration file is "/home/bem22/.avrduderc"
         User configuration file does not exist or is not a regular file, skipping

         Using Port                    : /dev/ttyUSB0
         Using Programmer              : stk500v1
         Overriding Baud Rate          : 19200
         AVR Part                      : ATmega328P
         Chip Erase delay              : 9000 us
         PAGEL                         : PD7
         BS2                           : PC2
         RESET disposition             : dedicated
         RETRY pulse                   : SCK
         serial program mode           : yes
         parallel program mode         : yes
         Timeout                       : 200
         StabDelay                     : 100
         CmdexeDelay                   : 25
         SyncLoops                     : 32
         ByteDelay                     : 0
         PollIndex                     : 3
         PollValue                     : 0x53
         Memory Detail                 :

                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           eeprom        65    20     4    0 no       1024    4      0  3600  3600 0xff 0xff
           flash         65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff
           lfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           hfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           efuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           lock           0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
           calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00

         Programmer Type : STK500
         Description     : Atmel STK500 Version 1.x firmware
         Hardware Version: 2
         Firmware Version: 1.18
         Topcard         : Unknown
         Vtarget         : 0.0 V
         Varef           : 0.0 V
         Oscillator      : Off
         SCK period      : 0.1 us

avrdude: AVR device initialized and ready to accept instructions

Error while burning bootloader.
Reading | ################################################## | 100% 0.02s

avrdude: Device signature = 0xff007f
avrdude: Expected signature for ATmega328P is 1E 95 0F
         Double check chip, or use -F to override this check.

avrdude done.  Thank you.

나중 보드의 경우 종종 device signature 0xffffff 또는 0xfff000 또는 0x000fff 또는 0x00ff00 등을 생성합니다 .

보드 1과 2의 경우 멀티 미터를 사용하여 수동으로 (QFN 핀에서 Arduino ISP로) 연결을 확인했습니다. 전압도 괜찮습니다-보드는 정상 3v3을 얻습니다.

나에게 유일한 두려움은 납땜하는 동안 칩을 태우는 것입니다. 나는 60/40 납땜 와이어와 납땜 스테이션을 300도에서 사용했습니다. 너무 높습니까? 접촉 시간은 상대적으로 낮았습니다 (5 초 미만).

다음은 내 설정이 적용된 사진입니다. [! [여기에 이미지 설명 입력] [1]] [1] [! [여기에 이미지 설명 입력] [2]] [2]

그리고 여기 내 회로도가 있습니다. [! [여기에 이미지 설명 입력] [3]] [3]

그 이유는 무엇입니까? [1]:https://i.stack.imgur.com/pUEs3.jpg [2] : https://i.stack.imgur.com/R9LLc.jpg [삼]: https://i.stack.imgur.com/F832p.png

답변

bem22 Sep 19 2020 at 17:49

결국 이것은 납땜 문제였습니다. 나는 보드를 디자인 할 때 몇 가지주의 사항을 존중하지 않았습니다.

예를 들어, 이미 짧은 패드에 비아를 사용했는데 이것은 액체 땜납의 표면 장력을 증가시켜 구리에 결합하지 못하게합니다.