Antusprom - tunerpro realtime via ALDL

Programs / Tools / Scripts
User avatar
antus
Site Admin
Posts: 8253
Joined: Sat Feb 28, 2009 8:34 pm
cars: TX Gemini 2L Twincam
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B
Contact:

Antusprom - tunerpro realtime via ALDL

Post by antus »

Foreword: This software is now obsolete but remains here for archival purposes. OSEPlugin for Tunerpro 5 is a much improved way of doing it!

Antusprom is a small program that emulates a small subset of the moates autoprom[1] functionality. That is, chip read and write. This is enough to give tunerproRT something to connect to, and the ability to read and write from the ecu provided it has the right hardware and software mods.

The current version has not yet been widely tested but works for me [tm].

Edit from VL400: Have attached a copy of antusprom 0.7 to this post

You only need the exe to use it but the zip file contains full source which would be useful to anyone wished to extend the interface, or adapt it, say to mode 4 write for montecarslows nvram mod.

Currently it uses the mode 0x0B 8 byte write command present in kalmaker[2] street pro 3.

Future:
We are developing a free normally aspirated bin with write, which should be available here soon. The one wire version at the bottom of this thread will work for a 1 wire interface to compatible code, and the source can be modified to use mode 4 write for those using code based on montecarslows nvsram version. A gui is also in the works.

[1] autoprom is a trademark of moates.net
[2] kalmaker is a trademark of kal software
Attachments
antusprom.zip
(28.86 KiB) Downloaded 530 times
Have you read the FAQ? For lots of information and links to significant threads see here: http://pcmhacking.net/forums/viewtopic.php?f=7&t=1396
User avatar
antus
Site Admin
Posts: 8253
Joined: Sat Feb 28, 2009 8:34 pm
cars: TX Gemini 2L Twincam
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B
Contact:

Re: Antusprom - tunerpro realtime via ALDL

Post by antus »

In order to use it, you will need a couple of virtual com port pairs, as well either a built in serial port, or a usb -> serial converter that supports the non-standard 8192 baud rate required.

prolific chipset usb -> serial adaptors are known NOT to work (and these are the cheapest most common type) and FTDI chipset devices are known to be good. You can check what you have by right clicking on the com port and choosing properites. If it says prolific you are probably out of luck. If it says FTDI you are good to go.
comport type.jpg
comport type.jpg (36.39 KiB) Viewed 11071 times
All these com ports should be numbered between 1 and 9. You will need to use device manager, check your com ports and make sure you have enough space for 4 new ones on top of the one for the ecu connection within this range. If you do not you can right click on any of the extra ports, click advanced and change the port number to 10 or above. Once you have sorted this out reboot.
Have you read the FAQ? For lots of information and links to significant threads see here: http://pcmhacking.net/forums/viewtopic.php?f=7&t=1396
User avatar
antus
Site Admin
Posts: 8253
Joined: Sat Feb 28, 2009 8:34 pm
cars: TX Gemini 2L Twincam
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B
Contact:

Re: Antusprom - tunerpro realtime via ALDL

Post by antus »

Next up download com0com. It can be found on sourceforge, and the download is here:
http://downloads.sourceforge.net/com0co ... 86-fre.zip

Install the program (you might need microsoft .net v2 available from microsoft.com). Then use it to set up two comport pairs, and number them between 1-9 where you can fit them. I used COM5 COM6 COM7 COM8.
com0com.jpg
com0com.jpg (40.05 KiB) Viewed 11076 times
Then check back in device manager, you should see real com ports under Ports (COM&LPT) and virtual ports under the new category com0com - serial port emulators. My system looks like this:
device manager.jpg
device manager.jpg (62.84 KiB) Viewed 11075 times
Have you read the FAQ? For lots of information and links to significant threads see here: http://pcmhacking.net/forums/viewtopic.php?f=7&t=1396
User avatar
antus
Site Admin
Posts: 8253
Joined: Sat Feb 28, 2009 8:34 pm
cars: TX Gemini 2L Twincam
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B
Contact:

Re: Antusprom - tunerpro realtime via ALDL

Post by antus »

Then to run it, the easyest way is to dump it in c:\ and run the program with the the arguments of firstly the com port your ECU is on, secondly the first com port of the first virtual pair in and lastly the first com port of the 2nd virtual pair.
running.jpg
running.jpg (19.54 KiB) Viewed 11058 times
After you hit enter it should connect to your ecu and read a copy of the nvram in to its own buffer.

