sylvandb / gruvin9x

Automatically exported from code.google.com/p/gruvin9x
0 stars 0 forks source link

EEPROM writes disable ALL interrupts. Not good. #34

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Currently, all EEPROM writes -- including those that occur from changing a trim 
just one click during flight -- disable ALL system interrupts and make the 
whole system wait for the write to complete. Surely this is not needed and can 
be vastly improved?

I have witnessed extreme latency delays due (I believe) to this fault -- even 
just on the bench. Try moving a stick steadily back and forth, while changing a 
trim one click now and then. Not always, but too often enough, the servo will 
be seen to stop dead for about half a second.

Original issue reported on code.google.com by gru...@gmail.com on 12 Jul 2011 at 1:26

GoogleCodeExporter commented 8 years ago
bsongis has started work on this.

Original comment by gru...@gmail.com on 26 Jul 2011 at 2:32

GoogleCodeExporter commented 8 years ago
Now ~18us with an asynchronous EEPROM write mechanism!
:)

Original comment by bson...@gmail.com on 11 Sep 2011 at 9:22

GoogleCodeExporter commented 8 years ago
Looking forward to testing this for myself. Very nice to have one of the worst 
potential problems resolved.

Original comment by gru...@gmail.com on 12 Sep 2011 at 8:40

GoogleCodeExporter commented 8 years ago
As at r987, asynchronous EEPROM writes appear to be working fine on the V4 
board. Well done.

Original comment by gru...@gmail.com on 23 Sep 2011 at 1:49