JP1 Remotes Forum Index JP1 Remotes


FAQFAQ SearchSearch 7 days of topics7 Days MemberlistMemberlist UsergroupsUsergroups RegisterRegister
ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in

"Failed to open JP1.x interface" w/DIY cable
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next
 
Post new topic   Reply to topic    JP1 Remotes Forum Index -> JP1 - Hardware
View previous topic :: View next topic  
Author Message
Tommy Tyler
Expert


Joined: 21 Sep 2003
Posts: 412
Location: Denver mountains

                    
PostPosted: Mon Sep 03, 2007 5:10 pm    Post subject: Reply with quote

Andrew,

Without realizing it, I gave you an excellent example of why I recommend staying away from IR until JP1xTEST says the interface is working. I said maybe you should try a manufacturer's reset. That was a stupid suggestion, and has nothing to do with your problem. A manufacturer's reset restores a section of memory that has become corrupted and is causing malfunction of a remote. By contrast, the JP1xTEST program just checks to see if the remote can grunt out a primitive acknowledgement to a serial communication interogation. That's the beauty of it. It doesn't care if the remote has become stuffed with nonsense. It just sends it a single character and wants a simple "yes" or No" answer. This may sound like I'm splitting hairs, but there's a big difference between performance and communication. Fortunately, the portion of memory dedicated to serial communications is not in the area that sometimes needs a manufacturer's reset. So stick with JP1xTEST until it gives you an OK.

Tommy
Back to top
View user's profile Send private message
Tommy Tyler
Expert


Joined: 21 Sep 2003
Posts: 412
Location: Denver mountains

                    
PostPosted: Mon Sep 03, 2007 5:37 pm    Post subject: Reply with quote

A year ago Greg published a version of tester.exe, a JP1.x communications test program, that displayed some additional comm debug data. I have not promoted it because there are no instructions or explanations of the displayed results, so only a handfull of our experts can understand them.

Nevertheless, I have just posted a fresh copy, along with the necessary utilities and a batch file to run it, at http://www.hifi-remote.com/forums/dload.php?action=file&file_id=4992.

Andrew, you might try running it and post your results here so we can see if that sheds any light on the matter.

Tommy
Back to top
View user's profile Send private message
abroadst



Joined: 25 Sep 2005
Posts: 48

                    
PostPosted: Mon Sep 03, 2007 6:00 pm    Post subject: Reply with quote

The output doesn't look promising. "Got no response" is printed after each test. During the test the remote blinks twice. When I unplugged the cable it also blinked twice. Here's the link to the output:

http://www.hifi-remote.com/forums/dload.php?action=file&file_id=4993
Back to top
View user's profile Send private message
Tommy Tyler
Expert


Joined: 21 Sep 2003
Posts: 412
Location: Denver mountains

                    
PostPosted: Mon Sep 03, 2007 6:41 pm    Post subject: Reply with quote

When you try a download, immediately after the double-blink, with interface still connected to remote, is the remote operational, i.e., when you press a key does the red LED flash?

I suspect not. If I'm right, unplug the interface and see if the remote is operational then. You might try this several times.

Tommy
Back to top
View user's profile Send private message
abroadst



Joined: 25 Sep 2005
Posts: 48

                    
PostPosted: Mon Sep 03, 2007 6:53 pm    Post subject: Reply with quote

Yes the remote is operational with the cable connected, and the LED flashes.

-A
Back to top
View user's profile Send private message
Tommy Tyler
Expert


Joined: 21 Sep 2003
Posts: 412
Location: Denver mountains

                    
PostPosted: Wed Sep 05, 2007 8:46 am    Post subject: Reply with quote

Your last reply puts a whole new light on things. The only two options you have left that I can think of are (1) Try another JP1.2 Interface (not recommended yet) (2) Test the interface you have to see if it is communicating. I can walk you through the test very simply, if you have access to a RadioShack store and are willing to spend 99 cents on a 5-pack of 1/4 watt resistors. It's your call.

Tommy
Back to top
View user's profile Send private message
abroadst



Joined: 25 Sep 2005
Posts: 48

                    
PostPosted: Wed Sep 05, 2007 1:24 pm    Post subject: Reply with quote

Do I need a soldering iron or any other tools? A multimeter? (I have nothing.) Is there a doc posted here that tells me what I need? The remote is at my in-laws' place and I won't be back there for a couple weeks, unfortunately.
Back to top
View user's profile Send private message
Tommy Tyler
Expert


Joined: 21 Sep 2003
Posts: 412
Location: Denver mountains

                    
PostPosted: Wed Sep 05, 2007 1:41 pm    Post subject: Reply with quote

No soldering iron, tools, multimeter, or wire needed. See:
http://www.radioshack.com/family/index.jsp?allCount=100&cp=2032058.2032230&fbn=Price%2FUnder+%243.99&fbc=1&categoryId=2032267&fr=StorePrice%2FRSK%2F00000000%2F00000399&pg=3