You can then fire up tunerproRT and click find hardware. it should detect antusprom on the second com port of the first virtual pair, and beep green and say "autoprom v2.5a detected". You can down click download to suck the ecus data in to tuner pro, or load a bin and click upload to send it to the ecu. After enabling realtime, realtime changes can also be made.

You can also go to ALDL logging and choose to use a max232/2transistor cable and pick the 2nd comport of the 2nd pair. This will work at the same time as editing for true realtime. Alternatively you can run scannerpro and connect it to this second port and use both programs at once.

Good luck! :)
Have you read the FAQ? For lots of information and links to significant threads see here: http://pcmhacking.net/forums/viewtopic.php?f=7&t=1396
User avatar
VL400
Posts: 4991
Joined: Sun Mar 01, 2009 2:54 pm
cars: VL Calais and Toyota Landcruiser. Plus some toys :)
Location: Perth, WA
Contact:

Re: Antusprom - tunerpro realtime via ALDL

Post by VL400 »

The revolution is here! Realtime tuning without the emulator box on the passenger floor. Massive effort in getting this to work :D
GONZO
Posts: 55
Joined: Sun Mar 01, 2009 8:53 pm

Re: Antusprom - tunerpro realtime via ALDL

Post by GONZO »

antus wrote:In order to use it, you will need a couple of virtual com port pairs, as well either a built in serial port, or a usb -> serial converter that supports the non-standard 8192 baud rate required.

prolific chipset usb -> serial adaptors are known NOT to work (and these are the cheapest most common type) and FTDI chipset devices are known to be good. You can check what you have by right clicking on the com port and choosing properites. If it says prolific you are probably out of luck. If it says FTDI you are good to go.
Sorry, a lame question but,
Where did you get you usb->serial converter?
User avatar
antus
Site Admin
Posts: 8253
Joined: Sat Feb 28, 2009 8:34 pm
cars: TX Gemini 2L Twincam
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B
Contact:

Re: Antusprom - tunerpro realtime via ALDL

Post by antus »

Ebay, looks like this one. Model US111, search for FTDI and check the stores at the bottom.

http://cgi.ebay.com.au/ws/eBayISAPI.dll ... 0313001529
Have you read the FAQ? For lots of information and links to significant threads see here: http://pcmhacking.net/forums/viewtopic.php?f=7&t=1396
User avatar
Apples
Posts: 151
Joined: Sun Mar 01, 2009 9:57 am
Location: Darwin, NT
Contact:

Re: Antusprom - tunerpro realtime via ALDL

Post by Apples »

Just setup my new laptop and US111 USB serial port adaptor but run out of com ports below com 10
I don't want to turn off stuff to get com ports below 10 if I can help it.
Can or is there a way to run Antusprom using com 10.

I have it working on my old Toshiba which is big for now.
Don't make excuses. Make more horsepower.
User avatar
antus
Site Admin
Posts: 8253
Joined: Sat Feb 28, 2009 8:34 pm
cars: TX Gemini 2L Twincam
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B
Contact:

Re: Antusprom - tunerpro realtime via ALDL

Post by antus »

well, yes there is. The limitation is actually in tunerpro and scannerpro. You can put the ecu on com10 or above, and antusprom's side of the virtual port(s) can be above 10 as well. I just said below 10 for all to keep it simple :)

You can also move existing ports by going to them in the device manager, and clicking advanced on them, and moving them. I had to move about 4 bluetooth virtual com ports out the way on my machine. Hopefully when scanner pro 5 comes out it'll try more ports!

Good to hear you have it working :)
Have you read the FAQ? For lots of information and links to significant threads see here: http://pcmhacking.net/forums/viewtopic.php?f=7&t=1396
User avatar
antus
Site Admin
Posts: 8253
Joined: Sat Feb 28, 2009 8:34 pm
cars: TX Gemini 2L Twincam
TX Gemini SR20 18psi
Datsun 1200 Ute
Subaru Blitzen '06 EZ30 4th gen, 3.0R Spec B
Contact:

Re: Antusprom - tunerpro realtime via ALDL

Post by antus »

Here is the one wire ALDL version which expects cable echo so is for ecu's linked with a single wire ALDL interfaces. (Those with the UART and 8192 baud ALDL built in). For 808s with max232 uart soldered in use the other version at the beginning of this thread).
Attachments
antusprom-07e.zip
(44.62 KiB) Downloaded 583 times
Have you read the FAQ? For lots of information and links to significant threads see here: http://pcmhacking.net/forums/viewtopic.php?f=7&t=1396
Post Reply