PowerPCM_Flasher: my tool for E38 and E67

Programs / Tools / Scripts
Posts: 114
Joined: Thu Feb 13, 2020 11:32 pm

Re: PowerPCM_Flasher: my tool for E38 and E67

Postby ironduke » Fri Mar 06, 2020 5:17 am

Sorry, I know your looking for feedback from others, lol..

Depending on what OS you have with yours, you may want to set this up to be able to write the OS and calibration so you can upgrade/run a different OS if needed..

It has been working good for me as long as I'm wired, there is an issue with elm327, unhandled exemption.. Don't need it, but I tried it just because I wanted to..

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at PowerPCM_Flasher.Hauptfenster.comboBoxToolArg1_SelectedIndexChanged(Object sender, EventArgs e)
at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ComboBox.WmReflectCommand(Message& m)
at System.Windows.Forms.ComboBox.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.9148 (WinRelRS6.050727-9100)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
PowerPCM_Flasher
Assembly Version: 1.0.7365.25474
Win32 Version: 0.0.0.6
CodeBase: file:///C:/Users/Owner/Documents/DIY%20ECM%20tuning/3.5.2020/PowerPCM_Flasher_0006/PowerPCM_Flasher_0006.exe
----------------------------------------
msvcm80
Assembly Version: 8.0.50727.9659
Win32 Version: 8.00.50727.9659
CodeBase: file:///C:/WINDOWS/WinSxS/x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.9659_none_d08cfd96442b25cc/msvcm80.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.9136 (WinRelRS6.050727-9100)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.9147 (WinRelRS6.050727-9100)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.9136 (WinRelRS6.050727-9100)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.9136 (WinRelRS6.050727-9100)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Posts: 46
Joined: Wed Feb 19, 2020 9:58 pm

Re: PowerPCM_Flasher: my tool for E38 and E67

Postby daniel2345 » Fri Mar 06, 2020 6:26 am

Any feedback from anyone is very welcome.

Thanks.


Ill check that ELM issue, im working on it anyways :)

Posts: 114
Joined: Thu Feb 13, 2020 11:32 pm

Re: PowerPCM_Flasher: my tool for E38 and E67

Postby ironduke » Fri Mar 06, 2020 6:34 am

Forgot to mention.. I have my elm on com2.. If I leave it on com1 I don't get the error.. It happens as soon as I select com2 or com3, or com4..
If it's easy enough a LOT of people have used up the first 4 com ports.. I had to clear up some old no longer being used to make some room.. lol..

Posts: 46
Joined: Wed Feb 19, 2020 9:58 pm

Re: PowerPCM_Flasher: my tool for E38 and E67

Postby daniel2345 » Mon Mar 09, 2020 7:47 am

Ok, found your Error.

Will be fixed in next Version. You can leave the Dropdown Box as it is and enter any "COMxx" you want in the box text field.
For connect the prog will read the string and tries to connect with the extracted Number.


I made some progress with PassThru, changed the flow control from my prog to the used PassThru Device.
With that i was able to use the Volvo Dice without any "Hacks" in ISO15765 mode.
So i dropped Dice native mode and integrated it in PassThru.

Not very relevant for you as users, but only one PassThru Lib has to be maintained now.
Less work for Bugfixing and enhancements. :)

Relevant may be that readout time is now 100s (instead 120s before), flash time is only 1..2s faster.


On Elm327 side i also made some progress. Finally it sends my flashloader to the E38, but it is still buggy.
Sometimes those stupid ">?" answers instead of something useful is in the buffers.
I stopped for today before hitting the keyboard with my head :D
But I will find out and get it working.

Hate it, when machines dont do what they are supposed to do: obey my will :D

Posts: 203
Joined: Sun Apr 10, 2016 9:20 pm

Re: PowerPCM_Flasher: my tool for E38 and E67

Postby kur4o » Tue Mar 10, 2020 5:24 am

I would like to test the elm part but don`t have a pcm. If you add some test mode, I can test sending messages and logging them with another tool. At least you will know that sending works.

I suppose you are using an elm device with stn chip. If it is, you can use some extended command set not available for the average user.

Posts: 46
Joined: Wed Feb 19, 2020 9:58 pm

Re: PowerPCM_Flasher: my tool for E38 and E67

Postby daniel2345 » Wed Mar 11, 2020 2:14 am

Thanks for your offer.

Will add a testmode then.
Currently im stuck with the Elm327 just not sending long messages.
Don't know why, need to gather some motivation for it :)


Honestly i don't know what is inside the Cable. I bought it 15 Years ago - probably no STN Chip...

Posts: 203
Joined: Sun Apr 10, 2016 9:20 pm

Re: PowerPCM_Flasher: my tool for E38 and E67

Postby kur4o » Wed Mar 11, 2020 2:33 am

If it is not stn than your stuck with 11 bytes max 20 bytes buffer.

Stn can send and receive upto 3k with the extended command set and 192 bytes with standard command set.

Posts: 151
Joined: Wed Jul 05, 2017 8:30 am
Location: TX USA

Re: PowerPCM_Flasher: my tool for E38 and E67

Postby MudDuck514 » Wed Mar 11, 2020 3:14 am

Hi all;

Daniel,
PCMHammer will tell you if it has an STN chip inside - if not it will NOT connect!

Mike

Site Admin
User avatar
Posts: 6279
Joined: Sat Feb 28, 2009 8:34 pm

Re: PowerPCM_Flasher: my tool for E38 and E67

Postby antus » Wed Mar 11, 2020 7:36 am

Yep the original elm chipset is not capable. Stn cant always do 3k, it depends which model. They have different amounts of ram and buffer size.
Have you read the FAQ? For lots of information and links to significant threads see here: viewtopic.php?f=7&t=1396

Posts: 22
Joined: Thu Oct 25, 2018 8:06 am

Re: PowerPCM_Flasher: my tool for E38 and E67

Postby RoninDusette » Sat Mar 14, 2020 3:41 pm

Couple questions. Any possible support for the e78 yet? I'm having a hell of a time finding things besides hpt and efilive that support it. Also, I have all sorts of cables and connectors. For j2534 and uds, is part of the secret to communicating with them changing up the baud and stuff like that? For instance I know with a serial device I can read the ecu via 27 (I know my particular key) with a baud of 11520 to the serial device and 500000 from device to CAN. What settings and/or hardware do I need to talk via passthru? Changing flow control and baud rate? Parity? Links to any good juicy info would be sweet. I feel like I've read everything about this stuff ok the web over the last year or so, and perhaps I'm stuck in a rut and cannot find other things to read. Haha.

One more question how are you guys finding out what works to determine the seed/key algos? I mean, I have at least a dozen tools with dlls that are named like they do this (seedkey.dll etc), but I am unsure of 1) how to use a dll in a programmatic way (I'm and engineer but never mess around with any Microsoft stuff) and 2) how would I essentially watch how it communicates with its software when being used. I looked a little into using python 3 ctypes as it may fit the bill but I just haven't really dug into it yet. Thanks

PreviousNext

Return to Tools

Who is online

Users browsing this forum: No registered users and 1 guest