Pages: [1] 2 3
Author Topic: NefMoto ME7 Flashing Software Release 1.6.0.0  (Read 41241 times)
Tony@NefMoto
Administrator
Hero Member
*****

Karma: +132/-4
Offline Offline

Posts: 1389


2001.5 Audi S4 Stage 3


« on: October 26, 2010, 08:45:10 PM »



Summary:
The NefMoto ME7 ECU flasher is a free tool that allows you to read and write the flash memory in your ME7 ECU in car over the OBD port. All that is required is a FTDI based USB OBD cable that works in "dumb" mode. Dumb mode cables pass the raw serial data straight through without applying any higher level protocols.

Features:
-ECUs can be written through the OBD port in about three and half minutes.
-ECUs can be read through the OBD port in about five minutes.
-User defined memory layouts allow for flashing any memory arrangement.
-Writing erases and programs one memory sector at a time to allow you to recover the ECU in case of failure.
-Written and read data is verified with checksums to insure data was sent correctly.
-Reading and clearing error codes is also supported.

This software does NOT:
-Does not update checksums or validate the file you are flashing in any way.
-Does not allow you to edit any maps, value, etc. It is just for flashing.

System requirements:
-32bit or 64bit Windows Vista or Newer (Will work if run inside a virtual Windows machine on Mac and Linux as well)
-.NET 3.5 (installed as part of install process)
-FTDI USB D2XX driver version 2.06.00 or later
-3 megabytes of free hard drive space

Tested supported cables:
-eBay USB VAG KKL using the FTDI D2XX standard driver
-Ross-Tech HEX-KEY-CAN using the Ross-Tech FTDI D2XX driver ("boot in intelligent mode" must be unchecked in the VCDS options screen)
-Any dumb OBDII cable using the FTDI USB chip

Tested unsupported cables:
-Galletto (Does not support dumb mode)
-KWP2000+ Flasher (Does not support dumb mode)
-Old Ross-Tech KEY-USB (Does not support true dumb mode)

Tested supported ECUs list on the wiki:
http://nefariousmotorsports.com/wiki/index.php?title=NefMoto_ECU_Flashing_Software

Known issues:
-No known issues. Please let me know if you find any.

How to install:
Please uninstall any previous versions of the NefMoto ME7 ECU Flasher before installing the latest version.
To install, download and run the attached file ECUFlasherHostInstaller 1.6.0.0.msi.
Then ensure that you have the FTD2XX driver installed for your specific cable.
If you have a generic cable, download CDM20600.zip, then extract it and install the generic FTDI D2XX driver.
Logged

Remember you have to log in if you want to see the file attachments!
Info or questions, please add to the wiki: http://www.nefariousmotorsports.com/wiki
Follow NefMoto developments on Twitter: http://twitter.com/nefmoto
Rick
Hero Member
*****

Karma: +63/-4
Offline Offline

Posts: 704


« Reply #1 on: October 27, 2010, 11:09:31 AM »

What are the changes Tony?

Rick
Logged
Tony@NefMoto
Administrator
Hero Member
*****

Karma: +132/-4
Offline Offline

Posts: 1389


2001.5 Audi S4 Stage 3


« Reply #2 on: October 27, 2010, 11:17:24 AM »

I need to get better with my release notes.... Grin

New features:
-Fast init and slow init connection methods
-Slow init connection bug fixes
-New validate memory layout operation
-New check if ECU matches operation
-Now stays connected between operations
-User selectable baud rate
-New status bar
-Lots of communication bugs fixes, and more logging messages
Logged

Remember you have to log in if you want to see the file attachments!
Info or questions, please add to the wiki: http://www.nefariousmotorsports.com/wiki
Follow NefMoto developments on Twitter: http://twitter.com/nefmoto
iznogoud
Full Member
***

Karma: +13/-0
Offline Offline

Posts: 104

Learning junkie


« Reply #3 on: October 29, 2010, 07:16:01 PM »

Huge success tonight with running the NM flashing software through a virtual machine. I will try to make this brief but informative.

I used a laptop running a host OS of Windows XP Home. I used VirtualBox from Sun for the virtualization. I bought a copy of Windows 7 Ultimate (home most likely?) and installed it on a virtual machine with the following attributes: Intel ethernet controler, 1GB ram, 0 video memory, 10GM disk space, USB devices enable and 2.0 support for USB enabled. Booted the machine and got it to go online and from within the virtualization I downloaded two pieces of software: the NF flasher installer, and the FTDI drivers for Windows 7. More on this last part in a bit.

My host OS already has the FTDI drivers enabled. Therefore, a serial - USB infrastructure already existed, but that did not bother the rest of the functionality. I am using an FTDI-based cable that I bought from ebay some years ago. With this cable I successfully used wbh-diag, RossTec VAG-COM and VCDS, Lemmiwinks, and the NM software on a Windows 7 native (no virtualizatiojn) on a laptop.

Once the virtual machine has booted, I plug the FTDI cable to my laptop. The WIndows XP host OS recognizes it. Then, from the VirtualBox's "Device" menu I enable USB and tied it to what appears as "USB - Serial" on the virtual box. THe virtual box will launch a virtual hardware, that is a USB-related thing I do not fully understand, but a new hardware was installed on the host OS. This required the host OS to go fetch an appropriate driver, which was unsigned from a certificate authority, and to proceed as usual with installation. Once that "hardware" was in place, I get on the virtual Windows 7 machine. This is where things get tricky. I downloaded the FTDI drivers. I used the CDM (Combined Driver Module) and unzippped the files on the virtual OS's desktop. Then, I go under "System > Device Manager" and look for the devices present. The USB-Serial is there and has no driver. Right-click on that and go to a driver installation selection from the menu. Then, tell the OS that you want to install the driver from a local location and point to the Desktop. The installation of the driver will go through. However, the USB-Serial will still be unrecognized. This means that whatever driver we installed did not do THAT JOB that we intended, but something was installed.

Launch the NM flashing software. You should be able to see that port on the right-hand-side. We are in business. Connect the FTDI cable to the car, turn the ignition, and click on the Slow Connect. It worked for me. Then I clicked on the "Read Info" and it correctly read the ECU number, etc, of my CH-box 1.8T 2001.5 A4.

Huge success! All of this worked relatively painlessly for me. If you need any help and this write-up is inadequate, do not hesitate to PM me. I am not a Windows person, but I got it to work. I will do the same on the Linux side virtualization and will report back. But I know that last part has been achieved by others on this forum.

Good work everyone. Good work Tony!
« Last Edit: October 29, 2010, 07:33:28 PM by iznogoud » Logged

Audi S4 B5 2000 6sp Cactus Green
Audi A4 B6 Avant 1.8T 2001.5 5sp Santorin Blue
NOTORIOUS VR
Administrator
Hero Member
*****

Karma: +58/-7
Offline Offline

Posts: 1056


« Reply #4 on: November 02, 2010, 11:32:36 AM »

I can't seem to get your software to work with my ebay VAG cable Tony.

Do I have to set the VAG-COM (409) cable to dumb mode as well?  It's the generic (clear-blue) OBD plug with the clear/sliver usb cable for like $12 or whatever.  VAG409 works fine with it.

Logged

SCHNELL ENGINEERING BLOG ·  STANDALONE ECUS · TUNING · DYNO · WIRING · PARTS · VEMS
Google Talk: NOTORIOUS.VR
n00bs start here: http://s4wiki.com/wiki/Tuning
Tony@NefMoto
Administrator
Hero Member
*****

Karma: +132/-4
Offline Offline

Posts: 1389


2001.5 Audi S4 Stage 3


« Reply #5 on: November 02, 2010, 11:35:45 AM »

I can't seem to get your software to work with my ebay VAG cable Tony.

Do I have to set the VAG-COM (409) cable to dumb mode as well?  It's the generic (clear-blue) OBD plug with the clear/sliver usb cable for like $12 or whatever.  VAG409 works fine with it.

You shouldn't need to set the eBay cable to dumb mode. Can you send me the log file?
Logged

Remember you have to log in if you want to see the file attachments!
Info or questions, please add to the wiki: http://www.nefariousmotorsports.com/wiki
Follow NefMoto developments on Twitter: http://twitter.com/nefmoto
NOTORIOUS VR
Administrator
Hero Member
*****

Karma: +58/-7
Offline Offline

Posts: 1056


« Reply #6 on: November 02, 2010, 11:39:38 AM »

Yep, when I get home I'll send it to you.  Grin
Logged

SCHNELL ENGINEERING BLOG ·  STANDALONE ECUS · TUNING · DYNO · WIRING · PARTS · VEMS
Google Talk: NOTORIOUS.VR
n00bs start here: http://s4wiki.com/wiki/Tuning
NOTORIOUS VR
Administrator
Hero Member
*****

Karma: +58/-7
Offline Offline

Posts: 1056


« Reply #7 on: November 13, 2010, 01:45:14 PM »

Here ya go
Logged

SCHNELL ENGINEERING BLOG ·  STANDALONE ECUS · TUNING · DYNO · WIRING · PARTS · VEMS
Google Talk: NOTORIOUS.VR
n00bs start here: http://s4wiki.com/wiki/Tuning
Tony@NefMoto
Administrator
Hero Member
*****

Karma: +132/-4
Offline Offline

Posts: 1389


2001.5 Audi S4 Stage 3


« Reply #8 on: November 14, 2010, 12:58:55 PM »

Thanks for posting the logs. What make/model/year of car are you trying to connect to?

The software is timing out waiting for a response from the ECU while it is starting the programming session. The ECU may not be meeting the require message time out, the ECU may have a bug and crashing, or the programming initiation protocol may have changed slightly on newer cars.
Logged

