Anonymous | Login | Signup for a new account | 2021-01-17 15:29 UTC | ![]() |
Main | My View | View Issues | Roadmap | Repositories |
View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0000288 | Firmware | Serial Comms | public | 2011-10-06 13:53 | 2011-10-15 22:19 | ||||
Reporter | Fred | ||||||||
Assigned To | Fred | ||||||||
Priority | normal | Severity | minor | Reproducibility | N/A | ||||
Status | closed | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | 0.2.0-SNAPSHOT | ||||||||
Target Version | 0.2.0 | Fixed in Version | 0.2.0 | ||||||
Summary | 0000288: Make default log include good comms debug | ||||||||
Description | Add two summary comms counters and add those and overruns to the default log in a clean struct, then fix MTX and OLV to read them. | ||||||||
Tags | No tags attached. | ||||||||
FirmwareVersion | |||||||||
Issue Type | Improvement | ||||||||
Risk of Breakage | low | ||||||||
Attached Files | |||||||||
![]() |
|
![]() Fred (administrator) 2011-10-08 10:51 |
Scrap this idea, include some counters in the temporary log for evaluation, and instead of the above, setup a pair of clever macros that take a number from 0-7 or 0-15 and the address of a struct of bytes (even number up to 2-16 long) or shorts (1-16 long) unioned with an array and increment the Nth value in the struct by the array, and use the passed in number to left shift 1 to form a mask and set that bit in an associated status byte or pair of bytes. This came to me late at night while doing inappropriate things and was based on EssEss' suggestin :-) |
![]() Fred (administrator) 2011-10-08 14:05 |
Things to include here are: * checksum fails and other code comms issues, one bit each * uart hardware level errors, one bit each * loss of sync, general, and one for each type * UISR executed And possibly others. |
![]() Fred (administrator) 2011-10-12 00:24 |
Added key stuff to logging. Yet to implement the auto flag idea. Counters are all exposed for retrieval now, though. |
![]() Fred (administrator) 2011-10-12 11:27 |
Done! Just OLV/MTX changes to go now. |
![]() Fred (administrator) 2011-10-15 00:28 |
OLV done. Firmware dev tomorrow, then MTX updates, then close this. |
![]() Fred (administrator) 2011-10-15 19:43 |
MTX is done, just testing now. |
![]() Fred (administrator) 2011-10-15 20:04 |
There is an issue, I think in the firmware, with this, I'll fix it after dinner. |
![]() Fred (administrator) 2011-10-15 22:19 |
Fully available, tested and working with OLV and MTX support in revisions: FreeEMS: 16a775a2c3d27c4f5ed8b1964f974131dcd1b1b1 MTX: e4d6297652a419eb71f1125dd072ae5eea8f72d6 OLV: 49b1d6faf3a018972a6f9724efb13b00565e50d1 |
Copyright © 2000 - 2011 MantisBT Group |