Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using "Force ON" mode put all the config back to default #4

Open
Peemouse opened this issue Jul 22, 2019 · 0 comments
Open

Using "Force ON" mode put all the config back to default #4

Peemouse opened this issue Jul 22, 2019 · 0 comments

Comments

@Peemouse
Copy link

Hi Danny,

I'm not able to switch the DieBieMS on into "Force On" mode (balance leads not connected yet).
The OLED display always shows the "Precharge Error" screen.

Back to the tool, it appears that ALL my config was back to default.
After some tests, this behaviour appears only when I try to force ON.

Looking closer at the code, it appears that in Modules/Src/modOperationalState.c
at line 270 :

if(modPowerStateForceOnRequest()){
		modOperationalStateForceOn = true;
		modPowerElectronicsAllowForcedOn(true);
		modOperationalStateSetNewState(OP_STATE_PRE_CHARGE);
		**driverSWStorageManagerEraseData();**
	}; 

That could explains why al the config is lost and why precharge times out.

Thanks for your support,

Best Regards,

Clément

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant