From: Enoch <ix...@ho...> - 2013-06-17 13:42:05
|
Hello Matthias & All: Would you be ready to replace the autogenerated readflashcell / writeflashcell code in device.asm for 128KB architectures as follows: - clr temp7 - lsl zl - rol zh - rol temp7 - out_ RAMPZ, temp7 - elpm @0, Z+ - elpm @1, Z+ + lsl zl + rol zh + rol zh + out RAMPZ, zh + ror zh + elpm @0, Z+ + elpm @1, Z+ I find it improper to damage temp7 which an application programmer may want to use. RAMPZ does not care what you write into bits 1-7. Thanks, Enoch. P/S I have rewritten your usart ISR drivers to support RTS/CTS/DTR in a generic way (using application supplied macros). Works well so far. BTW, I can now upload code using any send-file utility which respects CTS, so bye-bye echo monitoring :-) Will share code if you are interested. |