News:

New Users: Send [email protected] an email with your account name. I've turned off auto-approve to reduce the 100 new spam accounts a day. Thanks, -Jason

Main Menu

Struggling to get vems to talk.

Started by scottieb, December 20, 2007, 11:50:23 AM

Previous topic - Next topic

scottieb

Hi All,

Tried to get my vems board to talk to megatune last night, no luck.

This is what I did.

Downloaded the latest vems software package form the forum.

Unzipped it and executed Megatune.

Connected the vems board to a 12V supply. Checked I have 5V coming out of the main regulator. Connected the RS232 to the vems board. Checked I have data going into pin 13 of U19(MAX232) (using hyperterminal)

When I power the board up I get something out of TX0, but not a lot.

In megatune I set the coms to the correct port and baud rate of 9600. when I press test it says no response.

What am I missing?

The board is alive because if I use hyperterminal and set the baud rate to 9600, when I press ââ,¬Ëœoââ,¬â,,¢ I get a load of garbage back, but its consistent garbage.

Help please!

Regards,

Scott

scottieb


antonch

Quote from: scottieb on December 20, 2007, 06:35:51 PM
Anyone? :o)

Have you tried connecting to it via terminal--there is a program in the package for that. I think if you type Man you should get somethign descent back. Are you using USB to serial connector?

scottieb

Normal RS232 port on del laptop. got it to talk through hyperterminal, its telling me it has firmware version 1.0.38 and I have megatune bundled with 1.0.73, so maybe thats the problem?

I've tried to upload the latest firmware but the upgrade-firmware.bat application just says "cannot open com 4" I'm trying to figure out how to change the port now, does anyone know?

Scott

scottieb

sorted now, all is well, now to try and get the wideband working, watch this space!

[email protected]

I guess you've found out that the batch file needs to be edited... :)

scottieb

Yes, Should have thought about it a bit more before posting really  ::)

Got the wideband calibrated and working a treat in the terminal, but how do i get it to display in megatune? I have a lambda gueage on the screen but it is reading min, and the heater is not on either?

Regards,

Scott

Volvo850r

so in the end, was the problem with not using the correct firmware matched to the version of megatune you had? and then it was just a case of changing the com port value in "upload-firmware... bat" so you could put on the latest firmware.


[email protected]

Quote from: scottieb on December 21, 2007, 09:56:04 AM
Got the wideband calibrated and working a treat in the terminal, but how do i get it to display in megatune? I have a lambda gueage on the screen but it is reading min, and the heater is not on either?

The wideband sensor's heater is not powered until the engine is running, when you do the mde02 command in terminal you are forcing the heater on.

So if you want to force it to see things in MegaTune:

Make sure that MegaTune is closed and open Terminal, connect then type: Manmde02
then type: byebye

Close your terminal program and open MegaTune, after the heater has warmed up you'll see the lambda scale reading very lean.

Rob

[email protected]

Quote from: Volvo850r on December 21, 2007, 12:20:29 PM
so in the end, was the problem with not using the correct firmware matched to the version of megatune you had? and then it was just a case of changing the com port value in "upload-firmware... bat" so you could put on the latest firmware.

You should only use the MegaTune that comes with the firmware release.

scottieb

Quote from: Volvo850r on December 21, 2007, 12:20:29 PM
so in the end, was the problem with not using the correct firmware matched to the version of megatune you had? and then it was just a case of changing the com port value in "upload-firmware... bat" so you could put on the latest firmware.



Correct.

So i take it megatune gets changed to accomodate new features everytime you do a firmware upgrade?

scottieb

Quote from: [email protected] on December 21, 2007, 12:30:34 PM
Quote from: scottieb on December 21, 2007, 09:56:04 AM
Got the wideband calibrated and working a treat in the terminal, but how do i get it to display in megatune? I have a lambda gueage on the screen but it is reading min, and the heater is not on either?

The wideband sensor's heater is not powered until the engine is running, when you do the mde02 command in terminal you are forcing the heater on.

So if you want to force it to see things in MegaTune:

Make sure that MegaTune is closed and open Terminal, connect then type: Manmde02
then type: byebye

Close your terminal program and open MegaTune, after the heater has warmed up you'll see the lambda scale reading very lean.

Rob

ok nice one rob, i'll give that a try.

Is there a  way of getting an analogue output from the WBO2 for a guage?

Scott

[email protected]

No, there is work underway to output data via RS232 so that the Wideband Gauge can display data from the VEMS.

Essentially what happens this time of year is that all the northern europeans stop playing with their Volvos and Audis and start developing the software again.

scottieb

lol, its to cold even for them!

we it least it can be acessed by RS232, i suppose i could just read it out with a micro then display it.

... too many projects on the go at once!

[email protected]

Quote from: scottieb on December 21, 2007, 01:17:55 PM
Correct.

So i take it megatune gets changed to accomodate new features everytime you do a firmware upgrade?

Yes, there is a file vemsv3.ini that defines the memory structure for all the features in the firmware, obviously as things are put in, and other settings taken out the structure changes.