CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Buffered internal eeprom writes

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
sirius



Joined: 27 Jun 2009
Posts: 16
Location: Bulgaria

View user's profile Send private message

Buffered internal eeprom writes
PostPosted: Sat Jun 27, 2009 4:54 pm     Reply with quote

Is there any way to write to the internal eeprom /18F6520/ and not to stall the MCU for 4-5ms? I mean, not to use "write_eeprom()" function. Imagine that you have to write a bunch of bytes at the same time, what happens then? The MCU is "taking a nap" for a looong period of time /100 bytes = 400-500ms/, which period could be too long for supervising some processes. Is there any built-in function or library that can handle this problem? Or I have to do it myself - using FIFO buffer and scheduling eeprom writes upon Write Operation Interrupt Flag Bit - EEIF. I've done this before, in asm, works just fine, the only concern is to load address and data, then the FIFO-buffer routine takes care of everything. The waste of time is minor. Thanks!
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group