Params: Warn when writing to full eeprom
It seems that some parameters are not saved to the APM 2.6 module. For example, mag_enabled will not save no matter how I change it... the various methods of modifying parameters. I think this bug has been around for at least several versions.
copter or plane (or both)?
plane.
Could someone see if this issue is still present a year later?
I think this could be caused by one of a few things:
- FRAM bug that Tridge fixed recently. https://github.com/diydrones/ardupilot/commit/d24159204ec82b1d266da89f70c39c50b00c89c8
- User's eeprom has filled up (we don't provide any warning when this happen unfortunately). It could happen if the user had written a large number of parameter (perhaps from a .param file) at some point.
- an unknown bug in mission planner (in which case this issue would be moved to the MP issues list).
We don't have an issue to capture the 2nd possibility so I think we should assume it's that one and rename the subject.
Is this still a concern on Pixhawk hardware onwards? If not then we can go ahead and close it
@WickedShell @rmackay9 @squilter it's working on APM 2.6 with EEPROM very good using methods of modifying parameters indeed.
@goochpw Thanks you for your participation. Good luck!
So I think we've recently had a case of this happening for someone on a Pixhawk when loading a lot of parameters from a file. So it's likely we still have this issue and should provide a warning to the user.
@rmackay9, i haven't ever heard of this recently. Is filling EEPROM still a potential issue?
@Naterater, I think it is still an issue. It shows up as users being unable to save parameters but I still think there's no other warning.
I believe we will, in fact, get an error when parameter storage is full.
https://github.com/ardupilot/ardupilot/blob/master/libraries/AP_Param/AP_Param.cpp#L1123 - that message will be emitted if storage for parameters is full.
I artificially reduce the amount of storage space by modifying StorageManager and loaded a whole bunch of parameters:

So if we do have a parameter-saving problem, it's not this.
The issue subject is that we don't have a warning. We clearly do, so I'm closing this one as "fixed".