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

Mega: Status report logging #26

Open
adamberenzweig opened this issue Jul 25, 2011 · 1 comment
Open

Mega: Status report logging #26

adamberenzweig opened this issue Jul 25, 2011 · 1 comment
Labels

Comments

@adamberenzweig
Copy link
Owner

Parse and store the status reports coming out of the master, and keep the last N of them in a buffer. Spit that buffer back out (to serial) in response to a command, so we can hook up a laptop and get the goods.

The Mega has 8K of SRAM. Assuming we can use 6K of that for logging, and the status message is 22 bytes (as of today), that's 279 messages we can store. So that's only enough for one message per puck. Perhaps we want to explicitly keep the last message per puck (in an array) rather than the last N, so that pucks that aren't reporting often for some reason don't get crowded out.

Gabi said that some people hook up a flash drive to the Mega to log more data, we can investigate that as well.

@windmillfactory
Copy link
Collaborator

This is all very exciting... perhaps a flash drive that we could
remove easily is the jam! then we could put a large flash drive and
not have to worry about it. What you doing tonight?

wanna have that birthday beer tonight?

Jon

On Jul 25, 2011, at 2:57 PM, adamberenzweig wrote:

Parse and store the status reports coming out of the master, and
keep the last N of them in a buffer. Spit that buffer back out (to
serial) in response to a command, so we can hook up a laptop and get
the goods.

The Mega has 8K of SRAM. Assuming we can use 6K of that for
logging, and the status message is 22 bytes (as of today), that's
279 messages we can store. So that's only enough for one message
per puck. Perhaps we want to explicitly keep the last message per
puck (in an array) rather than the last N, so that pucks that aren't
reporting often for some reason don't get crowded out.

Gabi said that some people hook up a flash drive to the Mega to log
more data, we can investigate that as well.

Reply to this email directly or view it on GitHub:
#26

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

2 participants