Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] << ] >> ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000053 [Firmware] Analog Input Config & Processing tweak N/A 2008-11-15 16:34 2009-01-02 14:15
Reporter Fred View Status public  
Assigned To Fred
Priority normal Resolution open  
Status assigned   Product Version 0.0.17-SpudEchoes
Summary 0000053: Add Important Variables Into Structs And Refactor Placement Of Existing Ones
Description Some variables are in places that they do not belong.
Many variables don't exist yet.

I should go through them in conjunction with the datalog thread and tidy them up a bunch.

If the other issue turns out to be a goer and the format changes, it would be a good opportunity to place them in order into separate memory regions such that a direct copy from RAM Is possible with minimal CPU overhead.
Additional Information
Tags No tags attached.
Issue Type Improvement
Attached Files

- Relationships
related to 0000052closedFred Investigate Using Pointers For Variable Banking 

-  Notes
(0000140)
Fred (administrator)
2009-01-02 14:15

To clarify what I meant by separate RAM region :

Set aside a piece of global RAM and pre init it with header data. After the header data block would be the various structs placed sequentially such that when a datalog needs to be sent it is a single memcpy() call of maximal efficiency only.

| header | struct 1 | struct 2 | struct n -1 | struct n | normal RAM ....

then the memcpy call can just take the configured length and it is single stage with no excessive ifs etc. Once it is in the serial buffer a normal checksum and send call can be made.

- Issue History
Date Modified Username Field Change
2008-11-15 16:34 Fred New Issue
2008-11-15 16:34 Fred Status new => assigned
2008-11-15 16:34 Fred Assigned To => Fred
2008-11-15 16:34 Fred Issue Type => Improvement
2008-11-15 16:34 Fred Relationship added related to 0000052
2009-01-02 14:15 Fred Note Added: 0000140


Mantis 1.1.7[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker