Page 1 of 2

cannot communicate with PC, port test fail

Posted: Tue Feb 22, 2011 5:29 pm
by sindarusco
hi, I have a microsquirt and I am using it drive an injector for the spray analysis (sensors are replaced with potentiometers). the set up works fine before. however, now it cannot communicate with the computer (i did not change anything after the last time when it works normally).

the port test in megatune always gives no response, when I use tunerstudio, it can detect something at the port (COM1), but when I load the ini file and do the port test. it says fail. the port checker says there is 1 valid port. i have DB9 port on the PC, so there should be no USB adapter issue. except the fail connection with computer, the microsquirt works fine on driving the injector. I am really confusing about what should I do. here is some screen shot, hope they are helpful.

thank you very much

Image
port_check by sindarusco, on Flickr

Image
DL by sindarusco, on Flickr

Image
TS_detect by sindarusco, on Flickr

Re: cannot communicate with PC, port test fail

Posted: Sun Feb 27, 2011 3:12 am
by 24c
Have you enabled the Boot Jumper?

I have just upgraded an older cased MicroSquirt successfully from 2.886 to 2.891

Code: Select all

MegaSquirt Download 2.00

Reading C:/Documents and Settings/Mike Crane/My Documents/Monitor_v2.891.abs.s19:
Detected MS-II (HCS12) code.
Entry point: 0x0000
Code range : 0x4000-0x3db420
File read successfully.

Opened comm port 3 at 115200.
Erasing main FLASH:
Erased.
Writing:
Setting page register 0x3c:
Page set.
Erasing page 0x3c:
MegaSquirt Download 2.00

Reading C:/Documents and Settings/Mike Crane/My Documents/Monitor_v2.891.abs.s19:
Detected MS-II (HCS12) code.
Entry point: 0x0000
Code range : 0x4000-0x3db420
File read successfully.

Opened comm port 3 at 115200.
ERROR: Timed out reading response, 0xE0
Elapsed time: 14.43 seconds
Erased.
Setting page register 0x3d:
Page set.
Erasing page 0x3d:
Erased.
Write complete, 1439 records, 46002 bytes.
Verifying:
Setting page register 0x00:
Page set.
Setting page register 0x3c:
Page set.
Setting page register 0x3d:
Page set.
Verification succeeded, 1439 records total (4 skipped).
Elapsed time: 20.97 seconds
BUT if you don't have the boot jumper loaded you will see this response...

Code: Select all

MegaSquirt Download 2.00

Reading C:/Documents and Settings/Mike Crane/My Documents/Monitor_v2.891.abs.s19:
Detected MS-II (HCS12) code.
Entry point: 0x0000
Code range : 0x4000-0x3db420
File read successfully.

Opened comm port 3 at 115200.
ERROR: Timed out reading response, 0xE0
Elapsed time: 14.40 seconds
...which looks just like your message (middle picture). Hope this helps :)

Re: cannot communicate with PC, port test fail

Posted: Tue Mar 01, 2011 3:03 pm
by sindarusco
hm~ i think the bootloader pin is grounded when I try to upgrade the code (the bootloader is ground to the sensor ground right?).

before these issues appears, when microsquirt works nice. I remember the detected code version is 2.886 too. do you still remember which version of .ini file are you using when your code is 2.886? I use the 2.8 one and hope that wont do something wrong. I remember the manual said before 2.889, they using the same 2.x file..

thank you very much :)

Re: cannot communicate with PC, port test fail

Posted: Tue Mar 01, 2011 10:39 pm
by 24c
sindarusco wrote:... (the bootloader is ground to the sensor ground right?)...
I hold mine to the battery negative or ground, _not_ the sensor ground. :idea:

Re: cannot communicate with PC, port test fail

Posted: Wed Mar 02, 2011 3:18 pm
by sindarusco
hm~ i tried both.. still not work :(

@_@ someone help me plz...

thank you :)

Re: cannot communicate with PC, port test fail

Posted: Thu Mar 03, 2011 6:07 am
by Matt Cramer
Check for 5 volts on VREF.

Re: cannot communicate with PC, port test fail

Posted: Thu Mar 03, 2011 4:59 pm
by sindarusco
the voltage between Vref and sensor ground is 4.95V, stable.

when I launch the megatune, it shows something like this.

Image
receive_code by sindarusco, on Flickr

hope it is not hardware problem :(

thank you very much for help.

Re: cannot communicate with PC, port test fail

Posted: Fri Mar 04, 2011 5:19 am
by Matt Cramer
That message in MegaTune looks more like the wrong COM port than a problem with the MicroSquirt.

Re: cannot communicate with PC, port test fail

Posted: Tue Mar 08, 2011 11:30 am
by sindarusco
is it possible that it is the cable's fault? the 2.5mm stereo - DB9 one?

thanks

Re: cannot communicate with PC, port test fail

Posted: Tue Mar 08, 2011 1:22 pm
by Matt Cramer
I've seen a couple defective cables, particularly if yours doesn't have the 1 piece molded DB9 housing.