Save parameters to flash returns ok but params not stored.

Discussion about various user interfaces such as web interface, displays and apps
Post Reply
sanielfishawy
Posts: 3
Joined: Thu May 02, 2024 5:32 pm

Save parameters to flash returns ok but params not stored.

Post by sanielfishawy »

We are using the Model S Small front motor controller board by Damian McGuire. When we change parameters and save to flash the Web UI says they save to flash was successful. When we power cycle the board the "saved" parameters are reverted back to their old values.
User avatar
johu
Site Admin
Posts: 5840
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 164 times
Been thanked: 1059 times
Contact:

Re: Save parameters to flash returns ok but params not stored.

Post by johu »

I'm assuming this is related to your other post?
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
sanielfishawy
Posts: 3
Joined: Thu May 02, 2024 5:32 pm

Re: Save parameters to flash returns ok but params not stored.

Post by sanielfishawy »

No this is a separate issue from can bus connectivity.

When the can bus is working and the Webui is working the above problem exists.

i.e.
Changing parameters has an immediate effect on the board. However after saving the changed parameters to flash and power cycling the webui shows the old parameters and in fact the board contains the old parameters.
User avatar
uhi22
Posts: 649
Joined: Mon Mar 14, 2022 3:20 pm
Location: Ingolstadt/Germany
Has thanked: 93 times
Been thanked: 429 times

Re: Save parameters to flash returns ok but params not stored.

Post by uhi22 »

From my understanding there are two classes of parameters: one is stored in flash, the other is volatile. Maybe you try to store a volatile parameter. Or does the issue happen for all?
User avatar
johu
Site Admin
Posts: 5840
Joined: Thu Nov 08, 2018 10:52 pm
Location: Kassel/Germany
Has thanked: 164 times
Been thanked: 1059 times
Contact:

Re: Save parameters to flash returns ok but params not stored.

Post by johu »

Forgot the obvious: when the inverter is in Run mode it won't save (because it interrupts the control loop). It must be in stop mode. The CAN Ui doesn't report this yet...
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Post Reply