Pages: [1]   Go Down
Author Topic: Patched ArduinoISP that works with 0022, 1.0 and 1.0.1RC1  (Read 1023 times)
0 Members and 1 Guest are viewing this topic.
Global Moderator
Italy
Offline Offline
Brattain Member
*****
Karma: 313
Posts: 21657
Logic is my way
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

ArduinoISP of the IDE 1.0 doesn't work. ArduinoISP that's in the IDE 1.0.1 only works at 9600.
So...I have a patched version of the ArduinoISP that works both with IDE 002/0023, IDE 1.0 and the last 1.0.1RC1.
This sketch can also adapt the serial speed to the serial speed used in the IDE: 19200 bps for 002x and 1.0.1RC1 and 9600 for 1.0.

I have made this ArduinoISP using the 1.0.1RC1 version of the sketch and applying the bugfix for the serial speed as in the issue #860. The user BrainBooster also added some fixes to the setup of the serial speed and to the variable declarations in the struct "param".

This version also compiles with the Avr toolchain from Atmel.

* ArduinoISP2c.pde.zip (4.11 KB - downloaded 37 times.)
Logged


Global Moderator
Boston area, metrowest
Online Online
Brattain Member
*****
Karma: 443
Posts: 23848
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks Leo, got that one bookmarked to pass on!
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Global Moderator
Italy
Offline Offline
Brattain Member
*****
Karma: 313
Posts: 21657
Logic is my way
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks Leo, got that one bookmarked to pass on!
smiley-wink

I hope that someone of the Arduino team will read this message and evaluate if this sketch can be put into the next 1.0.1.
Logged


Forum Administrator
Cambridge, MA
Offline Offline
Faraday Member
*****
Karma: 9
Posts: 3538
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

There's a fix in already for 1.0.1.  The patch from WestFW is slightly nicer, but either seems to work.
Logged

Global Moderator
Italy
Offline Offline
Brattain Member
*****
Karma: 313
Posts: 21657
Logic is my way
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

There's a fix in already for 1.0.1.  The patch from WestFW is slightly nicer, but either seems to work.
The sketch included in 1.0.1 only works at 9600, mine works at 19200. And also works with IDE 1.0 and 002x.
Logged


Forum Administrator
Cambridge, MA
Offline Offline
Faraday Member
*****
Karma: 9
Posts: 3538
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The updated patch (which wasn't in the 1.0.1rc1) is also at 19200 baud.
Logged

Pages: [1]   Go Up
Jump to: