Mantis Bug Tracker

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000709EMStudioGeneralpublic2012-09-19 21:212013-01-29 19:46
ReporterPreston 
Assigned ToPreston 
PriorityhighSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformLinuxOSDebianOS VersionSid/Unstable
Product Version0.0.1-SNAPSHOT 
Target Version0.0.1Fixed in Version0.0.1 
Summary0000709: Unable to connect
Descriptionhardware : Puma Spin 1
EMStudio 0eb5a55 : Commit 0eb5a559b3e7a626b41864ee6fca22994ed3e06d

Unable to reestablish connection to ecu after usb cable has been disconnected.
Steps To Reproduceconnect usb.
power up ecu.
load emstudio.
use app.
switch off ECU.
disconnect usb.
reconnect usb after a period of time.
select "connect"
Error received saying "a serious error...."
restart emstudio --> Error still received.
disconnect usb cable, restart pc, load emstudio. Working again.
Additional InformationLoading config file freeems.config.json
4 Ram entries found
XCalc: "div" 1000
XCalc: "div" 100
XCalc: "sub" 273.15
XCalc: "div" 1000
XCalc: "div" 2
XCalc: "div" 100
XCalc: "sub" 273.15
XCalc: "div" 2
XCalc: "div" 2
XCalc: "div" 2
68 Error Keys Loaded
3 3D Tables Loaded
5 2D Tables Loaded
Error opening COM port Low Level: No such file or directory
Port: "/dev/ttyUSB0"
Unable to connect to COM port
Error opening COM port Low Level: No such file or directory
Port: "/dev/ttyUSB0"
Unable to connect to COM port
GET_FIRMWARE_VERSION
TIMEOUT waiting for response to payload: "0x2" Sequence: 1
Retrying
GET_FIRMWARE_VERSION
TIMEOUT waiting for response to payload: "0x2" Sequence: 1
Retrying
GET_FIRMWARE_VERSION
TIMEOUT waiting for response to payload: "0x2" Sequence: 1
No retries left!
Command timed out: "1"
GET_FIRMWARE_VERSION
TIMEOUT waiting for response to payload: "0x2" Sequence: 1
Retrying
GET_FIRMWARE_VERSION
TIMEOUT waiting for response to payload: "0x2" Sequence: 1
Retrying
GET_FIRMWARE_VERSION
TIMEOUT waiting for response to payload: "0x2" Sequence: 1
No retries left!
Command timed out: "1"
TagsNo tags attached.
Issue TypeBug
Attached Files

- Relationships

-  Notes
User avatar (0002163)
Fred (administrator)
2012-09-19 21:53

Good call, he should let go of the port, otherwise when you plug it back in, it comes up as a different number. IIRC there is a signal for this happening so that it can be handled.
User avatar (0002188)
Preston (updater)
2012-09-20 02:56

Another run today from start to finish, hope it helps.

