"Failed to open JP1.x interface" w/DIY cable

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

Moderator: Moderators

e.axel
Exile Island Resident
Posts: 209
Joined: Fri Feb 03, 2006 12:30 pm

Post by e.axel »

tlad wrote:
e.axel wrote:My interface cable was supplied by DIY. I just added 2 resistors and a capacitor, both supplied with the cable. Pretty hard to screw THAT up!
What remote do you have?
URC-8820
Tommy Tyler
Expert
Posts: 411
Joined: Sun Sep 21, 2003 11:48 am
Location: Denver mountains

Post by Tommy Tyler »

For those of you trying to get your new JP1.x interface up and flying, let me suggest that you not use any of the application programs for testing, since they are still under development, and that just adds one more variable to the equation. Instead, I suggest a simple test program Greg designed specifically for testing interface response. I've posted it at:

https://www.hifi-remote.com/forums/dload ... le_id=3571

Unzip and put the four files in a temporary directory. Double click on the batch file and you should get:

C:\temp>tester
tester version 0.00
jp12io.dll version 0.00
Parsing command list file tester.dat
Opened COM1
JP1.2 remote found! (or JP1.1 remote found!)
C:\temp>pause
Press any key to continue . . .

If the interface fails to communicate with the remote, you'll get:

C:\temp>tester
tester version 0.00
jp12io.dll version 0.00
Parsing command list file tester.dat
Opened COM1
Opened COM4 (or other COM ports in your PC)
Unable to connect
C:\temp>pause
Press any key to continue . . .

Once you know the interface can find the remote, you can quit worrying about whether it's assembled correctly and concentrate on other problems.

Tommy
tlad
Posts: 20
Joined: Wed Aug 30, 2006 5:39 am

Post by tlad »

Fantastic Tommy.

Thanks. That does make the troubleshooting a lot easier.

Tim.
e.axel
Exile Island Resident
Posts: 209
Joined: Fri Feb 03, 2006 12:30 pm

Post by e.axel »

Get an error "Tester is not recognized as an internal or external command, operable program or batch file", goes to press any kewy to continue, and exits.....
e.axel
Exile Island Resident
Posts: 209
Joined: Fri Feb 03, 2006 12:30 pm

Post by e.axel »

.......
Open com1
Open com4
Escapecommfunctionerror. error 87.The parameter is incorrect......
tlad
Posts: 20
Joined: Wed Aug 30, 2006 5:39 am

Post by tlad »

Same error as e.axel (on my old interface)

Open com1
Open com3
Escapecommfunctionerror. error 87.The parameter is incorrect......

Bought some new components today will build a new interface and test

Tim.
gfb107
Expert
Posts: 3411
Joined: Sun Aug 03, 2003 7:18 pm
Location: Cary, NC
Contact:

Post by gfb107 »

The messages you guys are reporting aren't what tester would display.

It should say "Opened" instead of "Open" and the port names should be upper case (COM instead of com).

Is that just a typing issue? It's usually better to copy'n'paste this kind of information to make sure to get it right.
tlad
Posts: 20
Joined: Wed Aug 30, 2006 5:39 am

Post by tlad »

Yeah, Opened and COM in upper case.

I just copied e.axel's when I saw he had the same error as me.

Tim.
e.axel
Exile Island Resident
Posts: 209
Joined: Fri Feb 03, 2006 12:30 pm

Post by e.axel »

Sorry, it does say opened. Rest of result is accurate (unexpected error, undocumented)
I am abandoning this effort for the present. Too many unproven variables. It is early here, and I will completely document my effort later today....
Thanks for all the help guys!
e.axel
Exile Island Resident
Posts: 209
Joined: Fri Feb 03, 2006 12:30 pm

Post by e.axel »

Here is the final review:
1. Remote - brand new 8820 supplied by UEIC in exchange for a 6011 I asked them to add some codes to. Got it and started with JP1.2 just to extract the code data. AFAIK works fine with all devices tested. JP1.2 interface condition unproven.

2. Interface - from DIY, added 2 resistors and cap per their instructions. Completely unproven, have nothing to compare it to.

3. PC serial port - used with other devices AFAIK OK.

4. IR7 Beta - Unproven with this interface/remote

5. Tommy's tester - Unproven with this interface/remote, Gives undocumented Error 87.

So that is where i will leave it for the time being. I will continue to monitor this thread.
Thanks again for all the other contributions.
binky123
Expert
Posts: 1292
Joined: Sat Feb 14, 2004 3:35 am

Post by binky123 »

This quote is from here
Figure 6 shows the first version of the interface to combine support for JP1.1 and JP1.2 without switches. A number of these were sent out for field testing, and problems showed up immediately. The connection between pins 7 and 8 of the DB9 connector were to provide a loop-back feature to enable software to find which port the interface is plugged into. Apparently that is a "no-no" with the Windows API, because it causes the interface to fail communications.
Have you tried checking the connection between pins 7 and 8 of the DB9 connector? Maybe they are still connected.
e.axel
Exile Island Resident
Posts: 209
Joined: Fri Feb 03, 2006 12:30 pm

Post by e.axel »

They are not.
binky123
Expert
Posts: 1292
Joined: Sat Feb 14, 2004 3:35 am

Post by binky123 »

In a previous post, user prelude(DIY owner), said he plugged in a JP1.2 cable(original design) and the software worked with it. He then plugged in the JP1.x cable that didn't work previously and it also started to work.

Is it possible for you to convert your JP1.x cable into a JP1.2 only cable? What operating system are you using? Maybe there is a registry setting that you can clear out(this might have happened to prelude by using the JP1.2 only cable). Maybe it's a port permissions issue?
Last edited by binky123 on Fri Sep 15, 2006 12:36 pm, edited 1 time in total.
jetskier
Posts: 287
Joined: Tue Dec 09, 2003 5:58 pm
Location: Nevada

Post by jetskier »

Maybe it's time to scrap the modified DIY cable. Go to Radio Shack. Get the parts listed in the latest cable document and build a new fresh one. As of my post, Tommy has just uploaded it today - Sept 15th, 2006. When all else fails, go back to basics.

When I bought my USB JP1 cable from DIY, it never worked. Something with my motherboard and current windows settings. I parted it out for the 6 pin IDC. It proved to be useful for thie JP1.x cause. :roll:
e.axel
Exile Island Resident
Posts: 209
Joined: Fri Feb 03, 2006 12:30 pm

Post by e.axel »

I'm glad to know that I am not alone!
Post Reply