Buy one pack of resistors:
Ist preference is 271-1335 (10K)
2nd preference is 271-1330 (4.7K)
3rd preference is 271-1328 (3.3K)
4th preference is 271-1325 (2.2K)
5th preference is 271-1321 (1K)

The only other thing you need is a 9V battery. If you don't have one lying around, borrow one from a smoke detector or some other gadget.

I'm preparing documentation now. Contact me when you're ready. (See your private messages in this forum.)

Tommy
Back to top
View user's profile Send private message
Tommy Tyler
Expert


Joined: 21 Sep 2003
Posts: 412
Location: Denver mountains

                    
PostPosted: Tue Sep 11, 2007 5:56 pm    Post subject: Reply with quote

The documentation referred to in my previous post has been posted at:

Serial:
http://www.hifi-remote.com/forums/dload.php?action=file&file_id=5964

USB:
http://www.hifi-remote.com/forums/dload.php?action=file&file_id=5965

Tommy
Back to top
View user's profile Send private message
pmiller056



Joined: 30 Oct 2007
Posts: 3

                    
PostPosted: Tue Oct 30, 2007 7:14 am    Post subject: Reply with quote

I'm new here. I have successfully built and used a serial port JP1 interface based on a 74HC03 (or something similar - it's not in front of me). I'm now moving on to a serial port JP1.x interface. I have built the version with discrete transistors. It passes all the tests and IR.exe (ver 7.07) works correctly with a URC8206 remote (JP1.2) when used on the work PC.

The same interface and same remote fail to work with the home PC or a laptop. In both cases it will intermittently pass the the jp1xtest program, correctly identifying the remote when it passes. Sometimes the interface tester in IR.exe passes or fails the interface. If the interface passes the tester in ir.exe it will always fail with a 'failed to open jp1.x interface' or with a 'jp12 read failed -1' error when I try to communicate with the remote control. I cannot predict which error message I will get...

The only thing that is changing is the RS232 interface in the host PC. I'm thinking that something is marginal when it comes to RS232 signalling with the non-working PC's and I'm losing patience with what I built.... Is it worth rebuilding the interface from scratch using a 74HCxx (whatever suitable open collector device I can find) or go the whole way and do the RS232 interface properly with a MAX232 (or whatever) line driver IC.

Thank you all for developing and supporting the JP1 'scene'

Regards

Peter
Back to top
View user's profile Send private message
IBNobody



Joined: 06 May 2007
Posts: 124

                    
PostPosted: Tue Oct 30, 2007 8:26 am    Post subject: Reply with quote

pmiller056 wrote:
I'm new here. I have successfully built and used a serial port JP1 interface based on a 74HC03 (or something similar - it's not in front of me). I'm now moving on to a serial port JP1.x interface. I have built the version with discrete transistors. It passes all the tests and IR.exe (ver 7.07) works correctly with a URC8206 remote (JP1.2) when used on the work PC.

The same interface and same remote fail to work with the home PC or a laptop. In both cases it will intermittently pass the the jp1xtest program, correctly identifying the remote when it passes. Sometimes the interface tester in IR.exe passes or fails the interface. If the interface passes the tester in ir.exe it will always fail with a 'failed to open jp1.x interface' or with a 'jp12 read failed -1' error when I try to communicate with the remote control. I cannot predict which error message I will get...

The only thing that is changing is the RS232 interface in the host PC. I'm thinking that something is marginal when it comes to RS232 signalling with the non-working PC's and I'm losing patience with what I built.... Is it worth rebuilding the interface from scratch using a 74HCxx (whatever suitable open collector device I can find) or go the whole way and do the RS232 interface properly with a MAX232 (or whatever) line driver IC.

Thank you all for developing and supporting the JP1 'scene'

Regards

Peter


I ran into the same problems you did. I had 4 main defects in my setup.

1. I had a bad USB-serial converter that didn't work well with my JP1.X cable. (Tommy's 9V battery serial loop test failed.)

2. I was using a JP1.3 remote that didn't have pin 5 cut.

3. My self-built JP1.X board either had a marginal transistor or a flaky solder joint.

4. I bought a JP1.2 DIY cable that had C2 and R7 swapped.

My guess is that you're running into #3.

My advice: Get a DIY cable and verify that it was assembled properly. It's only $18.
Back to top
View user's profile Send private message
greenough1



Joined: 30 Jan 2005
Posts: 659

                    
PostPosted: Tue Oct 30, 2007 9:08 am    Post subject: Reply with quote

I generally with IBNobody.

Have you looked at this:
this trouble-shooting guide ?

and this one which shows a hardware mod on the remote:
link .