Loading config file freeems.config.json
16 Ram entries found
XCalc: "div" 1000
XCalc: "div" 100
XCalc: "sub" 273.15
XCalc: "div" 1000
XCalc: "div" 2
XCalc: "div" 100
XCalc: "sub" 273.15
XCalc: "div" 2
XCalc: "div" 2
XCalc: "div" 2
68 Error Keys Loaded
3 3D Tables Loaded
5 2D Tables Loaded
GET_FIRMWARE_VERSION
Recieved Response "0x3" For Payload: "0x3" Sequence Number: 1
GET_INTERFACE_VERSION
Command succesful: "1"
7 messages left to go. First one: 2
Recieved Response "0x1" For Payload: "0x1" Sequence Number: 2
GET_LOCATION_ID_LIST
Sent packet "0xDA5E" Sequence Number: 3
Command succesful: "2"
6 messages left to go. First one: 3
Recieved Response "0xDA5F" For Payload: "0xDA5F" Sequence Number: 3
Location ID List
Command succesful: "3"
5 messages left to go. First one: 4
Recieved Response "0xEEF3" For Payload: "0xEEF3" Sequence Number: 4
Command succesful: "4"
41 messages left to go. First one: 5
Recieved Response "0xEEEF" For Payload: "0xEEEF" Sequence Number: 5
Command succesful: "5"
40 messages left to go. First one: 6
Recieved Response "0xEEF1" For Payload: "0xEEF1" Sequence Number: 6
Command succesful: "6"
39 messages left to go. First one: 7
Recieved Response "0x5" For Payload: "0x5" Sequence Number: 7
Command succesful: "7"
38 messages left to go. First one: 8
Recieved Response "0xEEF5" For Payload: "0xEEF5" Sequence Number: 8
Sent packet "0xF8E0" Sequence Number: 9
Command succesful: "8"
37 messages left to go. First one: 9
Recieved Response "0xF8E1" For Payload: "0xF8E1" Sequence Number: 9
Sent packet "0xF8E0" Sequence Number: 10
Command succesful: "9"
36 messages left to go. First one: 10
Location ID Info for: "0x0"
Recieved Response "0xF8E1" For Payload: "0xF8E1" Sequence Number: 10
Sent packet "0xF8E0" Sequence Number: 11
Recieved Response "0xF8E1" For Payload: "0xF8E1" Sequence Number: 11
Sent packet "0xF8E0" Sequence Number: 12
Command succesful: "10"
35 messages left to go. First one: 11
Location ID Info for: "0x6"
Command succesful: "11"
34 messages left to go. First one: 12
Location ID Info for: "0x8"
Recieved Response "0xF8E1" For Payload: "0xF8E1" Sequence Number: 12
Sent packet "0xF8E0" Sequence Number: 13
Command succesful: "12"
33 messages left to go. First one: 13
Location ID Info for: "0x100"
Recieved Response "0xF8E1" For Payload: "0xF8E1" Sequence Number: 13
Sent packet "0xF8E0" Sequence Number: 14
Command succesful: "13"
32 messages left to go. First one: 14
Location ID Info for: "0x102"
Recieved Response "0xF8E1" For Payload: "0xF8E1" Sequence Number: 14
Sent packet "0xF8E0" Sequence Number: 15
Command succesful: "14"
31 messages left to go. First one: 15
Location ID Info for: "0x108"
Recieved Response "0xF8E1" For Payload: "0xF8E1" Sequence Number: 15
Sent packet "0xF8E0" Sequence Number: 16
Command succesful: "15"
30 messages left to go. First one: 16
Location ID Info for: "0x10A"
Recieved Response "0xF8E1" For Payload: "0xF8E1" Sequence Number: 16
Sent packet "0xF8E0" Sequence Number: 17
Command succesful: "16"
29 messages left to go. First one: 17
Location ID Info for: "0x10C"
Recieved Response "0xF8E1" For Payload: "0xF8E1" Sequence Number: 17
Sent packet "0xF8E0" Sequence Number: 18
Command succesful: "17"
28 messages left to go. First one: 18
Location ID Info for: "0x3000"
Recieved Response "0xF8E1" For Payload: "0xF8E1" Sequence Number: 18
Sent packet "0xF8E0" Sequence Number: 19
Command succesful: "18"
27 messages left to go. First one: 19
Location ID Info for: "0x3002"
Recieved Response "0xF8E1" For Payload: "0xF8E1" Sequence Number: 19
Sent packet "0xF8E0" Sequence Number: 20
Command succesful: "19"
26 messages left to go. First one: 20
Location ID Info for: "0x8000"
Recieved Response "0xF8E1" For Payload: "0xF8E1" Sequence Number: 20
Sent packet "0xF8E0" Sequence Number: 21
Command succesful: "20"
25 messages left to go. First one: 21
Location ID Info for: "0x8001"
Recieved Response "0xF8E1" For Payload: "0xF8E1" Sequence Number: 21
Sent packet "0xF8E0" Sequence Number: 22
Command succesful: "21"
24 messages left to go. First one: 22
Location ID Info for: "0x9000"
Recieved Response "0xF8E1" For Payload: "0xF8E1" Sequence Number: 22
Sent packet "0xF8E0" Sequence Number: 23
Command succesful: "22"
23 messages left to go. First one: 23
Location ID Info for: "0xA000"
Recieved Response "0xF8E1" For Payload: "0xF8E1" Sequence Number: 23
Sent packet "0xF8E0" Sequence Number: 24
Command succesful: "23"
22 messages left to go. First one: 24
Location ID Info for: "0xA001"
Recieved Response "0xF8E1" For Payload: "0xF8E1" Sequence Number: 24
Sent packet "0xF8E0" Sequence Number: 25
Command succesful: "24"
21 messages left to go. First one: 25
Location ID Info for: "0xC000"
Recieved Response "0xF8E1" For Payload: "0xF8E1" Sequence Number: 25
Sent packet "0xF8E0" Sequence Number: 26
Command succesful: "25"
20 messages left to go. First one: 26
Location ID Info for: "0xC001"
Recieved Response "0xF8E1" For Payload: "0xF8E1" Sequence Number: 26
Sent packet "0xF8E0" Sequence Number: 27
Command succesful: "26"
19 messages left to go. First one: 27
Location ID Info for: "0xC002"
Recieved Response "0xF8E1" For Payload: "0xF8E1" Sequence Number: 27
Sent packet "0xF8E0" Sequence Number: 28
Command succesful: "27"
18 messages left to go. First one: 28
Location ID Info for: "0xC003"
Recieved Response "0xF8E1" For Payload: "0xF8E1" Sequence Number: 28
Sent packet "0xF8E0" Sequence Number: 29
Command succesful: "28"
17 messages left to go. First one: 29
Location ID Info for: "0xC004"
Recieved Response "0xF8E1" For Payload: "0xF8E1" Sequence Number: 29
Sent packet "0xF8E0" Sequence Number: 30
Command succesful: "29"
16 messages left to go. First one: 30
Location ID Info for: "0xC005"
Recieved Response "0xF8E1" For Payload: "0xF8E1" Sequence Number: 30
Sent packet "0xF8E0" Sequence Number: 31
Command succesful: "30"
15 messages left to go. First one: 31
Location ID Info for: "0xC020"
Recieved Response "0xF8E1" For Payload: "0xF8E1" Sequence Number: 31
Sent packet "0xF8E0" Sequence Number: 32
Command succesful: "31"
14 messages left to go. First one: 32
Location ID Info for: "0xC021"
Recieved Response "0xF8E1" For Payload: "0xF8E1" Sequence Number: 32
Sent packet "0xF8E0" Sequence Number: 33
Command succesful: "32"
13 messages left to go. First one: 33
Location ID Info for: "0xC022"
Recieved Response "0xF8E1" For Payload: "0xF8E1" Sequence Number: 33
Sent packet "0xF8E0" Sequence Number: 34
Command succesful: "33"
12 messages left to go. First one: 34
Location ID Info for: "0xC023"
Recieved Response "0xF8E1" For Payload: "0xF8E1" Sequence Number: 34
Sent packet "0xF8E0" Sequence Number: 35
Command succesful: "34"
11 messages left to go. First one: 35
Location ID Info for: "0xC024"
Recieved Response "0xF8E1" For Payload: "0xF8E1" Sequence Number: 35
Sent packet "0xF8E0" Sequence Number: 36
Command succesful: "35"
10 messages left to go. First one: 36
Location ID Info for: "0xC025"
Recieved Response "0xF8E1" For Payload: "0xF8E1" Sequence Number: 36
Sent packet "0xF8E0" Sequence Number: 37
Command succesful: "36"
9 messages left to go. First one: 37
Location ID Info for: "0xC026"
Recieved Response "0xF8E1" For Payload: "0xF8E1" Sequence Number: 37
Sent packet "0xF8E0" Sequence Number: 38
Command succesful: "37"
8 messages left to go. First one: 38
Location ID Info for: "0xC100"
Recieved Response "0xF8E1" For Payload: "0xF8E1" Sequence Number: 38
Sent packet "0xF8E0" Sequence Number: 39
Command succesful: "38"
7 messages left to go. First one: 39
Location ID Info for: "0xC101"
Recieved Response "0xF8E1" For Payload: "0xF8E1" Sequence Number: 39
Sent packet "0xF8E0" Sequence Number: 40
Command succesful: "39"
6 messages left to go. First one: 40
Location ID Info for: "0xF000"
Recieved Response "0xF8E1" For Payload: "0xF8E1" Sequence Number: 40
Sent packet "0xF8E0" Sequence Number: 41
Command succesful: "40"
5 messages left to go. First one: 41
Location ID Info for: "0xF001"
Recieved Response "0xF8E1" For Payload: "0xF8E1" Sequence Number: 41
Sent packet "0xF8E0" Sequence Number: 42
Command succesful: "41"
4 messages left to go. First one: 42
Location ID Info for: "0xF002"
Recieved Response "0xF8E1" For Payload: "0xF8E1" Sequence Number: 42
Sent packet "0xF8E0" Sequence Number: 43
Command succesful: "42"
3 messages left to go. First one: 43
Location ID Info for: "0xF003"
Recieved Response "0xF8E1" For Payload: "0xF8E1" Sequence Number: 43
Sent packet "0xF8E0" Sequence Number: 44
Command succesful: "43"
2 messages left to go. First one: 44
Location ID Info for: "0xF004"
Recieved Response "0xF8E1" For Payload: "0xF8E1" Sequence Number: 44
Sent packet "0xF8E0" Sequence Number: 45
Command succesful: "44"
1 messages left to go. First one: 45
Location ID Info for: "0xF005"
Recieved Response "0xF8E1" For Payload: "0xF8E1" Sequence Number: 45
Command succesful: "45"
All ID information recieved. Requesting Ram and Flash updates
Populating internal memory parent list.
30 Device flash locations
0 Application flash locations
17 Device Ram locations
0 Application Ram locations
20 messages left to go. First one: 46
Location ID Info for: "0xF006"
Sent packet "0x106" Sequence Number: 46
Recieved Response "0x107" For Payload: "0x107" Sequence Number: 46
Command succesful: "46"
Sent packet "0x106" Sequence Number: 47
19 messages left to go. First one: 47
Recieved Response "0x107" For Payload: "0x107" Sequence Number: 47
Sent packet "0x106" Sequence Number: 48
Command succesful: "47"
18 messages left to go. First one: 48
Recieved Response "0x107" For Payload: "0x107" Sequence Number: 48
Command succesful: "48"
17 messages left to go. First one: 49
Sent packet "0x106" Sequence Number: 49
Recieved Response "0x107" For Payload: "0x107" Sequence Number: 49
Sent packet "0x106" Sequence Number: 50
Command succesful: "49"
16 messages left to go. First one: 50
Recieved Response "0x107" For Payload: "0x107" Sequence Number: 50
Command succesful: "50"
Sent packet "0x106" Sequence Number: 51
15 messages left to go. First one: 51
Recieved Response "0x107" For Payload: "0x107" Sequence Number: 51
Command succesful: "51"
Sent packet "0x106" Sequence Number: 52
14 messages left to go. First one: 52
Recieved Response "0x107" For Payload: "0x107" Sequence Number: 52
Command succesful: "52"
13 messages left to go. First one: 53
Sent packet "0x106" Sequence Number: 53
Recieved Response "0x107" For Payload: "0x107" Sequence Number: 53
Sent packet "0x106" Sequence Number: 54
Command succesful: "53"
12 messages left to go. First one: 54
Recieved Response "0x107" For Payload: "0x107" Sequence Number: 54
Command succesful: "54"
Sent packet "0x104" Sequence Number: 55
11 messages left to go. First one: 55
Recieved Response "0x105" For Payload: "0x105" Sequence Number: 55
Sent packet "0x104" Sequence Number: 56
Command succesful: "55"
10 messages left to go. First one: 56
Recieved Response "0x105" For Payload: "0x105" Sequence Number: 56
Command succesful: "56"
Sent packet "0x104" Sequence Number: 57
9 messages left to go. First one: 57
Recieved Response "0x105" For Payload: "0x105" Sequence Number: 57
Sent packet "0x104" Sequence Number: 58
Command succesful: "57"
8 messages left to go. First one: 58
Recieved Response "0x105" For Payload: "0x105" Sequence Number: 58
Command succesful: "58"
Sent packet "0x104" Sequence Number: 59
7 messages left to go. First one: 59
Recieved Response "0x105" For Payload: "0x105" Sequence Number: 59
Sent packet "0x104" Sequence Number: 60
Command succesful: "59"
6 messages left to go. First one: 60
Recieved Response "0x105" For Payload: "0x105" Sequence Number: 60
Sent packet "0x104" Sequence Number: 61
Command succesful: "60"
5 messages left to go. First one: 61
Recieved Response "0x105" For Payload: "0x105" Sequence Number: 61
Sent packet "0x104" Sequence Number: 62
Command succesful: "61"
4 messages left to go. First one: 62
Recieved Response "0x105" For Payload: "0x105" Sequence Number: 62
Sent packet "0x104" Sequence Number: 63
Command succesful: "62"
3 messages left to go. First one: 63
Recieved Response "0x105" For Payload: "0x105" Sequence Number: 63
Sent packet "0x104" Sequence Number: 64
Command succesful: "63"
2 messages left to go. First one: 64
Recieved Response "0x105" For Payload: "0x105" Sequence Number: 64
Sent packet "0x104" Sequence Number: 65
Command succesful: "64"
1 messages left to go. First one: 65
Recieved Response "0x105" For Payload: "0x105" Sequence Number: 65
Command succesful: "65"
All Ram and Flash locations updated
Interrogation complete
QMdiArea::removeSubWindow: window is not inside workspace
GET_FIRMWARE_VERSION
TIMEOUT waiting for response to payload: "0x2" Sequence: 1
Retrying
GET_FIRMWARE_VERSION
TIMEOUT waiting for response to payload: "0x2" Sequence: 1
Retrying
GET_FIRMWARE_VERSION
TIMEOUT waiting for response to payload: "0x2" Sequence: 1
No retries left!
GET_INTERFACE_VERSION
Command timed out: "1"
User avatar (0002224)
malcom2073 (manager)
2012-09-27 00:05

