I am experiencing a strange problem. I am developing amateur projects for my RC aircraft. Most of them are relatively simple projects which do not necessitate too many ports. So I do most of the development on an Arduino Uno and then adapt the code to use on an Attiny85. This way I can have very small modules and they don't cost too much.
I am using an Arduino Uno as ISP and transfer the code to Attiny85 using this setup.
I have programmed tens of Attiny85's using this method without any problems.
A couple of days ago I began having problems. The code I was writing to Attiny85 was not working as expected. I have tried three separate chips without success. I have connected the recommended red LED to the 8th port of the Arduino (which shall show errors) but there are no problems.
These are my (standart) steps:
- Connect Attiny85 to the breadboard.
- Check the connections.
- Open the sketch.
- Select Attiny/Attiny85/8MHz internal.
- Burn bootloader.
- Compile and burn the sketch (which has been tested previously and is working on at least five modules now).
Everything seems to be OK but the code doesn't run as expected.
Another important point is, all three chips behave differently after programming. This lets me think that there is something wrong with the programming setup.
I have reinstalled the Arduino as ISP sketch on the Arduino Uno board but there was no difference.
In the meantime I have ordered a USB Tiny Programmer board but I am trying to find out why a working setup has begun to experience such weird problems.
Any ideas and suggestions are welcome.