Skip to content

Arduino ISP on IDE 1.6.10 do not work #5205

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
logicaprogrammabile opened this issue Aug 4, 2016 · 5 comments
Closed

Arduino ISP on IDE 1.6.10 do not work #5205

logicaprogrammabile opened this issue Aug 4, 2016 · 5 comments
Labels
Component: Avrdude 6.3 Specific to AVRDUDE version 6.3

Comments

@logicaprogrammabile
Copy link

Hi
i have tested the ArduinoISP with Genuino UNO R3 with the new IDE 1.6.10 but is not possible burning the bootloader in new atmega328p.
this is the error message:

`
avrdude: Version 6.3, compiled on Jun 22 2016 at 16:05:21
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch

     System wide configuration file is "C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf"

     Using Port                    : COM9
     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.03s

avrdude: Device signature = 0x1e950f (probably m328p)
avrdude: erasing chip
avrdude: reading input file "0x3F"
avrdude: writing lock (1 bytes):

Writing | ################################################## | 100% 0.00s

avrdude: 1 bytes of lock written
avrdude: verifying lock memory against 0x3F:
avrdude: load data lock data from input file 0x3F:
avrdude: input file 0x3F contains 1 bytes
avrdude: reading on-chip lock data:

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

avrdude: verifying ...
avrdude: 1 bytes of lock verified
avrdude: reading input file "0x05"
avrdude: writing efuse (1 bytes):

Writing | Errore durante la scrittura del bootloader
***failed;

############################################ | 100% 0.11s

avrdude: 1 bytes of efuse written
avrdude: verifying efuse memory against 0x05:
avrdude: load data efuse data from input file 0x05:
avrdude: input file 0x05 contains 1 bytes
avrdude: reading on-chip efuse data:

Reading | ################################################## | 100% 0.00s

avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0000
0xfd != 0x05
avrdude: verification error; content mismatch

avrdude done. Thank you.

`

@awatterott
Copy link

awatterott commented Aug 4, 2016

There are already issue reports about the problem here:
#5175
arduino/avrdude-build-script#2
You have to modify avrdude.conf and boards.txt to get it working.

@per1234
Copy link
Collaborator

per1234 commented Aug 4, 2016

This issue is only #5175. I don't think arduino/avrdude-build-script#2, which would have caused the lock to not verify, affects ArduinoISP. You should be able to fix it by making the changes shown in #5182 or you can try the test build #5202 (comment) which should also fix it in a different way but I haven't had a chance to try it yet. If you do test it please let us know your results.

@logicaprogrammabile
Copy link
Author

after ide 1.6.10 installation, i have replace the boards.txt with the files shown in #5182.
I have tested the burning bootloader with atmega328p and attiny85 and in both case the ide successfully burn it.
Thank you.

@cmaglie cmaglie added the Component: Avrdude 6.3 Specific to AVRDUDE version 6.3 label Aug 5, 2016
@cmaglie cmaglie added this to the Release 1.6.12 milestone Sep 21, 2016
@cmaglie
Copy link
Member

cmaglie commented Sep 29, 2016

@logicaprogrammabile is this problem is fixed in IDE 1.6.12? Can we close this issue?

@cmaglie
Copy link
Member

cmaglie commented Jan 19, 2017

Closing as solved, reopen if the issue persists.

@cmaglie cmaglie closed this as completed Jan 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Avrdude 6.3 Specific to AVRDUDE version 6.3
Projects
None yet
Development

No branches or pull requests

4 participants