Giter Club home page Giter Club logo

Comments (17)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 25, 2024
The current implementation won't write more than 256 bytes to the EEPROM at 
once. It should be possible to increase this.

Original comment by [email protected] on 9 Oct 2010 at 9:57

  • Changed state: Accepted

from mega-isp.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 25, 2024
Please try the attached sketch. I changed write_eeprom to handle more than 256 
bytes. This code is not yet in the repository.

Original comment by [email protected] on 12 Oct 2010 at 1:12

  • Changed state: Fixed

Attachments:

from mega-isp.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 25, 2024
Thanks for the update but there is still a problem. By using the -03 version of 
the code I can write flash program to the target 328. But the eeprom write 
fails when over 256 bytes of data is sent.
With the new -04 version eeprom fails the same as before and writing flash 
fails also. The error output for writing flash is:

Binary sketch size: 870 bytes (of a 32254 byte maximum)
avrdude: stk500_paged_write(): (a) protocol error, expect=0x14, resp=0x64
avrdude: failed to write flash memory, rc=-4
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

I have been able to read the fuse bits with the -04 version but have not tried 
writing fuses.

Original comment by [email protected] on 12 Oct 2010 at 9:43

from mega-isp.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 25, 2024
[deleted comment]

from mega-isp.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 25, 2024
This should write EEPROM corectly. The SPI calls in .03 had the MSB hard coded 
to 0x00.

WARNING: This will not write flash! Still working on that...

Original comment by [email protected] on 13 Oct 2010 at 5:05

Attachments:

from mega-isp.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 25, 2024
YES! Version -04a writes my 618 bytes to eeprom with no errors from avrdude. 
Did not try the flash yet as you advised...
Thanks...

Original comment by [email protected] on 13 Oct 2010 at 12:10

from mega-isp.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 25, 2024
Write EEPROM and flash > 256 bytes!
-Pulse LED_PMODE while writing flash, EEPROM
-Light LED_ERR whenever we have STK_NOSYNC

Tested on ATMega328p chip.

Original comment by [email protected] on 13 Oct 2010 at 1:49

Attachments:

from mega-isp.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 25, 2024
Version 04b Works! Write and read eeprom. Write and read flash. Write and read 
fuse bits. Great! All was tested on a 328p chip as the ISP and the target. 
Thanks.

Original comment by [email protected] on 13 Oct 2010 at 8:16

from mega-isp.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 25, 2024
This is great!
I've been having consistent problem with stock ArduinoISP that came with the 
Arduino-0021.
I kept getting this error:
avrdude: stk500_paged_write(): (a) protocol error, expect=0x14, resp=0x11

Now with version dev04b it works fine!
Thank you so much, i really wish I had found this post a few hours earlier :)

Original comment by [email protected] on 14 Dec 2010 at 6:12

from mega-isp.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 25, 2024
Hey this worked for me too - using the arduino-22 IDE, I was unable to flash 
ATMEGA328P chips. 

Unzipping ArduinoISP-dev04b.zip in arduino-22/examples/, restarting the IDE and 
selecting Arduino-dev04b, I loaded this onto my programmer Duemilanove and then 
hitting Tools->Burn Bootloader->w/Arduino as ISP, I was able to repair 3 
"bricked" chips in my collection!

Thank you, hope this fix is in arduino-23!

Original comment by [email protected] on 20 Mar 2011 at 12:58

from mega-isp.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 25, 2024
ArduinoISP-dev04b.zip solved an issue when trying to flash a Sparkfun Serial 
graphic backpack to use SummoningDark's firmware upgrade.

With the ArduinoISP in Arduino-0022 an avrdude sync error would always occur on 
flashing but not for other operations such as -e (erase)

Original comment by [email protected] on 21 Jul 2011 at 9:11

from mega-isp.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 25, 2024
I was trying to flash my 32u4 to the Leonardo boot loader and ran into this 
same issue. I pulled 4b into RC1 and it wouldnt compile so I downloaded 022 and 
pushed this to my Uno. Then switched back to Rc1 to burn leonardo to my 32u4.

I hope this patch makes it into RC1 soon!

Original comment by [email protected] on 23 Sep 2011 at 1:58

from mega-isp.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 25, 2024
Resolved with 05 version look at the issues. I can't contact the owner to 
correct in the main.

Original comment by [email protected] on 17 Nov 2011 at 8:35

from mega-isp.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 25, 2024
It works great ! You saved my evening. I was beginning to think that i had 
borrowed my friend's Arduino for nothing and that my ATMega328p was dead.
Thanks to you, i could reflash the bootloader and it works fine.
Still, it means that the ArduinoISP that is shipped on last Ubuntu has a bug... 

Original comment by [email protected] on 6 Dec 2011 at 8:58

from mega-isp.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 25, 2024
With arduino 1.0 and ArduinoISP-dev04b as submitted here, it fails while 
writing, with the following error :
avrdude: ser_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding

The problem is already fixed in 1.01 :
http://code.google.com/p/arduino/issues/detail?id=661

Original comment by [email protected] on 29 Dec 2011 at 4:22

from mega-isp.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 25, 2024
ArduinoISP-dev for Arduino IDE version 1.0.5?

Original comment by [email protected] on 3 Dec 2013 at 1:48

from mega-isp.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 25, 2024
Trying to burn a bootloader into ATmega32a using Arduino Mega2560 as an ISP but 
I keep getting this error even after disabling the auto-reset with a 100nF 
capacitor between the +5V and RESET on the Mega.


avrdude.exe: stk500_program_enable(): protocol error, expect=0x14, 
resp=0x50avrdude.exe: initialization failed, rc=-1              
Double check connections and try again, or use -F to override this 
check.avrdude.exe: stk500_disable(): protocol error, expect=0x14, resp=0x51

My ATmega32a is on a Dev Board I built and not on an Arduino board.

I have the same query as:

#16 [email protected]
ArduinoISP-dev for Arduino IDE version 1.0.5?

Original comment by [email protected] on 7 Apr 2014 at 6:16

from mega-isp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.