Author Topic: What is "commModel" in VemsTune?  (Read 9876 times)

Offline lugnuts

  • Full Member
  • ***
  • Posts: 249
  • BHP: 2
What is "commModel" in VemsTune?
« on: December 02, 2010, 02:26:02 pm »
What's the deal with the "commModel" versions of Vemstune?


Can we get some information on the recommended settings for "Timeout" and "InterWrite Delay"?
(Since the default settings do not match what is in the F1 Help Window.)


Also, it would be good to change the default "SD card baud rate" to "57,600" since it doesn't work on "115200"


Finally, I saw talk here regarding old/new laptops and VemsTune. 

I'd like to mention that many people like myself (and many customers) prefer older laptops for tuning,
and it would be very beneficial to allow the VemsTune to work well regardless of the pc used.

Offline mattias

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1075
  • BHP: 41
    • Sävar Turbo Site
Re: What is "commModel" in VemsTune?
« Reply #1 on: December 02, 2010, 04:52:10 pm »
There is an issue report page in the Wiki, report this stuff there if you want attention to the details you discovered.
http://www.vems.hu/wiki/index.php?page=IssueReports%2FVemsTune

The new communication model used has changed the way information is sent and synchronized. You'll notice that you get a higher update speed, it takes shorter time to sync with the ECU and as far as I know all data transfers are now checksummed. 115200 baud communication actually works, 100+ Hz update speed on a recent model laptop. I wouldn't update the firmware at that speed though..

What you'll notice as well is that you can do offline changes and when you reconnect to the ECU it will ask if you want to send your changes to the ECU, save it to a file or discard your changes and read the current configuration from the ECU. This should've been there from day one with VemsTune, but now here it is.

As far as recommended communication settings, I use the settings that it comes with by default, and it has worked just fine with both my stationary with real serial port and the Prolific adapter used with my laptop. Now that there are checksums on data transfers the error rate will probably determine what is a good setting, don't worry about it - that will stabilise.



Offline lugnuts

  • Full Member
  • ***
  • Posts: 249
  • BHP: 2
Re: What is "commModel" in VemsTune?
« Reply #2 on: December 02, 2010, 07:47:51 pm »
Oh nice, lots of new changes.

"Preferred baudrate" = 9600 to 115200

"Firmware upload baudrate" = 9600 to 115200



Is there any disadvantage or bugs with the new comm model?  (why are both regular and commModel versions available for the last 4 versions of vemstune?, And why are none of the commModels "released"?)

Offline mattias

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1075
  • BHP: 41
    • Sävar Turbo Site
Re: What is "commModel" in VemsTune?
« Reply #3 on: December 02, 2010, 10:51:56 pm »
There are only advantages to the new comm model as far as I know, myself and many other have been using it for over a month now.
The releases will merge pretty soon, don't worry.

Offline lugnuts

  • Full Member
  • ***
  • Posts: 249
  • BHP: 2
Re: What is "commModel" in VemsTune?
« Reply #4 on: December 07, 2010, 03:01:22 pm »
Does any of the developers use a Serial port?  I was using the 12-2 CommModel VemsTune last night and I was disconnected several times. I can share my experience if that is going to help.

I'm doing some serial-usb adapter testing today.

Offline Jim_W

  • Jr. Member
  • **
  • Posts: 32
  • BHP: 5
Re: What is "commModel" in VemsTune?
« Reply #5 on: December 07, 2010, 11:02:06 pm »
Also, it would be good to change the default "SD card baud rate" to "57,600" since it doesn't work on "115200"

Was this documented somewhere?  I spent hours over the weekend trying to debug my SD card logger with no luck.  I searched and found nothing related to the SD card and baud rates.

Offline lugnuts

  • Full Member
  • ***
  • Posts: 249
  • BHP: 2
Re: What is "commModel" in VemsTune?
« Reply #6 on: December 08, 2010, 12:09:51 am »
I was told here by someone. I lost a lot of time because of sd card baud rate.
I my case, the 115200 would work on small files, like when testing for example.
But the next time at the track, Would not work.
The logger uploads great with the 57600 speed.




Offline lugnuts

  • Full Member
  • ***
  • Posts: 249
  • BHP: 2
Re: What is "commModel" in VemsTune?
« Reply #7 on: December 08, 2010, 12:15:24 am »
http://www.vemssupport.com/forum/index.php/topic,1257.0.html

Here was my thread, titled "SD card..."  on Page 2.


The search function on this site works strange at times.
I searched for "SD Card" exactly and got nothing, and then just now I went to advanced search and
then was able to find it.
« Last Edit: December 08, 2010, 12:18:18 am by lugnuts »

Offline mattias

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1075
  • BHP: 41
    • Sävar Turbo Site
Re: What is "commModel" in VemsTune?
« Reply #8 on: December 08, 2010, 12:22:10 am »
I'll suggest better feedback in case of communication problems to help people realise that their gear won't co-operate.

With recent firmware + VemsTune it works well on the table with a standard serial port, but many in-car situations and some USB adapters may be much more prone to signal problems - hence the possibility to lower the baud rate.

Offline lugnuts

  • Full Member
  • ***
  • Posts: 249
  • BHP: 2
Re: What is "commModel" in VemsTune?
« Reply #9 on: December 08, 2010, 12:27:47 am »
I was on 1.1.81fw and just checking out the new 12-2 VemsTune on the bench.

I had lost comm several times. I was going to blame my drill battery I was using to power up the ecu (voltage was ~8.5) - but I could go back to VemsTune 11-2 and establish comm at any time.

I didn't get to do my usb adapter test today.

I just wanted to mention the fact that many tuners are out there who are "old school" like me and use cheaper/older laptops with serial ports, and would like to keep serial comm.