Users with Prolific USB interfaces - please read

Use and development of MSDroid tuning software on Android

Moderators: jsmcortina, muythaibxr

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

Users with Prolific USB interfaces - please read

Post by Trev16v »

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
Gavin Lodewick
Experienced MS/Extra'er
Posts: 208
Joined: Thu Feb 02, 2006 1:47 pm
Location: South Africa

Re: Users with Prolific USB interfaces - please read

Post by Gavin Lodewick »

Thank's Trev

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

Gavin
Lascaille
MS/Extra Newbie
Posts: 23
Joined: Thu Feb 04, 2016 1:49 am

Re: Users with Prolific USB interfaces - please read

Post by Lascaille »

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

Post by Lascaille »

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?
m3ltd0wn
Helpful MS/Extra'er
Posts: 149
Joined: Sun Oct 03, 2010 2:32 am

Re: Users with Prolific USB interfaces - please read

Post by m3ltd0wn »

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!
Trev16v
Master MS/Extra'er
Posts: 420
Joined: Tue Apr 08, 2008 1:30 pm
Location: Oxfordshire, UK

Re: Users with Prolific USB interfaces - please read

Post by Trev16v »

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
benckj
Master MS/Extra'er
Posts: 464
Joined: Mon Dec 19, 2011 3:21 pm

Re: Users with Prolific USB interfaces - please read

Post by benckj »

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.
Toyota MR2 98 3sgte
MSPNP2 with 3.57 mainboard
Innovate WB O2 & soon to be external GM 3 bar MAP
FTDI USB interface on SD Android 5.1 head unit
TD05SL2-18g with external WG
HKS EBC running 17psi boost.
A2W IC with WI 50/50 meth/water
Trev16v
Master MS/Extra'er
Posts: 420
Joined: Tue Apr 08, 2008 1:30 pm
Location: Oxfordshire, UK

Re: Users with Prolific USB interfaces - please read

Post by Trev16v »

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
benckj
Master MS/Extra'er
Posts: 464
Joined: Mon Dec 19, 2011 3:21 pm

Re: Users with Prolific USB interfaces - please read

Post by benckj »

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
Toyota MR2 98 3sgte
MSPNP2 with 3.57 mainboard
Innovate WB O2 & soon to be external GM 3 bar MAP
FTDI USB interface on SD Android 5.1 head unit
TD05SL2-18g with external WG
HKS EBC running 17psi boost.
A2W IC with WI 50/50 meth/water
Trev16v
Master MS/Extra'er
Posts: 420
Joined: Tue Apr 08, 2008 1:30 pm
Location: Oxfordshire, UK

Re: Users with Prolific USB interfaces - please read

Post by Trev16v »

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
benckj
Master MS/Extra'er
Posts: 464
Joined: Mon Dec 19, 2011 3:21 pm

Re: Users with Prolific USB interfaces - please read

Post by benckj »

Thanks for the tips and sorry to thread jack.

I will spend some time and get the info requested.
Toyota MR2 98 3sgte
MSPNP2 with 3.57 mainboard
Innovate WB O2 & soon to be external GM 3 bar MAP
FTDI USB interface on SD Android 5.1 head unit
TD05SL2-18g with external WG
HKS EBC running 17psi boost.
A2W IC with WI 50/50 meth/water
benckj
Master MS/Extra'er
Posts: 464
Joined: Mon Dec 19, 2011 3:21 pm

Re: Users with Prolific USB interfaces - please read

Post by benckj »

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
Toyota MR2 98 3sgte
MSPNP2 with 3.57 mainboard
Innovate WB O2 & soon to be external GM 3 bar MAP
FTDI USB interface on SD Android 5.1 head unit
TD05SL2-18g with external WG
HKS EBC running 17psi boost.
A2W IC with WI 50/50 meth/water
benckj
Master MS/Extra'er
Posts: 464
Joined: Mon Dec 19, 2011 3:21 pm

Re: Users with Prolific USB interfaces - please read

Post by benckj »

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?
Toyota MR2 98 3sgte
MSPNP2 with 3.57 mainboard
Innovate WB O2 & soon to be external GM 3 bar MAP
FTDI USB interface on SD Android 5.1 head unit
TD05SL2-18g with external WG
HKS EBC running 17psi boost.
A2W IC with WI 50/50 meth/water
old guy
Experienced MS/Extra'er
Posts: 362
Joined: Thu Jan 24, 2008 9:20 am
Location: North Carolina

Re: Users with Prolific USB interfaces - please read

Post by old guy »

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.
benckj
Master MS/Extra'er
Posts: 464
Joined: Mon Dec 19, 2011 3:21 pm

Re: Users with Prolific USB interfaces - please read

Post by benckj »

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/
Toyota MR2 98 3sgte
MSPNP2 with 3.57 mainboard
Innovate WB O2 & soon to be external GM 3 bar MAP
FTDI USB interface on SD Android 5.1 head unit
TD05SL2-18g with external WG
HKS EBC running 17psi boost.
A2W IC with WI 50/50 meth/water
benckj
Master MS/Extra'er
Posts: 464
Joined: Mon Dec 19, 2011 3:21 pm

Re: Users with Prolific USB interfaces - please read

Post by benckj »

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?
Toyota MR2 98 3sgte
MSPNP2 with 3.57 mainboard
Innovate WB O2 & soon to be external GM 3 bar MAP
FTDI USB interface on SD Android 5.1 head unit
TD05SL2-18g with external WG
HKS EBC running 17psi boost.
A2W IC with WI 50/50 meth/water
benckj
Master MS/Extra'er
Posts: 464
Joined: Mon Dec 19, 2011 3:21 pm

Re: Users with Prolific USB interfaces - please read

Post by benckj »

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
Toyota MR2 98 3sgte
MSPNP2 with 3.57 mainboard
Innovate WB O2 & soon to be external GM 3 bar MAP
FTDI USB interface on SD Android 5.1 head unit
TD05SL2-18g with external WG
HKS EBC running 17psi boost.
A2W IC with WI 50/50 meth/water
benckj
Master MS/Extra'er
Posts: 464
Joined: Mon Dec 19, 2011 3:21 pm

Re: Users with Prolific USB interfaces - please read

Post by benckj »

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.
Toyota MR2 98 3sgte
MSPNP2 with 3.57 mainboard
Innovate WB O2 & soon to be external GM 3 bar MAP
FTDI USB interface on SD Android 5.1 head unit
TD05SL2-18g with external WG
HKS EBC running 17psi boost.
A2W IC with WI 50/50 meth/water
Trev16v
Master MS/Extra'er
Posts: 420
Joined: Tue Apr 08, 2008 1:30 pm
Location: Oxfordshire, UK

Re: Users with Prolific USB interfaces - please read

Post by Trev16v »

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
pinzgauer
MS/Extra Newbie
Posts: 27
Joined: Thu Jan 20, 2005 7:01 pm
Location: Atlanta
Contact:

Re: Users with Prolific USB interfaces - please read

Post by pinzgauer »

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!
Post Reply