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

Design and implement Power-On-Self-Test (POST) #3

Open
rafguevara14 opened this issue Sep 29, 2023 · 0 comments
Open

Design and implement Power-On-Self-Test (POST) #3

rafguevara14 opened this issue Sep 29, 2023 · 0 comments
Labels

Comments

@rafguevara14
Copy link
Contributor

A power on self test occurs on boot up to validate what happened before powering on. There are many reason an MCU may reset but for the VCU/BMS I think there is only one.

The watchdog timer resets the microcontroller if the firmware hangs. The boards have an external watchdog IC that should have a register we can read to determine if it has reset the microcontroller. We should read this as part of the POST. If the watchdog did reset the VCU, we should do...[insert requirements here]

Probably for another issue, but we need to have context surrounding a potential reset by saving some state to the internal EEPROM on the MCU and reading what caused the reset. If it's something unusual, we should immediately go to shutdown

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

No branches or pull requests

1 participant