LOS_Storage & LOS_Logging Design + Impl.

Principle Engineer

@Darwin Clark

Forced to Review

@Christopher Chung @Anthony Luo

Dragged Along

@Aaditya Chaudhary

Uplifted

 

Objective

Add SD Card read/write capability to LOS

Due date

Feb 27, 2023

Key outcomes

Design and implement an object-oritented structure to log arbitrary messages to a SPI-connect SD card

Status

DESIGN

NOTE: AS OF 23.01.31 EVERYTHING BELOW THIS LINE IS OUT OF DATE. CURRENTLY THE LOS_Logging + LOS_Storage thread on discord is the most updated. This page will be updated very very soon

 Problem Statement

  • @Stanley TangHas written an SD card driver for communicating with an arbitrary SD card over SPI. This driver now needs to be ‘passed up’ the abstraction layer to an abstract interface with which ZP can call into it.

 Scope

Current Must Haves:

  • SD Card Non-Volitile storage via SPI

Current Must Haves:

  • SD Card Non-Volitile storage via SPI

Future Expansion:

  • SD Card Non-Volitile storage via SDMMC

Not in scope:

Tasks Break Down:

 Timeline

Estimated timeline is ~1 month, as a conservative guess. This is @Darwin Clark 's first project, so there are many unknowns contingent on how long it takes him to grasp topics and organizational structures.

30-Jan202306-Feb13-Feb20-Feb27-Feb
Design
Coding
Testing

Design Non-Volitile Storage Arch

Review

Implement

Test Driver

Test Interface

 Implementation Details (Insert LOS_Interface object specs here)

 Actions Items

 

 Milestones and deadlines

Milestone

Owner

Deadline

Status

Milestone

Owner

Deadline

Status

Approved Interface Structure

 

In Progress

Coding

 

 

Driver Testing

 

 

Interface Testing

 

 

 

Open Questions

  • What is the performance & reliability of SDMMC versus SPI?

 Reference materials