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

User/jl/nvm manager #94

Open
wants to merge 3 commits into
base: user/jl/hw_refactor
Choose a base branch
from
Open

Conversation

JoshLafleur
Copy link
Collaborator

No description provided.

@JoshLafleur JoshLafleur changed the base branch from master to user/jl/bootloader_updater November 10, 2024 07:36

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick: Comment should be "flash page erase lock bit"

@JoshLafleur JoshLafleur force-pushed the user/jl/bootloader_updater branch from 48af9b0 to bc3c315 Compare November 24, 2024 03:56
@JoshLafleur JoshLafleur force-pushed the user/jl/bootloader_updater branch 2 times, most recently from c110fbb to 1384ab3 Compare November 24, 2024 04:08
@JoshLafleur JoshLafleur force-pushed the user/jl/bootloader_updater branch from 1384ab3 to 5c69c97 Compare November 24, 2024 04:36
@JoshLafleur JoshLafleur force-pushed the user/jl/nvm_manager branch 2 times, most recently from ed270f0 to fc39ab2 Compare November 24, 2024 04:54
@JoshLafleur JoshLafleur force-pushed the user/jl/bootloader_updater branch from 5c69c97 to b2b8e63 Compare November 29, 2024 05:11
@JoshLafleur JoshLafleur force-pushed the user/jl/bootloader_updater branch from b2b8e63 to 94a1c77 Compare November 30, 2024 06:11
@JoshLafleur JoshLafleur force-pushed the user/jl/bootloader_updater branch from 94a1c77 to f5bead1 Compare December 6, 2024 03:01
Base automatically changed from user/jl/bootloader_updater to master December 6, 2024 04:29
@JoshLafleur JoshLafleur force-pushed the user/jl/nvm_manager branch 11 times, most recently from f5e92d4 to b579e1c Compare January 16, 2025 04:38
@JoshLafleur JoshLafleur changed the base branch from master to user/jl/yamcan_improvements January 26, 2025 07:29
@JoshLafleur JoshLafleur force-pushed the user/jl/yamcan_improvements branch 4 times, most recently from abd0cc0 to da98093 Compare January 31, 2025 19:39
Base automatically changed from user/jl/yamcan_improvements to master January 31, 2025 19:53
@JoshLafleur JoshLafleur force-pushed the user/jl/nvm_manager branch 5 times, most recently from 9d00bf8 to 2b92b1e Compare February 1, 2025 05:08
@JoshLafleur
Copy link
Collaborator Author

Test Plan

  • Flash BMSB and BMSW, ensure the device powers on and transmits the nvm statistics
  • cycle power to the ecu's, ensure that the boot cycles and write amounts increment
  • perform mcu reset cycles on one of the ecu's until a new page is cleared
  • perform mcu reset cycles on the same ecu until another page is cleared
  • ensure the data is still read into memory upon boot and being updated
  • perform a nvmHardReset, ensure the nvm log is set to it's default state. Note: the amount of writes will update after clearing
  • perform two nvm hard resets quickly after eachother. ensure the write cycles only updates after 10s
  • Flash the bootloader updater and update the bootloader of the bmsw and bmsb
  • flash the app for both devices
  • reflash the app for both devices and ensure the nvm data is not erased

@JoshLafleur JoshLafleur force-pushed the user/jl/nvm_manager branch 9 times, most recently from 3afecb7 to 25799a1 Compare February 11, 2025 22:24
@JoshLafleur JoshLafleur force-pushed the user/jl/nvm_manager branch from 25799a1 to 1b120e9 Compare March 1, 2025 08:21
- BMS Boss NVM bringup
- BMS Worker NVM bringup
- Support NVM in Bootloader to not overwrite NVM on download
- Support NVM in the F105
- Added NVM FeatureDef
@JoshLafleur JoshLafleur force-pushed the user/jl/nvm_manager branch from 1b120e9 to 571b119 Compare March 1, 2025 08:24
@JoshLafleur JoshLafleur changed the base branch from master to user/jl/hw_refactor March 1, 2025 08:24
@JoshLafleur JoshLafleur force-pushed the user/jl/nvm_manager branch from 571b119 to bf551f8 Compare March 1, 2025 08:43
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

Successfully merging this pull request may close these issues.

Add entrysize to nvm record header
3 participants