Mantis Bug Tracker

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000248FirmwareDecoderspublic2011-08-25 21:462011-08-30 16:22
Assigned ToFred 
PlatformOSOS Version
Product Version0.2.0-SNAPSHOT 
Target Version0.2.0Fixed in Version0.2.0 
Summary0000248: Bench Test Decoder produces extraneous output
DescriptionThe Bench Test Decoder emits either an extra cycle, or an extra flash when sent test packets.

The test packets have 0x00 and 0x10 in bytes 7 and 8 of the packet, according to the documentation ( [^]), this should result in 16 cycles. I verified this for all three test packets.

Running request.bench.test.assorted.bin from freeems-vanilla/lib/test.packets results in the following output:
LED PT2 through LED PT5 light in sequence, each one a little bit brighter than the last.
The LEDs cycle through the flashing pattern 17 times, this is one cycle too many.

Running request.bench.test.parallel.bin results in the following output:
LED PT2 through LED PT7 light together briefly (close to a second duration).
The LEDs go out for about two seconds, then the pattern repeats.
The cycle repeats 17 times. This is one too many cycles.

Running request.bench.test.sequential.bin results in the following output:
LED PT2 through LED PT7 each light one at a time starting from PT2.
The cycle repeats 16 times.
LED PT2 lights once.
The final lighting of PT2 should not happen.
Steps To ReproduceBuild a board the TA board can plug into with line drivers on PT2-PT7. Add a LED indicator to each line driver output.

Load the freeems-0.1.2-SNAPSHOT-BenchTest.s19 firmware file.

Start cutecom with the following settings:
Baud: 115200
Data Bits: 8
Stop Bits: 1
Parity: odd

In the send file section:
type: plain
no line end

Send the test packets from freeems-vanilla/lib/test.packets/ using the "send file..." button.
Additional InformationThe packet was sent first to turn off logging.
TagsNo tags attached.
Issue TypeBug
Risk of Breakagevery low
Attached Files

- Relationships

-  Notes
User avatar (0000251)
sim (updater)
2011-08-30 15:38

Fixed in commit 9160cfd54eb17ea4b40f3a518910aaeb0e083f93
All three test packets now work as expected.
User avatar (0000252)
Fred (administrator)
2011-08-30 16:22

Tested by myself and Sim, fixed!

Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker