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

Firmware: Fix embedded SRAM test results storage method #19

Open
andrempmattos opened this issue Jun 17, 2020 · 1 comment
Open

Firmware: Fix embedded SRAM test results storage method #19

andrempmattos opened this issue Jun 17, 2020 · 1 comment
Assignees

Comments

@andrempmattos
Copy link
Owner

Create the implementation following this example storage procedure:

Cycle 1:
Store header_1
Store payloads_1
(pointer_unread_addr->header_1, pointer_unread_length->[size_of(header_1+payload_1)]

Cycle 2:
Store header_2
Store payloads_2
(pointer_unread_addr->header_1, pointer_unread_length->[size_of(header_1+payload_1)]

Cycle 3:
Store header_3
Store payloads_3
Read header_1
Read payloads_1
(pointer_unread_addr->header_2, pointer_unread_length->[size_of(header_2+payload_2)]

Cycle n: (end addr)
Store header_n
Store payloads_n

Cycle n+1: (overflow handler recycle the memory)
Store header_1
Store payloads_1

...

Note: Pointers are used for size fixed blocks and set the useful block length

@andrempmattos
Copy link
Owner Author

This approach is too complicated... I should invest in a simpler method

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

No branches or pull requests

1 participant