Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

was eeprom ? Now about disasm

2005-04-26 by arhodes19044

I can not find the source files for the eeprom routines in libc.  I 
want to disable interrupts for the minimum necessary period while 
writing to EEPROM.  I bet that the clear/set should occur in the 
write_byte function, since that is probably called by all the larger 
size write functions.

How do I disasm only the required parts.  How do I even SEE the 
disasm'ed code while running avrsrudio?  I have "accidentally" landed 
in the disasm'd code, I think, while in avr-studio, but I have never 
intentionally found it.

If necessary, I could write my own multi-byte function that clears 
interrupts just before invoking the write_byte function, then resets 
them upon return.  It would not be hard to do, But I'd rather take the 
functioning code and insert a cli and sei in between a couple of lines.

-Tony

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.