Build a JP1.x/JP2 cable using an FTDI Serial Converter Cable

Forum for the discussion of JP1 Interfaces, hardware hacks, etc.

Moderator: Moderators

supertommy
Posts: 38
Joined: Sun Mar 10, 2013 5:11 am

Post by supertommy »

3FG wrote:It looks like your interface is actually on COM17, but JP12Serial.dll is finding some other serial device at COM5, and is trying to use it.

In RMIR, try Remote\Interface\JP1.x Serial, and under Port Selection check Other and enter in COM17, or perhaps just 17.
belive me i m not a total newbie... if was a problem of port setting i was not seeing my device blinking (remote and cable too) so this mean something is happening ... problem is related to remote initialization using this cable

(you see different port number because i changed it many times to try if maybe this would help)

my cable has no DTR pinout it has only 5v gnd rx tx rts cts (it's an usb ft232r usb to serial) so i think the problem is related to this

anyway if i do tath in realterm
clear dtr
clear rts

set break on
set rts
clear rts
set break off

remote goes in serial mode and works like expected...

now problem is ... how can i make RM IR initialite my remote like i want?
as i can see from serial log RM IR use a different way to try to initialize my remote... and this way doesnt work in my situation....

remote initialization is done by jp12Serial.ddll ? is it opensource and recompilable? Maybe i have not enough skill to do in 5 minute but i will try...
or some one can help me :(
3FG
Expert
Posts: 3434
Joined: Mon May 18, 2009 11:48 pm

Post by 3FG »

JP12Serial 0.20 source
Just so you know, most cable interfaces don't have a DTR line, and the basic design of JP12Serial is to use RTS to manipulate Reset. However, some of the routines manipulate DTR, because some very early designs of JP1.1 and 1.2 interfaces used DTR. In other words, you shouldn't need to fiddle with DTR, and it should not be connected to your remote.
supertommy
Posts: 38
Joined: Sun Mar 10, 2013 5:11 am

i hate dtr

Post by supertommy »

i dont have enough know how to understand whi this happen
but it happen!

i dont have dtr pin or anything conected to dtr
but unsetting it... make my remote go in serial mode...

i have posted log everything... now it'ìs time for
who know... to tell me how da hell is going on
supertommy
Posts: 38
Joined: Sun Mar 10, 2013 5:11 am

Post by supertommy »

FINNALLY I DID IT

i found a solution! it's not elegant but it WORKS

using FT_PROG i reprogrammed the usb->serial adapter to invert the DTR signal....

and now it works!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

i can comunicate with remote using standard software!!!
debugtester recognize the remote as a jp1.2 remote.. but it's 1.3...

can this cause problem?
maybe uploading/download data is the same in 1.2 and 1.3?
or this maybe corrupt data on remote?

i guess the only thing different is the remote initialization ...?

can i start uploading/downloading safely?

:D :D :D :D :D
3FG
Expert
Posts: 3434
Joined: Mon May 18, 2009 11:48 pm

Post by 3FG »

My guess is that inside the interface cable--probably on the PCB--the DTR signal is fully or partially shorted to RTS. That would expalin why you need to change the state of a signal which is not connected to the remote. If it were my cable, I'd consider opening up the insulation around the PCB in an attempt to fix it. But... perhaps it will work just fine.
Once a 1.2 remote is in communication mode, the communication protocol is identical to a 1.3 remote.
supertommy
Posts: 38
Joined: Sun Mar 10, 2013 5:11 am

thanks

Post by supertommy »

thanks for your help...i will check later with a tester for a short between dtr/rts... now i wanna just play with my toy :)

thanks for your time!

nb i cleaned up my post moving logs to pastebin
andyross
Posts: 272
Joined: Sun Jun 13, 2004 9:38 am
Location: Aurora, IL

Windows Update drivers bricking USB serial chips

Post by andyross »

The move to combat counterfeit chips leaves hobbyists stuck in the middle.

http://arstechnica.com/information-tech ... e-hackers/
HWTest
Posts: 35
Joined: Tue Jun 14, 2005 2:10 pm

Post by HWTest »

I'm one of the victims :(
oldsports
Posts: 21
Joined: Sat Dec 24, 2011 8:15 am

Need help with JP1.3 cable and Atlas 1056-B01 remote

Post by oldsports »

Hi - I read through all 10 pages of this thread but I could not find the answer I was looking for. I acquired an Atlas 1056-B01 remote and found out that it a JP1.3 remote. I had only programmed JP1 remotes with a parallel cable so I now needed to make a JP1.x cable.

I purchased an FTDI cable on eBay; it was not the same cable as in the Tommy Tyler instructions but I was able to match up the cable colors/signals. Here are the pins/signals/colors for my cable: 2/RTS/Yellow, 3/GND/Black, 4/TXD/Green, 6/RXD/White. I downloaded and installed the FTDI driver from the link in Tommy's instructions (CDM v2.12.00 WHQL Certified.exe); my computer is running Windows 7 Home Premium 64-bit. After installing the driver, I plugged in the cable and it was recognized as COM3 (I have a regular serial port installed on COM1).

I downloaded and installed Java and RM v2.02 Beta. I started RMIR and plugged in my Atlas 1056-B01 (Black). When I click on the "Remote" menu, both the "Download from Remote" and "Upload to Remote" selections are greyed out which seems to say that the program does not recognize that the remote is connected.

Does anyone have an idea as to what may be wrong? Thanks!
3FG
Expert
Posts: 3434
Joined: Mon May 18, 2009 11:48 pm

Post by 3FG »

The symptoms say that JP12Serial.dll wasn't loaded, which isn't surprising since 2.02Beta didn't support 64 bits. In RMIR check Help\About. Probably you won't see a reference to JP12Serial.dll.

At the very least get RMIR 2.02a. 2.03 Alpha 28 is newer and better.
oldsports
Posts: 21
Joined: Sat Dec 24, 2011 8:15 am

Post by oldsports »

Hi 3FG - thanks for the quick response. I downloaded both RMIR 2.02a and 2.03 Alpha 27c (I did not find Alpha 28). I installed each of them and tried to read from my remote - unsuccessful both times. The good news is that the "Download from Remote" and "Upload from Remote" selections are not greyed out. However, when I try to download from remote I get the error message "No remotes found".

When I select "Remote/Interface/JP1.X Serial" I get a window that has three selections: Auto-detect, COM1 and Other. COM1 is the regular serial port installed in my computer; I was also expecting to see COM3 which is how my USB serial cable shows up in Device Manager. It seems as if RMIR does not recognize my USB serial port. I even entered "COM3" in the "Other" section but still no luck.

I guess I could have a faulty cable but I don't understand why RMIR does not see COM3 even though Device Manager says it is there. Any other advice?
mdavej
Expert
Posts: 4630
Joined: Wed Oct 08, 2003 7:08 am

Post by mdavej »

What version of Java are you running? I've found that the latest (version 8) has major issues with RMIR.
oldsports
Posts: 21
Joined: Sat Dec 24, 2011 8:15 am

Post by oldsports »

I am running Java 1.8.0_31 (according to the "About" section of RMIR). Should I try an earlier version?
oldsports
Posts: 21
Joined: Sat Dec 24, 2011 8:15 am

Post by oldsports »

I found Java 1.7.0_76. I uninstalled 1.8.0_31 and installed the older version. Still no luck in reading from the remote and RMIR still does not see COM3. Help?!
3FG
Expert
Posts: 3434
Joined: Mon May 18, 2009 11:48 pm

Post by 3FG »

I doubt that the problem is with RMIR, if RMIR sees COM1. In Device Manager\Ports (COM & LPT), you should see USB Serial Port (COM3). Right click and select Properties. The General tab should say "this device is working properly". In Port Settings\Advanced, make sure Serial Enumerator is checked. The driver tab should say 2.12.0.0 (although I do just fine with 2.10.0.0)
Post Reply