-
I actually doubt this is a problem with pyubx2; more likely my PEBKAC. Seems like knowing how to apply For reproducible F9T config testing, I want to put it back to "factory" state. Would deleting all the key/value pairs in flash and BBR with a wildcard be a reasonable approach? I get a NAK when I try. Is this expected? What's a better way to get back to factory state? `from serial import Serial with Serial("/dev/ttyACM0", 9600) as ser:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
You can use the CFG-CFG command to perform a factory reset, e.g. msg = UBXMessage(
"CFG",
"CFG-CFG",
SET,
clearMask=b"\x1f\x1f\x00\x00",
loadMask=b"\x1f\x1f\x00\x00",
devBBR=1,
devFlash=1,
devEEPROM=1,
) Refer to the F9P Interface Specification for further details on the meaning of the clearMask and loadMask fields and memory layers. FYI PyGPSClient has a specific preset for this, among many other common configuration commands. |
Beta Was this translation helpful? Give feedback.
The legacy CFG configuration messages are deprecated in F9 firmware, and removed altogether in X20 firmware, with the exception of:
See the relevant interface specification(s) for further details.
If this addresses your query, I'd be grateful if you could 'Mark as answer'. Thanks.