Due to ignorance and not taking sufficient time I've managed to brick an Atmega328, well a couple of them actually.
Of course there are various commercial and DIY fuse doctor programmers on the web, but just copying and pasting Arduino code doesn't help me learn anything. So I decided to write my own program for the ATTiny 2313. Simply because I have plenty and it would be a great C programming learning experience.
Looking at the 328P datasheet for high voltage parallel programming, page 300 gives a nice diagram of how to physically wire the 328p up.
Now my question.
Is the data pinout read right to left, or left to right. By that I mean the sheet says PC(1:0) : PB(5:0)
So are the data pins read as PC0(0), PC1(1), PB0(2) to PB5(7).
or is it PB0(0) to PB5(5) then PC0(6), PC1(7)?
It's got me stumped.
Of course there are various commercial and DIY fuse doctor programmers on the web, but just copying and pasting Arduino code doesn't help me learn anything. So I decided to write my own program for the ATTiny 2313. Simply because I have plenty and it would be a great C programming learning experience.
Looking at the 328P datasheet for high voltage parallel programming, page 300 gives a nice diagram of how to physically wire the 328p up.
Now my question.
Is the data pinout read right to left, or left to right. By that I mean the sheet says PC(1:0) : PB(5:0)
So are the data pins read as PC0(0), PC1(1), PB0(2) to PB5(7).
or is it PB0(0) to PB5(5) then PC0(6), PC1(7)?
It's got me stumped.