Tony@NefMoto
Administrator
Hero Member
Karma: +132/-4
Offline
Posts: 1389
2001.5 Audi S4 Stage 3
|
|
« Reply #15 on: July 21, 2010, 01:58:41 PM »
|
|
|
All I can think is that Lemmiwinks communicates at a slow enough baud rate that you can see the light blink when data is transmitted, or some part of that cable has been wired differently.
|
|
|
Logged
|
|
|
|
Tony@NefMoto
Administrator
Hero Member
Karma: +132/-4
Offline
Posts: 1389
2001.5 Audi S4 Stage 3
|
|
« Reply #16 on: July 21, 2010, 10:08:51 PM »
|
|
|
Just posted another minor update to version 1.4.0.3.
This change switches the slow init connection method to a more reliable technique.
Please see the first post for the attached installer, and please uninstall any previous versions before installing the new version.
|
|
|
Logged
|
|
|
|
|
Tony@NefMoto
Administrator
Hero Member
Karma: +132/-4
Offline
Posts: 1389
2001.5 Audi S4 Stage 3
|
|
« Reply #18 on: July 22, 2010, 09:21:17 AM »
|
|
|
The read ECU info seems successful now with my ross-tech cable, however it either fails, or the app hangs on attempt 2 when I try to read the flash. I let it sit for about 10 minutes, and then the app unfroze and attempted more connections when I cycled the ignition. Attached logs I'm glad you can get farther with your cable now. In the first log I see what looks like a 5 minute hang when trying to connect. That is most likely a bug on my part, but most likely the correct behaviour would have been to not connect. EDIT: It appears as though the connection thread ran and connected, but then the send/receive communication thread never started. Very strange, especially because this doesn't appear to be happening consistently. I will add some checks to detect this happening in the future. Currently the program will not allow you to close it while an operation is in progress. This is to prevent you from closing the program while flashing. The log shows a lot of messages with invalid checksums, or messages that time out before they complete. My only guess is that there is something strange happening with your cable, or on your computer. Do you have an anti-virus software running that could be interfering, or any background software? I am hoping your cable is the problem and the VAG 409.1 cable you ordered will fix the problem. I will try to contact Ross-Tech to see if they might know anything about why one of their old cables is not working. At the moment, you are the only user reporting problems. Unless there are lots of silent unhappy users out there. So if you are an unhappy user, and the NefMoto software does not work for you, please let me know so I can fix it!
|
|
« Last Edit: July 22, 2010, 10:48:13 AM by Tony@NefMoto »
|
Logged
|
|
|
|
Jason
Hero Member
Karma: +38/-0
Offline
Posts: 500
Breaks everything!
|
|
« Reply #19 on: July 22, 2010, 10:44:18 AM »
|
|
|
Yeah, when I say "hang" I really should have said "pegs the CPU at 100% utilization". The cable I have is I believe a rev C with the 3.01 firmware on it. I am going to bring another laptop home with just a base W7 x64 install on it just for grins, but there's no A/V software or anything out of the ordinary on this machine.
|
|
|
Logged
|
|
|
|
Tony@NefMoto
Administrator
Hero Member
Karma: +132/-4
Offline
Posts: 1389
2001.5 Audi S4 Stage 3
|
|
« Reply #20 on: July 22, 2010, 10:54:19 AM »
|
|
|
The 100% CPU utilization is the connect thread continually checking to see if the send/receive thread has successfully setup the connection after the slow init finished. The connect thread sleeps after each check, so it shouldn't cause an issue, but maybe it is on some processors. Maybe I need a longer sleep in this case.
Do you know how many cores your computer processor has? Maybe I have a issue with running on single core machines.
|
|
|
Logged
|
|
|
|
Jason
Hero Member
Karma: +38/-0
Offline
Posts: 500
Breaks everything!
|
|
« Reply #21 on: July 22, 2010, 11:15:58 AM »
|
|
|
The 100% CPU utilization is the connect thread continually checking to see if the send/receive thread has successfully setup the connection after the slow init finished. The connect thread sleeps after each check, so it shouldn't cause an issue, but maybe it is on some processors. Maybe I need a longer sleep in this case.
Do you know how many cores your computer processor has? Maybe I have a issue with running on single core machines.
Yeah, it's a quad core. The machine I'm bringing home is only a dual core. edit: I suppose I could try setting the CPU affinity for the process to a single core...
|
|
« Last Edit: July 22, 2010, 11:19:29 AM by Jason »
|
Logged
|
|
|
|
Tony@NefMoto
Administrator
Hero Member
Karma: +132/-4
Offline
Posts: 1389
2001.5 Audi S4 Stage 3
|
|
« Reply #22 on: July 22, 2010, 11:33:09 AM »
|
|
|
Tonight I am going to either combine my two threads into one thread, or drop the busy loop with sleeps and replace it with some thread waiting events.
Either way, I should be able to get this issue fixed in the next couple of days.
|
|
|
Logged
|
|
|
|
Jason
Hero Member
Karma: +38/-0
Offline
Posts: 500
Breaks everything!
|
|
« Reply #23 on: July 22, 2010, 06:05:55 PM »
|
|
|
Got my ebay cable today... hooked it up... and now I'm seeing "ServiceNotSupported" in the log... It seems like it is working and that my ECU is not cooperating? Is it possible the existing flash is blocking this?
|
|
|
Logged
|
|
|
|
Tony@NefMoto
Administrator
Hero Member
Karma: +132/-4
Offline
Posts: 1389
2001.5 Audi S4 Stage 3
|
|
« Reply #24 on: July 22, 2010, 06:09:52 PM »
|
|
|
Glad the cheap eBay cable works. Hopefully you can still test your Ross-Tech cable for me once I rewrite a bit more of the connection code. As for "Service Not Supported", is this ECU stock or has it been flashed/chipped? I have seen some tuners disable the RequestUpload message handler, which prevents reading the ECU using the standard methods.
|
|
« Last Edit: July 22, 2010, 06:19:11 PM by Tony@NefMoto »
|
Logged
|
|
|
|
Jason
Hero Member
Karma: +38/-0
Offline
Posts: 500
Breaks everything!
|
|
« Reply #25 on: July 22, 2010, 06:19:23 PM »
|
|
|
Glad the cheap eBay cables works. Hopefully you can still test your Ross-Tech cable for me once I rewrite a bit more of the connection code. As for "Service Not Supported", is this ECU stock or has it been flashed/chipped? I have seen some tuners disable the RequestUpload message handler, which prevents reading the ECU using the standard methods. I will be glad to help test the Ross-Tech cable. This ECU is flashed. I really intend to completely start over with the tune, but would like to keep the flash dump in case I ever need to switch back. I have 29F800BB that has a flash on it as well, but that seems like a lot of work to swap the chips when I should be trying to find another ECU to buy or going through boxes in the garage to find my spares :p
|
|
|
Logged
|
|
|
|
Tony@NefMoto
Administrator
Hero Member
Karma: +132/-4
Offline
Posts: 1389
2001.5 Audi S4 Stage 3
|
|
« Reply #26 on: July 22, 2010, 06:33:48 PM »
|
|
|
This ECU is flashed. I really intend to completely start over with the tune, but would like to keep the flash dump in case I ever need to switch back. I have 29F800BB that has a flash on it as well, but that seems like a lot of work to swap the chips when I should be trying to find another ECU to buy or going through boxes in the garage to find my spares :p
Before I wrote the ECU reading code, I had some written some code to read the ECU without using any of the standard protocols. I haven't release it because it may not work on many ECUs, because it has to use some hard coded addresses for doing it's tricks. Maybe I will look at it again....
|
|
|
Logged
|
|
|
|
|
torch
Newbie
Karma: +2/-0
Offline
Posts: 5
|
|
« Reply #28 on: July 23, 2010, 08:42:49 AM »
|
|
|
It looks like the HS ECU on a VW 1.8t reads just fine. This also happens to be an APR chipped ECU (not that it matters as they protected the flash area). HS.bin was dumped from Ton'y flasher this morning (in about 3m 41s!) and the 06A906032HS was dumped from a KWP2000+.
|
|
|
Logged
|
|
|
|
Tony@NefMoto
Administrator
Hero Member
Karma: +132/-4
Offline
Posts: 1389
2001.5 Audi S4 Stage 3
|
|
« Reply #29 on: July 23, 2010, 11:16:01 AM »
|
|
|
It looks like the HS ECU on a VW 1.8t reads just fine. This also happens to be an APR chipped ECU (not that it matters as they protected the flash area). HS.bin was dumped from Ton'y flasher this morning (in about 3m 41s!) and the 06A906032HS was dumped from a KWP2000+.
Awesome. Thanks for letting me know it worked.
|
|
|
Logged
|
|
|
|
|