Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 20688

BASCOM-AVR : WRITE VARIABLE TO FLASH MEMORY OF MICROCONTROLLER : REPLY

$
0
0
thank you AdrianJ for all respone in froum eeprom writing time is very long for my program.writing 2 byte take 17ms time to do. i write another question in 2 weeks ago about it in froum. but i didnt get an exact answer! according to datasheet writing a byte to eeprom take 3.5ms,so writing 2 byte take 7ms. but i check writing time in this way: 1-i set a pin in program such as pinb.0 2- writing 2 byte(an integer variable) to eeprom 3-reset the pin in program i check the timing in osciloscope, it take 17ms!!!! why???? during writing to eeprom variable,cpu halted (according to help of bascom) my critical interrupt lost and it is very bad. ---------------------------------------------------------------------- i want to use external eeprom like at24c08 to save time. if i write to eeprom byte by byte the time did not save,because i should use a waitms 5 for complete writing sequence. during writing to eeprom,at24c08 do not respond to input command. i can use page write to write a integer immediately without waitms.so i can write up to 8 byte to a page of eeprom,and then wait to complete writing to eeprom by internal circuit of at24c08.the time of writing is not important for me. now the question is: who to write a page into at24c08? thanks

Viewing all articles
Browse latest Browse all 20688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>