Users with Prolific USB interfaces - please read

Use and development of MSDroid tuning software on Android

Moderators: jsmcortina, muythaibxr

Users with Prolific USB interfaces - please read

Postby Trev16v » Fri Oct 23, 2015 2:14 pm

Are you using a Prolific USB interface? Have you had problems using it with MSDroid 2.4?

If so, could you please install the following alpha bulid:

www.msdroid.com/builds/MSDroid_2_5a0.apk

Please let me know the outcome.

(I'd be grateful if all responses in this thread could be specific to Prolific USB only please.)

Trev
Golf MK2 G60 Syncro with 16VG60 on MSNS-E

MSDroid :: MegaSquirt tuning on Android

Image
Trev16v
Master MS/Extra'er
 
Posts: 411
Joined: Tue Apr 08, 2008 1:30 pm
Location: Oxfordshire, UK

Re: Users with Prolific USB interfaces - please read

Postby Gavin Lodewick » Sat Oct 24, 2015 11:18 am

Thank's Trev

It work's, looking forward to tuning. :yeah!:

Gavin
Gavin Lodewick
Experienced MS/Extra'er
 
Posts: 177
Joined: Thu Feb 02, 2006 1:47 pm
Location: South Africa

Re: Users with Prolific USB interfaces - please read

Postby Lascaille » Fri Feb 12, 2016 6:20 am

Hi Trev,

I've got a Prolific USB 2303 connected via a USB OTG cable and am not getting anywhere.

Relevant parts of the debuglog here, full debuglog attached:

Code: Select all
02/12/16 20:43:27.044 Created PL2303 connection object
02/12/16 20:48:50.559 Prolific lib version: 32 2e 30 2e 31 32 2e 33 31 00 00 00 00 00 00 00 00 00 00 00
02/12/16 20:48:50.560 Prolific device supported by driver: false
02/12/16 20:48:50.561 Prolific device serial number: null
02/12/16 20:48:50.562 Prolific device has permission: true
02/12/16 20:48:50.775 Sending signature query command: Q
02/12/16 20:48:51.787 Response to signature query command:
02/12/16 20:48:51.789 Signature bytes:
02/12/16 20:48:51.791 Sending signature query command: S
02/12/16 20:48:52.797 Response to signature query command:
02/12/16 20:48:52.800 Signature bytes:
02/12/16 20:48:52.802 Sending signature query command: Q
02/12/16 20:48:53.806 Response to signature query command:
02/12/16 20:48:53.808 Signature bytes:
02/12/16 20:48:53.810 Sending signature query command: S
02/12/16 20:48:54.813 Response to signature query command:
02/12/16 20:48:54.815 Signature bytes:
02/12/16 20:48:54.817 Sending signature query command: Q
02/12/16 20:48:55.820 Response to signature query command:
02/12/16 20:48:55.826 Signature bytes:
02/12/16 20:48:55.827 Sending signature query command: S
02/12/16 20:48:56.830 Response to signature query command:


Is this update still current?
Lascaille
MS/Extra Newbie
 
Posts: 23
Joined: Thu Feb 04, 2016 1:49 am

Re: Users with Prolific USB interfaces - please read

Postby Lascaille » Fri Feb 12, 2016 8:20 am

Installed the update and it's working nicely.

Code: Select all
02/12/16 23:12:20.575 Dashboard activity creation
02/12/16 23:12:21.198 Prolific USB feature supported: true
02/12/16 23:12:21.199 Prolific attached: false
02/12/16 23:12:22.255 Prolific lib version: 32 2e 30 2e 31 32 2e 33 31 00 00 00 00 00 00 00 00 00 00 00
02/12/16 23:12:22.257 Prolific device supported by driver: false
02/12/16 23:12:22.259 Prolific device serial number: null
02/12/16 23:12:22.262 Prolific device has permission: true
02/12/16 23:12:22.271 Falling back to old Prolific driver, because new one says 'no!'
02/12/16 23:12:22.283 Created PL2303 connection object


Heh heh heh

Do you need the working debuglog for anything?
Lascaille
MS/Extra Newbie
 
Posts: 23
Joined: Thu Feb 04, 2016 1:49 am

Re: Users with Prolific USB interfaces - please read

Postby m3ltd0wn » Tue Apr 19, 2016 3:41 am

Hello,

Having troubles connecting my tablet through OTG cable and Serial to USB adapter Aten uc232a (uses a Prolific 2303 chipset) to MSDroid 2.5a0.
The Android software for serial to usb adapter will detect it once plugged into the tablet, and I can send and receive data from megasquirt, but MSDroid won't connect to megasquirt.

Screenshot_2016-04-16-21-40-13.png
Screenshot_2016-04-16-21-45-51.png

debug_log.txt


best regards!
m3ltd0wn
Helpful MS/Extra'er
 
Posts: 149
Joined: Sun Oct 03, 2010 2:32 am

Re: Users with Prolific USB interfaces - please read

Postby Trev16v » Mon Apr 25, 2016 12:55 pm

We've discussed this by email but just to provide the info here as well, in case it's useful to anyone else: It appears that although the Aten UC232A uses a Prolific chip (or Prolific clone), it supplies a different PID and VID, which means that the Prolific drivers supplied with MSDroid won't recognise it. I have advised that another adapter be obtained with genuine Prolific or FTDI chip.
Golf MK2 G60 Syncro with 16VG60 on MSNS-E

MSDroid :: MegaSquirt tuning on Android

Image
Trev16v
Master MS/Extra'er
 
Posts: 411
Joined: Tue Apr 08, 2008 1:30 pm
Location: Oxfordshire, UK

Re: Users with Prolific USB interfaces - please read

Postby benckj » Mon Apr 25, 2016 2:05 pm

I have been trying to connect my Android tablet 4.2.1 onto MSPNP2 without any success. Bought the serial -USB adapter (FDTI chipset) from MS site thinking this would work for my PC as well as tablet as I have a normal USB on side. I now see there is an Android version using micro USB which does not seem to be on the website link. I downloaded the update link above and tried to see if it would work but made no difference.

https://www.diyautotune.com/product/usb ... nerstudio/

Do I have the correct adapter and how do I make it work?
Last edited by benckj on Mon Apr 25, 2016 2:17 pm, edited 1 time in total.
MSPNP v2 with 3.57 firmware
FTDI USB interface on SD Android 5.1 head unit
Toyota MR2 98 3sgte
TD05sl2-18g (billet wheel & high flow turbine)
A2W IC
WI with 50/50 meth/water
User avatar
benckj
Master MS/Extra'er
 
Posts: 387
Joined: Mon Dec 19, 2011 3:21 pm

Re: Users with Prolific USB interfaces - please read

Postby Trev16v » Mon Apr 25, 2016 2:12 pm

Hi benckj,

It might be best if you could email me your debug_log.txt (look in /MSDroid/debuglog/) in the first instance so I can see what's happening.

Have you managed to make it work from your PC using TunerStudio?

Trev
Golf MK2 G60 Syncro with 16VG60 on MSNS-E

MSDroid :: MegaSquirt tuning on Android

Image
Trev16v
Master MS/Extra'er
 
Posts: 411
Joined: Tue Apr 08, 2008 1:30 pm
Location: Oxfordshire, UK

Re: Users with Prolific USB interfaces - please read

Postby benckj » Mon Apr 25, 2016 2:31 pm

Yes, works form my PC using the USB/serial interface without an issue. I generally use a 6' shielded serial cable directly from MS to adapter.

Just noted that the tablet must support a "USB Host" from info below. Not really sure how to check this as I don't work off a Droid very often. Same goes with running the 'debug log' suggested.

http://tunerstudio.com/index.php/shadow ... quirements
MSPNP v2 with 3.57 firmware
FTDI USB interface on SD Android 5.1 head unit
Toyota MR2 98 3sgte
TD05sl2-18g (billet wheel & high flow turbine)
A2W IC
WI with 50/50 meth/water
User avatar
benckj
Master MS/Extra'er
 
Posts: 387
Joined: Mon Dec 19, 2011 3:21 pm

Re: Users with Prolific USB interfaces - please read

Postby Trev16v » Mon Apr 25, 2016 2:48 pm

To find the debug_log.txt, use a file manager type app to navigate to the MSDroid directory on your Android device and then into the debuglog subdirectory. I have it in the TODO list to add a user friendly means to do this.

In the MSDroid settings have you set the USB interface baud rate as appropriate for your MS?
Golf MK2 G60 Syncro with 16VG60 on MSNS-E

MSDroid :: MegaSquirt tuning on Android

Image
Trev16v
Master MS/Extra'er
 
Posts: 411
Joined: Tue Apr 08, 2008 1:30 pm
Location: Oxfordshire, UK

Re: Users with Prolific USB interfaces - please read

Postby benckj » Mon Apr 25, 2016 3:26 pm

Thanks for the tips and sorry to thread jack.

I will spend some time and get the info requested.
MSPNP v2 with 3.57 firmware
FTDI USB interface on SD Android 5.1 head unit
Toyota MR2 98 3sgte
TD05sl2-18g (billet wheel & high flow turbine)
A2W IC
WI with 50/50 meth/water
User avatar
benckj
Master MS/Extra'er
 
Posts: 387
Joined: Mon Dec 19, 2011 3:21 pm

Re: Users with Prolific USB interfaces - please read

Postby benckj » Tue Apr 26, 2016 4:42 pm

Not much progress. Found de-bug directory and copied but can't manage to paste into a USB. Notice that the USB Baud Rate in App setting is grey so not active even though I've selected to use USB only I App. Does this mean I do not have an active USB host function? Have only used the USB slot for a keyboard, which worked fine.

Info List
Android tablet
model= ZTICS
Android version= 4.0.1
baseband version= unknown
Kernal version= 2.6.34 root@android#2834
Build number= fo4ref-eng 4.0.1 ICS.f04ref.20111223 en.root.20111223.170541 test-keys
MSPNP v2 with 3.57 firmware
FTDI USB interface on SD Android 5.1 head unit
Toyota MR2 98 3sgte
TD05sl2-18g (billet wheel & high flow turbine)
A2W IC
WI with 50/50 meth/water
User avatar
benckj
Master MS/Extra'er
 
Posts: 387
Joined: Mon Dec 19, 2011 3:21 pm

Re: Users with Prolific USB interfaces - please read

Postby benckj » Wed May 11, 2016 4:45 pm

No progress on this and would like to use as my laptop battery likes to die while driving.

Can anyone point me in the right direction?
MSPNP v2 with 3.57 firmware
FTDI USB interface on SD Android 5.1 head unit
Toyota MR2 98 3sgte
TD05sl2-18g (billet wheel & high flow turbine)
A2W IC
WI with 50/50 meth/water
User avatar
benckj
Master MS/Extra'er
 
Posts: 387
Joined: Mon Dec 19, 2011 3:21 pm

Re: Users with Prolific USB interfaces - please read

Postby old guy » Thu May 12, 2016 12:53 pm

Go to the PlayStore and download USB Host Check by Taurus Labs.
It will tell you if your tablet is USB Host capable and if not, in some cases can enable it.
Also make sure that your USB to Micro USB adaptor is an OTG model, not a standard one.
old guy
Experienced MS/Extra'er
 
Posts: 333
Joined: Thu Jan 24, 2008 9:20 am
Location: North Carolina

Re: Users with Prolific USB interfaces - please read

Postby benckj » Thu May 12, 2016 1:14 pm

Thanks for the tip, will do this over weekend.
I'm running the standard FTDI USB-serial interface as purchased through MS.

https://www.diyautotune.com/product/usb ... nerstudio/
MSPNP v2 with 3.57 firmware
FTDI USB interface on SD Android 5.1 head unit
Toyota MR2 98 3sgte
TD05sl2-18g (billet wheel & high flow turbine)
A2W IC
WI with 50/50 meth/water
User avatar
benckj
Master MS/Extra'er
 
Posts: 387
Joined: Mon Dec 19, 2011 3:21 pm

Re: Users with Prolific USB interfaces - please read

Postby benckj » Fri May 13, 2016 7:39 pm

Well I downloaded the USB Host check and it came back with message that host support not enabled on my device for android hardware, handheld core or tablet core. A fix attempt tried but no change.

Downloaded another program for USB diagnostics and after check stated no USB host found but device may work if 'rooted'. Tried that but no go. Using droid version 2.6.34.

Guess this mean my tablet cannot use dashboard. Why would a tablet have a USB port if it cannot use or is it just for additional storage?

Getting out of my depth here never had experience with a droid. Even if this tablet cannot host can I connect to MS on Bluetooth?
MSPNP v2 with 3.57 firmware
FTDI USB interface on SD Android 5.1 head unit
Toyota MR2 98 3sgte
TD05sl2-18g (billet wheel & high flow turbine)
A2W IC
WI with 50/50 meth/water
User avatar
benckj
Master MS/Extra'er
 
Posts: 387
Joined: Mon Dec 19, 2011 3:21 pm

Re: Users with Prolific USB interfaces - please read

Postby benckj » Sun May 15, 2016 2:49 pm

Looking more like my tablet cannot Host a USB connection which will limit my options. If I decided to go with Bluetooth is there any hidden tricks I should be aware of?

I would have purchased the BT adapter from MS had I known about this Host requirement. Shipping is a killer so I do not want to put another order in. Looking at some generic serial-BT adapters available locally for around $15USD. Worth a go?

http://trademe.tmcdn.co.nz/photoserver/ ... 964068.jpg

http://www.trademe.co.nz/electronics-ph ... 931113.htm
MSPNP v2 with 3.57 firmware
FTDI USB interface on SD Android 5.1 head unit
Toyota MR2 98 3sgte
TD05sl2-18g (billet wheel & high flow turbine)
A2W IC
WI with 50/50 meth/water
User avatar
benckj
Master MS/Extra'er
 
Posts: 387
Joined: Mon Dec 19, 2011 3:21 pm

Re: Users with Prolific USB interfaces - please read

Postby benckj » Mon May 16, 2016 6:06 pm

Well took a punt and ordered the BT generic adapter as listed in above links. Figured I'd give it a go and ask questions when/if I get into trouble. These MS threads seem rather dead so not sure if anyone is working on this system or not.
MSPNP v2 with 3.57 firmware
FTDI USB interface on SD Android 5.1 head unit
Toyota MR2 98 3sgte
TD05sl2-18g (billet wheel & high flow turbine)
A2W IC
WI with 50/50 meth/water
User avatar
benckj
Master MS/Extra'er
 
Posts: 387
Joined: Mon Dec 19, 2011 3:21 pm

Re: Users with Prolific USB interfaces - please read

Postby Trev16v » Tue Jun 07, 2016 3:47 pm

Development is still very active but I'm busy with house renovation at the moment. I have to balance keeping the wife happy with keeping you lot happy :D

The generic Bluetooth interface you ordered is one that I have used a few times successfully. Though it does depend on what specific firmware they have on them.

That PCB presents a 3.3V logic serial interface. The voltage levels are different and are also inverted compared with an external RS232 interface. Therefore it'd need to be wired internally in the MS (Tx / Rx pins direct to the microcontroller).
Golf MK2 G60 Syncro with 16VG60 on MSNS-E

MSDroid :: MegaSquirt tuning on Android

Image
Trev16v
Master MS/Extra'er
 
Posts: 411
Joined: Tue Apr 08, 2008 1:30 pm
Location: Oxfordshire, UK

Re: Users with Prolific USB interfaces - please read

Postby pinzgauer » Mon Nov 07, 2016 2:07 pm

Just an FYI, MSDroid working perfectly with my profilic USB serial converter. Reports "Using Old Profilic Driver" or similar. Nexus 7 table, works like a champ!
pinzgauer
MS/Extra Newbie
 
Posts: 27
Joined: Thu Jan 20, 2005 7:01 pm
Location: Atlanta

Next

Return to MSDroid

Who is online

Users browsing this forum: No registered users and 1 guest