This is a known and confirmed issue now, thank you. I am indeed not letting go of the port properly. Workaround for now: close EMStudio before plugging ECU back in.
User avatar (0002230)
malcom2073 (manager)
2012-09-28 02:20

Fixed in 8a656e3f1e28c3bd7d147cd0b2ebcc1f692fb700
32bit Debian Binary:
http://mikesshop.net/EMStudio/emstudio_DEV_0.0.1-2012-09-27_22-16-50_i386.deb [^]

Please test
User avatar (0002345)
Fred (administrator)
2012-10-16 15:26

Presto, wake up!
User avatar (0002582)
Fred (administrator)
2013-01-29 14:08

He was using it last night and didn't complain about this, only my bad instructions (fail! :-( ) so closing. He can re-open if required.
User avatar (0002594)
Preston (updater)
2013-01-29 19:40

I cannot get USB lockup... fantastic!! Thanks.
I can however see that the bad instructions were payback for not doing this earlier! self-inflicted shell we say :p
An if you didnt do it on purpose, everyone falls from grace Fred.... Maybe it's your time :)
User avatar (0002595)
Fred (administrator)
2013-01-29 19:46

Worst part is that it cost me in delay-to-test-results :-(
User avatar (0002596)
Fred (administrator)
2013-01-29 19:46

Confirmed, closing.


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker