avrdudes / avrdude

AVRDUDE is a utility to program AVR microcontrollers
GNU General Public License v2.0
747 stars 138 forks source link

Question: Programming procedure of ATMEGA328PB #1388

Closed blauertee closed 1 year ago

blauertee commented 1 year ago

Hello! I would like to know how the general paged programming procedure works for the ATMEGA328PB. I have to write a programmer myself since I have to use a specific SPI interface or let's say the C# abstraction of that. I tried to figure these questions out starring at your source code, but it's just to complex of a project to be a quick help for me.

If no one has the time to help right now or this is too off topic just close this. :)

Is my understanding of the general Programming sequence that I got from the Datasheet right and if not where did I take the wrong turn?

(I'm using byte indices instead of words so the page size would by 128 bytes, and when I say byte index I mean relative to all the data I want tow write to the flash)

If anyone find's any time to help I'd be grateful! Thx!

mcuee commented 1 year ago

For question like this, please use Discussion.