Replies: 1 comment 7 replies
-
Switch to a real EEPROM (default is EEPROM emulation in flash), or even better - FRAM, there are I2C support for different sizes. Minimum 2K, 4K is more future proof. FYI FRAM can sustain near infinite write cycles.
The "EEPROM", or non-volatile storage (NVS), is only written to when in idle or alarm state. Changes are buffered in RAM when not.
A plugin can save to RAM, that would be the fastest method. But see above...
Not neccesarily - I would go for FRAM. BTW you may take a look at the odometer plugin, this writes counters to NVS regularly. |
Beta Was this translation helpful? Give feedback.
-
I have a 2axis closed loop system that can be moved manually when not under motor power. Since it is closed loop, I have realtime feedback via the encoders as to where it has been moved. My method for updating grblHAL as to the current position is via a G10 command. I recently discovered G10 forces writes to the EEPROM. I think the EEPROM in a pico is limited to somewhere around 100k writes, which I probably have already exceeded since I have been writing G10's at about 5hz. Surprised it is even still functioning.
Is there a better way to achieve updating grbl of coordinate changes than G10, or a non EEPROM solution?
With my system, it probably is not important to maintain the coordinate system after power down since the machine will freely move while not powered and will always need origins reset upon power up. Should I change grblHAL to use ram instead of EEPROM?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions