Mantis Bug Tracker

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000278LoaderSerial Monitor Commspublic2011-09-26 17:402012-08-29 01:00
ReporterFred 
Assigned Tosean94z 
PrioritynormalSeverityminorReproducibilityalways
StatusassignedResolutionreopened 
PlatformLinuxOSDebianOS VersionSid/Unstable
Product Version 
Target Version0.1.0Fixed in Version 
Summary0000278: Loader Goes CRAZY If Something Else Has Serial Port
DescriptionAbort button turns back into connect, but app keeps trying ot send packets and delete and load stuff, with no way of stopping bar ctrl C.

Steps To ReproduceSimple thing to test:

 - Fire up cutecom and connect (leave connected)
 - Fire up loader and connect (same device)
 - When it succeeds try to load something
 - Watch it all turn to custard.
TagsNo tags attached.
Issue TypeBug
Risk of Breakagemedium
Attached Files

- Relationships

-  Notes
User avatar (0001927)
sean94z (reporter)
2012-08-27 21:25

I followed your directions as per this issue and was unable to reproduce the result.

commit a0e0281df1dcc2f43304214404a135ce10142e5d
Author: Sean Keys <skeys@ipdatasys.com>
Date: Mon Aug 27 14:11:03 2012 -0700

    [0000236] Renamed files in an attempt to satisfy 'better' files names.

It behaves as expected, if cutecom get the ACKS or bytes and the Loader does not it gracefully errors out.
User avatar (0001933)
Fred (administrator)
2012-08-27 21:55

Behaves well in SM mode, however if firmware is streaming it just locks up solid/freezes. It shouldn't ever do this. Method is same as description, no longer goes crazy, but still doesn't work right always, so reopening.
User avatar (0001934)
sean94z (reporter)
2012-08-27 21:56

Will investigate, thx!
User avatar (0001940)
sean94z (reporter)
2012-08-27 22:32

I cant ever get it to succeed....... It may take a unit test to get it to succeed with my env?
User avatar (0001941)
sean94z (reporter)
2012-08-27 22:34

CuteCom open 115200 8 N 1 and I can see packets coming in... broken packets because the parity is wrong

Info: closing serial portseank@sk-dv6500:~/work/workspaceCDT/freeems-loader/src$ ./FreeEMS-Loader

Info: number of burns executed 514
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
^[[B^[[B^C
seank@sk-dv6500:~/work/workspaceCDT/freeems-loader/src$
User avatar (0001942)
Fred (administrator)
2012-08-28 09:37

Can't get it to "succeed" ? What do you mean?
User avatar (0001946)
sean94z (reporter)
2012-08-28 18:14

Simple thing to test:

 - Fire up cutecom and connect (leave connected)
 - Fire up loader and connect (same device)
 - When it succeeds try to load something <- this never happens....
 - Watch it all turn to custard.

I just get the above error messages each time...

Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
User avatar (0001947)
Fred (administrator)
2012-08-28 18:16

Right, see this comment: http://issues.freeems.org/view.php?id=278#c1933 [^]

All it does now is lock up and freeze.
User avatar (0001953)
sean94z (reporter)
2012-08-29 01:00

I'm going to bring in another tester on this one. I cant get it to lock up, I tried two difference serial adaptors and all I get when I click connect is this:

Info: closing serial port
Error: Data read, but it was not a serial monitor ACK
Info: closing serial port
Error: Data read, but it was not a serial monitor ACK

The app doesn’t ever lock though....


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker