Pages: 1 ... 7 8 [9] 10
Author Topic: Open Source NefMoto ME7 ECU Flasher and Data Logger  (Read 403200 times)
nyet
Administrator
Hero Member
*****

Karma: +617/-183
Offline Offline

Posts: 12389


WWW
« Reply #120 on: August 28, 2026, 11:22:04 AM »

Pushed to master.

I have discarded your eeprom patches because the eeprom support I'm working on replaces the code entirely.

Thank you!
Logged

ME7.1 tuning guide
ECUx Plot
ME7Sum checksum
Trim heatmap tool

Please do not ask me for tunes. I'm here to help people make their own.

Do not PM me technical questions! Please, ask all questions on the forums! Doing so will ensure the next person with the same issue gets the opportunity to learn from your ex
nyet
Administrator
Hero Member
*****

Karma: +617/-183
Offline Offline

Posts: 12389


WWW
« Reply #121 on: August 28, 2026, 10:05:38 PM »

https://github.com/NefMoto/NefMotoOpenSource/releases/tag/v1.9.7.0 is released

CH340, Bootmode, and EEPROM read/write support

Requires .NET 10 runtime.

https://aka.ms/dotnet/10.0/windowsdesktop-runtime-win-x64.exe
Logged

ME7.1 tuning guide
ECUx Plot
ME7Sum checksum
Trim heatmap tool

Please do not ask me for tunes. I'm here to help people make their own.

Do not PM me technical questions! Please, ask all questions on the forums! Doing so will ensure the next person with the same issue gets the opportunity to learn from your ex
Seat Leon Auq
Newbie
*

Karma: +0/-3
Offline Offline

Posts: 5


« Reply #122 on: August 29, 2026, 01:07:14 AM »

Hi nyet (and everyone),

I know this thread is a bit old, but I saw you're still active here so I hope you don't mind me adding my own case — it's very similar to the original poster's issue.

I'm hitting a consistent KWP2000 handshake failure on a Seat Leon Mk1, AUQ 1.8T engine, ME7.5 ECU (part number confirmed via KWP1281: 06A906032HN, SW index 0001).

Setup: NefMoto v1.9.6.2, genuine FTDI FT232R KKL cable (confirmed by Windows as FT232R USB UART), COM3, VCP driver CDM v2.12.36.20 WHQL.

Symptom, 100% reproducible over dozens of attempts: slow init sync byte (0x55) and both key bytes are received correctly, NefMoto sends the correct complement byte back, but the ECU's own address-complement byte is never received (read=0, expected 0xEE/0xFE).

Already tried with no change in behavior: FTDI driver reinstall, latency timer 1ms, slow init gap at 1500/2600/3000ms, KWP2000 settings reset to defaults, battery disconnect, fuse 11 alone and fuses 11+15 together (with both pulled, NefMoto doesn't even start a connection attempt), aftermarket radio removed, Serial Enumerator/RTS-on-close/Selective Suspend toggled, slow init baud corrected to 38400 per the getting-started guide, and the Slow 5-baud offset tried at 0 , 10 ,20 and 30.

Key finding: using VCDS-Lite 1.2 on the exact same KKL cable and COM port, I successfully connected via KWP2000 (Control Module Finder) to Address 03 (ABS Brakes, Controller 1C0 907 379 K) with full data and coding read back, and also read the Engine module's info via KWP1281. So the K-line wiring, the cable, and KWP2000 itself all demonstrably work on this car over this exact interface — the failure seems isolated specifically to NefMoto's handshake with this Engine/ME7.5 controller at address 01.

Does that narrow it down at all? Is there anything ME7.5-specific about the address-complement step that could behave differently from a generic KWP2000 controller like the ABS module? Happy to post the full LoggerLog.txt excerpt if it would help.

I'll also test v1.9.7.0 and report back with results.

Thanks in advance for any pointers.
« Last Edit: August 29, 2026, 05:01:43 AM by Seat Leon Auq » Logged
_nameless
Hero Member
*****

Karma: +374/-3456
Offline Offline

Posts: 3027



« Reply #123 on: August 29, 2026, 05:40:34 AM »

Hi nyet (and everyone),

I know this thread is a bit old, but I saw you're still active here so I hope you don't mind me adding my own case — it's very similar to the original poster's issue.

I'm hitting a consistent KWP2000 handshake failure on a Seat Leon Mk1, AUQ 1.8T engine, ME7.5 ECU (part number confirmed via KWP1281: 06A906032HN, SW index 0001).

Setup: NefMoto v1.9.6.2, genuine FTDI FT232R KKL cable (confirmed by Windows as FT232R USB UART), COM3, VCP driver CDM v2.12.36.20 WHQL.

Symptom, 100% reproducible over dozens of attempts: slow init sync byte (0x55) and both key bytes are received correctly, NefMoto sends the correct complement byte back, but the ECU's own address-complement byte is never received (read=0, expected 0xEE/0xFE).

Already tried with no change in behavior: FTDI driver reinstall, latency timer 1ms, slow init gap at 1500/2600/3000ms, KWP2000 settings reset to defaults, battery disconnect, fuse 11 alone and fuses 11+15 together (with both pulled, NefMoto doesn't even start a connection attempt), aftermarket radio removed, Serial Enumerator/RTS-on-close/Selective Suspend toggled, slow init baud corrected to 38400 per the getting-started guide, and the Slow 5-baud offset tried at 0 , 10 ,20 and 30.

Key finding: using VCDS-Lite 1.2 on the exact same KKL cable and COM port, I successfully connected via KWP2000 (Control Module Finder) to Address 03 (ABS Brakes, Controller 1C0 907 379 K) with full data and coding read back, and also read the Engine module's info via KWP1281. So the K-line wiring, the cable, and KWP2000 itself all demonstrably work on this car over this exact interface — the failure seems isolated specifically to NefMoto's handshake with this Engine/ME7.5 controller at address 01.

Does that narrow it down at all? Is there anything ME7.5-specific about the address-complement step that could behave differently from a generic KWP2000 controller like the ABS module? Happy to post the full LoggerLog.txt excerpt if it would help.

I'll also test v1.9.7.0 and report back with results.

Thanks in advance for any pointers.

The FTDI approach makes the PC responsible for bit-banging a 200 ms-per-bit sequence in userspace. Every single successful attempt had a bit offset under a millisecond. Every failure had ten to thirty milliseconds. Nothing sits in between. This is 100% one of the reasons I hate these serial cables and made my own flasher that uses a J2534 JS
« Last Edit: August 29, 2026, 05:43:32 AM by _nameless » Logged

UGT Performance | ME7.5 calibration editor, flasher & logger
Audi A4 B6 1.8T (early + late) · AWV / AWP / AWW
· VR6 in beta and 07K in progress
BMW N54, N55, F & G Series, ZF8 calibration editors
https://UGTuner.xyz/
https://github.com/ugtuner05-sys
nyet
Administrator
Hero Member
*****

Karma: +617/-183
Offline Offline

Posts: 12389


WWW
« Reply #124 on: August 29, 2026, 08:30:14 AM »

as nameless said, it is a limit of dumb cables. The slow init sequence has to be bit banged out via rough software timeout.

Fast init solves this problem (mostly) but doesn't work on ME7.5

I can offer to TRY to get it working if you send me an ECU. I can attempt to crossflash my 4B0906018CH but i'm skeptical it will work.

Finally, you can always use bootmode Sad
Logged

ME7.1 tuning guide
ECUx Plot
ME7Sum checksum
Trim heatmap tool

Please do not ask me for tunes. I'm here to help people make their own.

Do not PM me technical questions! Please, ask all questions on the forums! Doing so will ensure the next person with the same issue gets the opportunity to learn from your ex
nyet
Administrator
Hero Member
*****

Karma: +617/-183
Offline Offline

Posts: 12389


WWW
« Reply #125 on: August 29, 2026, 09:19:51 AM »

Looks like it is not a slow init problem but an actual handshake issue.

investigating, but it is going to be hard to test to make sure it works. Would you be willing to test releases if you can't send me an ECU
Logged

ME7.1 tuning guide
ECUx Plot
ME7Sum checksum
Trim heatmap tool

Please do not ask me for tunes. I'm here to help people make their own.

Do not PM me technical questions! Please, ask all questions on the forums! Doing so will ensure the next person with the same issue gets the opportunity to learn from your ex
nyet
Administrator
Hero Member
*****

Karma: +617/-183
Offline Offline

Posts: 12389


WWW
« Reply #126 on: August 29, 2026, 09:28:54 AM »

https://github.com/NefMoto/NefMotoOpenSource/issues/95
Logged

ME7.1 tuning guide
ECUx Plot
ME7Sum checksum
Trim heatmap tool

Please do not ask me for tunes. I'm here to help people make their own.

Do not PM me technical questions! Please, ask all questions on the forums! Doing so will ensure the next person with the same issue gets the opportunity to learn from your ex
_nameless
Hero Member
*****

Karma: +374/-3456
Offline Offline

Posts: 3027



« Reply #127 on: August 29, 2026, 11:37:38 AM »

as nameless said, it is a limit of dumb cables. The slow init sequence has to be bit banged out via rough software timeout.

Fast init solves this problem (mostly) but doesn't work on ME7.5

I can offer to TRY to get it working if you send me an ECU. I can attempt to crossflash my 4B0906018CH but i'm skeptical it will work.

Finally, you can always use bootmode Sad
It will cross flash without a problem.
Logged

UGT Performance | ME7.5 calibration editor, flasher & logger
Audi A4 B6 1.8T (early + late) · AWV / AWP / AWW
· VR6 in beta and 07K in progress
BMW N54, N55, F & G Series, ZF8 calibration editors
https://UGTuner.xyz/
https://github.com/ugtuner05-sys
Seat Leon Auq
Newbie
*

Karma: +0/-3
Offline Offline

Posts: 5


« Reply #128 on: August 29, 2026, 12:20:09 PM »

Looks like it is not a slow init problem but an actual handshake issue.

investigating, but it is going to be hard to test to make sure it works. Would you be willing to test releases if you can't send me an ECU

Thanks a lot for looking into this and opening #95 — really appreciate it.

Yes, absolutely willing to test pre-release builds, whenever you have something ready. Happy to run whatever version/build you send, report back logs, screenshots, whatever's useful.

In the meantime I'm also doing a clean Windows reinstall on my end and testing on a second laptop, just to rule out anything specific to my current setup on my side. Will report back if any of that turns up something relevant, but either way I'm around and glad to help however I can to get this sorted — for me and for the next person who hits the same wall.
Logged
nyet
Administrator
Hero Member
*****

Karma: +617/-183
Offline Offline

Posts: 12389


WWW
« Reply #129 on: August 29, 2026, 12:39:33 PM »

It will cross flash without a problem.

Will i have to immo off?
Logged

ME7.1 tuning guide
ECUx Plot
ME7Sum checksum
Trim heatmap tool

Please do not ask me for tunes. I'm here to help people make their own.

Do not PM me technical questions! Please, ask all questions on the forums! Doing so will ensure the next person with the same issue gets the opportunity to learn from your ex
_nameless
Hero Member
*****

Karma: +374/-3456
Offline Offline

Posts: 3027



« Reply #130 on: August 29, 2026, 01:11:16 PM »

Will i have to immo off?
For flashing on the bench? I think so, I always have.
Logged

UGT Performance | ME7.5 calibration editor, flasher & logger
Audi A4 B6 1.8T (early + late) · AWV / AWP / AWW
· VR6 in beta and 07K in progress
BMW N54, N55, F & G Series, ZF8 calibration editors
https://UGTuner.xyz/
https://github.com/ugtuner05-sys
nyet
Administrator
Hero Member
*****

Karma: +617/-183
Offline Offline

Posts: 12389


WWW
« Reply #131 on: August 29, 2026, 01:14:29 PM »

Thanks a lot for looking into this and opening #95 — really appreciate it.

Yes, absolutely willing to test pre-release builds, whenever you have something ready. Happy to run whatever version/build you send, report back logs, screenshots, whatever's useful.

In the meantime I'm also doing a clean Windows reinstall on my end and testing on a second laptop, just to rule out anything specific to my current setup on my side. Will report back if any of that turns up something relevant, but either way I'm around and glad to help however I can to get this sorted — for me and for the next person who hits the same wall.

I have crossflashed to 06A906032HN and it works with the old slow init .. so not sure what is going on.

Can you attach an ORI for me? I am using 0001 maybe you have a different revision? Seems doubtful

Also VCDS-Lite 1.2 on the same KKL/COM: KWP2000 to ABS `0x03` (`1C0 907 379 K`) works; engine info was **KWP1281**. Cable and in-car KWP2000 are fine. That is not KWP2000 to this ME7 at `0x01`.

NefMoto already gets KWP1281 ident on the engine. It fails on the following KWP2000 slow init (`EF 8F` / tester `0x70` / complement `read=0`).
« Last Edit: August 29, 2026, 01:55:06 PM by nyet » Logged

ME7.1 tuning guide
ECUx Plot
ME7Sum checksum
Trim heatmap tool

Please do not ask me for tunes. I'm here to help people make their own.

Do not PM me technical questions! Please, ask all questions on the forums! Doing so will ensure the next person with the same issue gets the opportunity to learn from your ex
Seat Leon Auq
Newbie
*

Karma: +0/-3
Offline Offline

Posts: 5


« Reply #132 on: August 29, 2026, 03:17:16 PM »

I have crossflashed to 06A906032HN and it works with the old slow init .. so not sure what is going on.

Can you attach an ORI for me? I am using 0001 maybe you have a different revision? Seems doubtful

Also VCDS-Lite 1.2 on the same KKL/COM: KWP2000 to ABS `0x03` (`1C0 907 379 K`) works; engine info was **KWP1281**. Cable and in-car KWP2000 are fine. That is not KWP2000 to this ME7 at `0x01`.

NefMoto already gets KWP1281 ident on the engine. It fails on the following KWP2000 slow init (`EF 8F` / tester `0x70` / complement `read=0`).

Good point on VCDS-Lite — you're right, that was KWP2000 to the ABS (0x03), not to the engine. On the engine (0x01), VCDS-Lite also only gets KWP1281, same as NefMoto always has. So neither tool has ever gotten a full KWP2000 session specifically with this ME7 before now.

Tested v1.9.7.1-rc0: it does now reach Connected — Slow init succeeded → Switching to KWP2000 session → Connected — which never happened before (old version always failed at the address complement step, 0 bytes, expected 0xEE). But it only stays connected for a few seconds before "Disconnecting because no response was received for the Tester Present message" (3 failed attempts). So it's not staying up long enough for a Full Read Flash.

On the ORI: I don't have another tool that can pull a full flash read (VCDS-Lite doesn't do that, and I don't have MPPS or anything similar). So I'm stuck getting you that ORI unless it's possible another way. Is there a smaller/faster read that might fit inside that few-second window, or a way to get what you need over KWP1281 instead since that already works reliably? Or should I just wait for a build that fixes the TesterPresent issue and try the full read again then? Whatever's most useful for you — happy to keep testing.
Logged
_nameless
Hero Member
*****

Karma: +374/-3456
Offline Offline

Posts: 3027



« Reply #133 on: August 29, 2026, 03:18:37 PM »

Logs are from v1.9.6.2 Might not be of any use at this point but I did the same thing and sniffed the k wire while flashing. Full read and write. I played around with the init address to see if it would do fast at 11 by chance but yeah no
« Last Edit: August 29, 2026, 03:33:27 PM by _nameless » Logged

UGT Performance | ME7.5 calibration editor, flasher & logger
Audi A4 B6 1.8T (early + late) · AWV / AWP / AWW
· VR6 in beta and 07K in progress
BMW N54, N55, F & G Series, ZF8 calibration editors
https://UGTuner.xyz/
https://github.com/ugtuner05-sys
_nameless
Hero Member
*****

Karma: +374/-3456
Offline Offline

Posts: 3027



« Reply #134 on: August 29, 2026, 03:55:17 PM »

Good point on VCDS-Lite — you're right, that was KWP2000 to the ABS (0x03), not to the engine. On the engine (0x01), VCDS-Lite also only gets KWP1281, same as NefMoto always has. So neither tool has ever gotten a full KWP2000 session specifically with this ME7 before now.

Tested v1.9.7.1-rc0: it does now reach Connected — Slow init succeeded → Switching to KWP2000 session → Connected — which never happened before (old version always failed at the address complement step, 0 bytes, expected 0xEE). But it only stays connected for a few seconds before "Disconnecting because no response was received for the Tester Present message" (3 failed attempts). So it's not staying up long enough for a Full Read Flash.

On the ORI: I don't have another tool that can pull a full flash read (VCDS-Lite doesn't do that, and I don't have MPPS or anything similar). So I'm stuck getting you that ORI unless it's possible another way. Is there a smaller/faster read that might fit inside that few-second window, or a way to get what you need over KWP1281 instead since that already works reliably? Or should I just wait for a build that fixes the TesterPresent issue and try the full read again then? Whatever's most useful for you — happy to keep testing.

Try reading with address 11. Also, if you havent, open the ecu and verify its the stock EPROM chip and has not been swapped with some kind of riser
Logged

UGT Performance | ME7.5 calibration editor, flasher & logger
Audi A4 B6 1.8T (early + late) · AWV / AWP / AWW
· VR6 in beta and 07K in progress
BMW N54, N55, F & G Series, ZF8 calibration editors
https://UGTuner.xyz/
https://github.com/ugtuner05-sys
Pages: 1 ... 7 8 [9] 10
  Print  
 
Jump to:  

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