I have tried converting my boot cloner code from the 168V chip to the 328p chip with little success. This uses the two wire serial mode to program a boot loader into the chip.
The data sheets for the 328p when it comes to programming are less detailed than the one for the 168v.
I can read the fuses and the signature bytes. The fuses are being programmed but I think things have changed with regard to the addresses it expect.
The response to the poll ready command seems to have changed but there is no mention of this in the data sheet. It still refers to bit zero being zero when it is clear to accept a command. What I get is 0xff immediately after I issue a command and 0x9f shortly after, bit zero never changes, and it continuously reports 0x9f. I have also tried putting hefty delays after each command but to no effect.
There is a new instruction "load Extended address byte" but no mention of what it does or why it is needed.
So does anyone know:- 1) If the format of the address bits are the same in the 168v and the 328p? If so the code that works with the 168v doesn't touch the 328p.
2) Do these changes also refer to the 168p as there is a data sheet for both the P suffix and the v suffix?
3) What is the "load Extended address byte" all about?