FreeEMS Issues - Firmware
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000027||Firmware||Flash Burning||public||2008-11-02 18:53||2014-03-31 00:58|
|Target Version||Future||Fixed in Version|
|Risk of Breakage||low|
|Summary||0000027: Create EEPROM Write Functions|
|Description||It would be nice if we had access to the EEPROM for recording stuff while running, a sort of rolling datalog even.|
These should be written in C with the usual GPL header file format etc.
I would imagine this would be a lot easier than the flash stuff due to being pure C and not having to sod around with memory management etc.
The following should be available :
* write word (this is the raw unit of eeprom)
* write byte (wrapper for write word that reads one byte out first and puts it and the new one back)
* write block (takes care of the misalignment without complaining and can write any size of block inside the EEPROM area)
We need to take care of the EPAGE register, perhaps internally or perhaps externally, I'm not sure which makes sense as I haven't read the docs thoroughly.
|Steps To Reproduce|
|Tags||No tags attached.|