serial-framing error problem

General support questions and announcements for MS3. See also MS3 manuals.

Moderators: jsmcortina, muythaibxr

Post Reply
sheek
Experienced MS/Extra'er
Posts: 265
Joined: Fri May 11, 2007 10:05 am

serial-framing error problem

Post by sheek »

hi, i looking over a friend's ms3 build as he is having a problem communicating with his ms3, took out his chip and put it in mine and burned the firmware fine so i know that its good. he is getting a serial- framing error, i took a screen shot of the error in tunerstudio, can any one help me troubleshoot?
error.JPG
error2.JPG
thanks for any help that is given.
sheek
Experienced MS/Extra'er
Posts: 265
Joined: Fri May 11, 2007 10:05 am

Re: serial-framing error problem

Post by sheek »

let me add i changed the serial cable
switched to usb cable instead
used an old laptop with a hardware com port

and the error persists
jsmcortina
Site Admin
Posts: 39587
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: serial-framing error problem

Post by jsmcortina »

So the problem is only with his mainboard or does it follow the MS3 card?

In any case that message does mean there's a real hardware problem with the serial communications.

The only times I've ever seen it are when I had TunerStudio open with an MS1/Extra project (9600 baud) and turned on the MS3, then switched projects. The 9600 baud looks like a framing error.

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
sheek
Experienced MS/Extra'er
Posts: 265
Joined: Fri May 11, 2007 10:05 am

Re: serial-framing error problem

Post by sheek »

the problem does not follow the ms3 card
tried tinkering with the baud settings and still no luck.

plugged the cable into my ms3 and no problem so i have eliminated the ms3 card, the laptop hardware, the xp uart settings and the actual db9 connection. found some cold joints on the serial chip near the db9 connector but still no difference when reflowing them, reflowed the group of capacitors near the db9 still no joy. reflowed the connector that holds the cpu. no luck.

what are the components that make up the communications side of the ms3? should i change that chip that is near the db9?
jsmcortina
Site Admin
Posts: 39587
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: serial-framing error problem

Post by jsmcortina »

sheek wrote:what are the components that make up the communications side of the ms3? should i change that chip that is near the db9?
It does sound like it is a problem with that, however, if direct MS3 USB-serial doesn't work when on that mainboard, that's very odd.

The serial circuit is shown here: http://www.msextra.com/doc/general/ms3v3schems.html#p8

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
sheek
Experienced MS/Extra'er
Posts: 265
Joined: Fri May 11, 2007 10:05 am

Re: serial-framing error problem

Post by sheek »

Does using the usb bypass the serial circuit on the board? then i can assume its not the 16 pin ic?

now what?
jsmcortina
Site Admin
Posts: 39587
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: serial-framing error problem

Post by jsmcortina »

If there's some fault with the MAX232 circuit it might be interfering with the USB connection.

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
sheek
Experienced MS/Extra'er
Posts: 265
Joined: Fri May 11, 2007 10:05 am

Re: serial-framing error problem

Post by sheek »

So my first plan of action shud be to change that ic?

what is the part number i shud ask for at the parts store or must i orrder it from diyautotune?
jsmcortina
Site Admin
Posts: 39587
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: serial-framing error problem

Post by jsmcortina »

It is in the parts list in the manual
http://www.msextra.com/doc/general/v3parts.html

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
Benkku
Helpful MS/Extra'er
Posts: 54
Joined: Tue Jul 24, 2007 4:31 pm

Re: serial-framing error problem

Post by Benkku »

Firstly i would change the MAX232 chip. I have seen this before, not with MS though, but the chip internal capacitors somehow 'dry out' shifting/lowering serial-logic level voltages, level edges got rounding etc..
rabid
Experienced MS/Extra'er
Posts: 303
Joined: Mon May 09, 2005 7:44 am

Re: serial-framing error problem

Post by rabid »

I'm getting this error with a ms2. I have been using this ms for a long time with a mini pc that had a real com1 port. I've never gotten the error before. Now I'm trying to use a laptop with a prolific 2303 "ebay" usb to serial adapter. The best I can get it to do is communicate for a minute and then the gauges go dead or it goes offline. I've tried setting fifo to low ect. I don't know what is causing it yet but I intend to find out.
jsmcortina
Site Admin
Posts: 39587
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: serial-framing error problem

Post by jsmcortina »

As mentioned before, I am confident that this is indicative of a real seal problem that cannot be ignored. The CPU has a hardware serial module and it sets a "framing error" bit when it detects that problem. When the firmware sees that bit it shuts down comms to protect you from what could be serious data corruption.

(Before the serial robustness changes some users had the firmware erased and such like by rogue serial data.)

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
rabid
Experienced MS/Extra'er
Posts: 303
Joined: Mon May 09, 2005 7:44 am

Re: serial-framing error problem

Post by rabid »

I tried different usb to serial adapters and it is working great now. The adapter I had was an ebay knock off prolific 2303 chip. The latest prolific drivers wouldn't work with that chip. I tried a gigawire from radioshack and a REAL prolific pl2303hx and both work without errors.
Post Reply