Remember you have to log in if you want to see the file attachments!
Info or questions, please add to the wiki: http://www.nefariousmotorsports.com/wiki
Follow NefMoto developments on Twitter: http://twitter.com/nefmoto
NOTORIOUS VR
Administrator
Hero Member
*****

Karma: +58/-7
Offline Offline

Posts: 1056


« Reply #9 on: November 14, 2010, 05:25:25 PM »

I have the same problem no matter what ECU I try to read (S4 or 1.8T).

The logs were from a 1.8T ECU, I tried two different ECU's on the bench both of which read out perfectly fine using Galletto.  One of the ECU's was chipped, the other stock.
Logged

SCHNELL ENGINEERING BLOG ·  STANDALONE ECUS · TUNING · DYNO · WIRING · PARTS · VEMS
Google Talk: NOTORIOUS.VR
n00bs start here: http://s4wiki.com/wiki/Tuning
iznogoud
Full Member
***

Karma: +13/-0
Offline Offline

Posts: 104

Learning junkie


« Reply #10 on: November 14, 2010, 06:01:13 PM »

Could it be the same problem I see? I pulled a flash from a "chipped" Abox (S4) ECU and a stock CHbox (A4) but I was unable to pull the bin from my stock S4 ECU. (I sent that log to Tony.)
Logged

Audi S4 B5 2000 6sp Cactus Green
Audi A4 B6 Avant 1.8T 2001.5 5sp Santorin Blue
setzi62
Full Member
***

Karma: +142/-0
Offline Offline

Posts: 249


« Reply #11 on: November 15, 2010, 04:35:33 AM »

The flashing software does not wait long enough for switch to programming session complete!

When the ECU switches to the programming session, it sends several times 7F 10 78
(negative response with reason requestCorrectlyReceived-responsePending).
If this is received, the tester has to reset the communication timer P2 and wait for the next message of the ecu. The ecu will repeat the responsePending every ~40ms until the final
response (positive or negative) can be sent.
For older ecus the switching to programming session takes place nearly immeadiately
(maybe 4-5x responsePending). But newer ecus take a long time for the switch to complete!
This can take approx. 4 seconds, so the tester will receive about 100 times the
responsePending before the positiveResponse comes in.
Best is to count the responsePending and stop only in case the count reaches lets say 150.
Logged
ktech
Jr. Member
**

Karma: +0/-0
Offline Offline

Posts: 29


« Reply #12 on: November 16, 2010, 09:29:19 AM »

I was using this tools on an 1.8T that had a protection board installed and there was a checksum calculation fault in the file so the engine lamp turned on efter 200km.
It took 19min to read out the file and did only work after the 5th attemp where I connected the battery charger to the car to keep up the voltage.

Anyway, great tool tony. Dont even need to ground pin 24 to bring it into boot mode.
I was using my Vagcom cable.
Logged
lave3k
Newbie
*

Karma: +4/-1
Offline Offline

Posts: 22


« Reply #13 on: November 17, 2010, 11:37:54 AM »

I tried this on my Golf IV 2002 which is listed in the Wiki and was not able to get past the initial connect as there was an error each time (diconnects because "tester not present").  Tried slow & fast init. as well as different baud rates.

I'm using a Ross Tech KII-usb cable (any issue there?)

Here's the log:
https://docs.google.com/leaf?id=0B2TsAlvPr7REODJlZGQ1MDgtYTlmMy00MDQzLWFjOTMtOGU4NDRmYTQ4OGEw&hl=en&authkey=COWx85oL

Thanks, Dave

Logged
Tony@NefMoto
Administrator
Hero Member
*****

Karma: +132/-4
Offline Offline

Posts: 1389


2001.5 Audi S4 Stage 3


« Reply #14 on: November 17, 2010, 06:55:50 PM »

When the ECU switches to the programming session, it sends several times 7F 10 78
(negative response with reason requestCorrectlyReceived-responsePending).
If this is received, the tester has to reset the communication timer P2 and wait for the next message of the ecu. The ecu will repeat the responsePending every ~40ms until the final
response (positive or negative) can be sent.

This is what the flashing tool already does. NotoriousVR logs show something else happening. The 800BT log shows that the ECU did not send any data for 5 seconds after the last response pending message. The 800BB log shows that an incomplete response pending message was received, but was erased because the whole message was not received within 1 second.

It could be the ECU, it could be the cable, I can't think of an issue with the flashing software that would cause it. There isn't much I can do if the ECU sends no messages for 5 seconds...

Have you tried fast init and slow init? Sorry if I have already asked. I know some VAG ECUs can't start the programming session properly after fast init.
Logged

Remember you have to log in if you want to see the file attachments!
Info or questions, please add to the wiki: http://www.nefariousmotorsports.com/wiki
Follow NefMoto developments on Twitter: http://twitter.com/nefmoto
Pages: [1] 2 3
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Page created in 0.025 seconds with 18 queries. (Pretty URLs adds 0.001s, 0q)