Companion computer resetting parameters

Currently we have set up a raspberry pi to operate as a companion computer as described by: dev.ardupilot.com/wiki/companion … a-mavlink/ . The raspberry pi is able to communicate with the pixhawk and send commands though telem port 2. We would like to increase the frequency of communication between the raspberry pi and pixhawk to 10Hz.

We assess the rate of communication by printing the attitude.

When we change the SR2_Extra_1 parameter to 20 (testing at 20 Hz), either through mission planner or through the param load on the raspberry pi. However, every time we change it turns back to 4Hz which appears to be the default.

Does anyone know why this is the case and how we can change the parameters permanently.

Do you happen to set your SYSID_SW_MREV or FORMAT_VERSION equal to 0 anywhere? Those are the only two ways I know to reset parameters.