Just going by
what you write...BTW, what are you using as a reference?
I've used
ftp://ftp.seagate.com/acrobat/reference/111-1c.pdf a lot.
Also other IDE implementations on ATMegas.
Do you mind providing links to any good implementations of IDE on ATMega you know of?
Marc