What you saw with your JP1.2 remote and serial interface (JP1.x) was the same symptoms IBNobody saw with his JP1.3 remote using his home-built JP1.x. Might there still be an issue with the JP1.x interface.

IBNobody, did you get a DIYGadgets interface that worked, or did you fix yours yourself, if I'm remembering correctly?

Best,
jeff
Back to top
View user's profile Send private message
IBNobody



Joined: 06 May 2007
Posts: 124

                    
PostPosted: Tue Oct 30, 2007 9:42 am    Post subject: Reply with quote

greenough1 wrote:
I generally with IBNobody.

Have you looked at this:
this trouble-shooting guide ?

and this one which shows a hardware mod on the remote:
link .

What you saw with your JP1.2 remote and serial interface (JP1.x) was the same symptoms IBNobody saw with his JP1.3 remote using his home-built JP1.x. Might there still be an issue with the JP1.x interface.

IBNobody, did you get a DIYGadgets interface that worked, or did you fix yours yourself, if I'm remembering correctly?

Best,
jeff


I fixed it myself, but that's not a solution I recommend to everybody. They use tiny 0201 SMT caps and resistors. You need proper soldering tools to perform rework. (You'd need a pair of fine point tweezers and a 15W soldering iron with a small needle tip.)
Back to top
View user's profile Send private message
pmiller056



Joined: 30 Oct 2007
Posts: 3

                    
PostPosted: Fri Nov 02, 2007 4:56 am    Post subject: Reply with quote

Hi

Thanks for all your suggestions. The trouble shooting guide was of limited use because of the inconsistent results, depending on the host PC. I ended up swapping all the transistors for something with higher gain - It turned out that the transistors I was using were relatively high current switching transistors with correspondingly low gain (junkbox specials). They would not operate correctly when connected to an RS232 interface which only just meets the spec, as many modern driver IC's intended for laptop applications do. Gone are the days of 1488/1489 line drivers with +/-12V output swings.... The 100k base resistors shown in the schematic don't help either....

I appreciate the comment about buying an interface from diygadgets, but I'm on another continent. Shipping, import duty, import agents handling charges all add up and make it a non-starter.

Now to get the lady of the house away from in front of the telly so I can tinker, push buttons and get things set up in a way that we understand....

Peter.
Back to top
View user's profile Send private message
thanasis



Joined: 12 Nov 2007
Posts: 3

                    
PostPosted: Mon Nov 12, 2007 7:31 am    Post subject: URC-7555 & cable from diygadget Reply with quote

Hi,
I have received 2 cables(Product Code: DG-JP12-01) I ordered from this page: http://www.diygadget.com/store/jp1/jp1-x-for-remote-controls/jp1-2-serial-cable/prod_25.html
for use with my URC-7555 (jp1.2).
Cables arrived pretty fast.

I tried the following:
- Trimmed the plastic edges, so the cable can fit.No harm to the cable itself.
- connected it to a serial port and to the remote
- verified that pin1 is correct
- got correct rdf file (10751075 (URC-7555 OFA5).rdf)
- tried ir.exe version 7.0 (beta) as suggested by the link where I ordered the cable
- got three flashes of the TV button and message : Failed to open
jp1.2 interface when trying to download or check interface
- used ir.exe version 7.07 - same behaviour
- used RM IR (Java IR, v1.82) - three flashes and No Remotes found
after trying to download
- tried 2 other PC's
- tried USB2serial cable
- tried EVERYTHING YOU NEED TO KNOW ABOUT TESTING A JP1.x INTERFACE
(Ver. 3 9/11/07) by Tommy N. Tyler
- reset circuit is OK (getting flashes when turning on DTR)
- interface is not communicating properly when trying the resistors
and the battery test (receiving random bytes or nothing)
- jp1xtest.exe returns no remote found.
- tried another remote of the same type URC-7555
- tried another remote URC-7780, rdf file:
10621062_(URC-7780_Stealth_12).rdf, same behaviour

I attempted all these tests with one cable.
Then I opened the cover of the remote, provided for power supply and tested the other cable as well(without trimming it).
In both cables the reset circuit works but no receive-transmit.
Is this cable ready to use as indicated on the site?
What are the odds that both cables are faulty?
Is this the correct software and do I use it correctly?

P.S. when connecting the cable to the remote only, Tommy N. Tyler
suggests that the remote should work fine. However keys 4 to 9 do not
send anything while all other keys function properly. Keys 4 to 9 work
fine after removing the cable.

I look forward to your answer.

Karamanidis Athanasios
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic       JP1 Remotes Forum Index -> JP1 - Hardware All times are GMT - 5 Hours
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next
Page 7 of 8

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

Powered by phpBB © 2001, 2005 phpBB Group
Top 7 Advantages of Playing Online Slots The Evolution of Remote Control