Apparently, you need to correct the configuration problems and then everything will be fine. It is.
- Go to your Arduino IDE installation folder (something like C:\Program Files (x86)\arduino-1.0.4\hardware\tools\avr\etc.
- Before you do anything … make a backup of the file avrdude.conf
- Open the avrdude.conf file in a text editor
- locate the ATTiny85 section in the file
- locate the chip_erase_delay = 4500; line
- add the following two lines below this:
- pagel = 0xB3;
bs2 = 0xB4; - locate the memory=”lock” keyword in the ATTiny85 section
- replace this section with the following (copy and paste)
size = 1;
write = "1 0 1 0 1 1 0 0 1 1 1 x x x x x",
"x x x x x x x x 1 1 i i i i i i";
read = "0 1 0 1 1 0 0 0 0 0 0 0 0 0 0 0",
"0 0 0 0 0 0 0 0 o o o o o o o o";
min_write_delay = 9000;
max_write_delay = 9000;
;
Do the same for the ATTiny84 section.
You will need to restart the IDE for this to be affected.
After this, you need to
- Connect the ATTiny85 to the Arduino using your favourite ICSP
- load the sketch into the IDE
- Select the ATTiny85 board in the IDE
- Select Arduino as ISP in the IDE
- Upload your sketch to the ATTiny85.
I have now tested the abovementioned fix and the error message has now gone away. To test this, I loaded the sketch from Tutorial 10, compiled and then uploaded it to the ATTiny85 with the following, successful, result.
As you can see, the Pagel and BS2 error messages have gone … YAY! Thank you Wiki Page!
After uploading the sketch to the ATTiny85, I dropped the ATTiny85 chip into the circuit and powered it up, again, success. The circuit does what it’s supposed to do.
All in all, happy camper time.
No comments:
Post a Comment