Comments (17)
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.
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.
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.
[deleted comment]
from mega-isp.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
ArduinoISP-dev for Arduino IDE version 1.0.5?
Original comment by [email protected]
on 3 Dec 2013 at 1:48
from mega-isp.
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)
- led pin numbers hard-coded in setup() HOT 1
- Only first byte fails verification HOT 1
- Duemilanove programming Attiny85 succeeds but doesn't work HOT 2
- Explicitly license files HOT 2
- Out of sync when attempting to program flash memory, but no error when i program EE memory HOT 1
- ADABOOT328 will not burn HOT 2
- Attiny45 - can't verify, page size wrong in stk / avrisp implementation? HOT 1
- Cannot use auduinoISP as avrisp within avr studio 4 HOT 2
- Support for Arduino Mega (patch inside!) HOT 1
- programming EEPROM not handled correctly - word-wise vs. byte-wise HOT 2
- SCK low ---before--- RESET HOT 1
- ISP pins are tied to ground at startup HOT 3
- Declaring directly MISO MOSI etc. means incompatibility (AT90USB TEENSY) HOT 1
- gnature Arduino uno HOT 1
- EEPROM write & read BUG HOT 12
- Compare Fail if you use -D option to not erase before write HOT 7
- avrdude recognizing atmega328p regardless of connected microcontroller
- Can't program Atmega328: avrdude: Device signature = 0x000000 HOT 5
- mega 2560 does not work as an ISP HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mega-isp.