Error message "data read back is not same as written

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

Moderator: Moderators

Rod
Posts: 15
Joined: Fri Oct 26, 2007 9:51 pm

Error message "data read back is not same as written

Post by Rod »

Hi guys,

I ordered a JPI.2 serial cabel and a URC-6690 remote. When I try and program it I get this error messages.

"Download remote fails with the "jp12 read failed -1" message, upload to remote successfully uploads but IR finishes with a "data read back is not same as written"


I am using IR 7.14 and have the latest RDF files (Dec 17, 2006).

I tried to test it using "jp1xtest.exe" but it would not work for me it just kep scroling. I then tried the "TestGroup with Comm Debug" and it worked. Here are the results.

C:\Documents and Settings\Rod\Desktop\Remote 2\update>Debug_Tester -debug
tester version 0.03
Parsing command list file tester.dat
Opening COM1
DCB paramaters:
DCBlength=28
BaudRate=38400
fBinary=1
fParity=0
fOutxCtsFlow=0
fOutxDsrFlow=0
fDtrControl=1
fDsrSensitivity=0
fTXContinueOnXoff=0
fOutX=0
fInX=0
fErrorChar=0
fNull=0
fRtsControl=1
fAbortOnError=0
fDummy2=0
wReserved=0
XonLim=2048
XoffLim=512
ByteSize=8
Parity=0
StopBits=0
XonChar=17
XoffChar=19
ErrorChar=0
EofChar=0
EvtChar=0
wReserved1=0
CLRRTS
CLRDTR
SETDTR
SETBREAK
CLRBREAK
Purging RX and TX buffers
Reading up to 20 bytes to flush out spurious data
Didn't get any spurious data
Sending tEst command (45h)
Reading up to 20 bytes of response
Bytes read:
06
JP1.2 remote found!
CLRDTR
SETDTR
SETRTS
CLRRTS

C:\Documents and Settings\Rod\Desktop\Remote 2\update>pause
Press any key to continue . . .

Not sure what else to do.
Please help


Rod
unclemiltie
Expert
Posts: 1819
Joined: Wed Jan 21, 2004 12:50 pm
Location: Pittsburgh, PA

Post by unclemiltie »

Assuming that your cable is "known good" (i.e. it works on another remote) I'd start with a fresh set of batteries.
this JP1 stuff is a sickness!
Rod
Posts: 15
Joined: Fri Oct 26, 2007 9:51 pm

Post by Rod »

Thank you for the reply, I have tried changing the batteries.

I also tried another remote with the same result. Maybe it is the cable?

any way to test it?

Rod
greenough1
Posts: 658
Joined: Sun Jan 30, 2005 12:20 am

Post by greenough1 »

Is it a DIYGadgets interface?

jeff
Rod
Posts: 15
Joined: Fri Oct 26, 2007 9:51 pm

Post by Rod »

I bought it from Hifi-Remotes,
The Robman
Site Owner
Posts: 21886
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

The cable is the same design as the ones that DIY sells and it was tested on a URC-8820. I forget whether Rod asked for the JP1X1 or JP1X3 version, the only difference being that I cut wire #5 at the IDC on the JP1X3 version.

I would also recommend doing a 981-style reset on the remote and then trying again.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Rod
Posts: 15
Joined: Fri Oct 26, 2007 9:51 pm

Post by Rod »

Tried the reset, but still nothing.
The Robman
Site Owner
Posts: 21886
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

Which version of the cable did I send you? I've looked back through your PMs and I don't think you ever stated whether you wanted the JP1X1 or JP1X3 version. Either version should work with the JP1.2 URC-6690 remote, but it might help if we knew which version it is.

If you look at the IDC connector, if all 6 wires are intact like in the pic below, it's the JP1X1 version. But if wire 2nd from the right has been cut, it's the JP1X3 version.

Image

If you are unable to get it to work, you can return the cable for a refund. In this case I would recommend that you get a USB (Flash) cable from Tommy instead.

http://www.hifi-remote.com/forums/viewtopic.php?t=9405
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Rod
Posts: 15
Joined: Fri Oct 26, 2007 9:51 pm

Post by Rod »

Hi Rob,

I ordered a JP1.2/3 cabel. yes the one wire is cut.

I do have a JPI cabel that I use with my 8910. Are U saying that this cabel will work as well?

Thank you for the offer of returning the cabel. I might take you up on that offer if I can not get it to work.

FYI the remotes work great thanks.

Rod
The Robman
Site Owner
Posts: 21886
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

No, the cable that you use for the URC-8910 is what we now call a "JP1 (EEPROM)" cable, whereas any cable that you would use with the URC-6690 would be a "JP1 (Flash)" cable.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Tommy Tyler
Expert
Posts: 411
Joined: Sun Sep 21, 2003 11:48 am
Location: Denver mountains

Post by Tommy Tyler »

Have you tried any of the ideas given here ?
Rod
Posts: 15
Joined: Fri Oct 26, 2007 9:51 pm

Post by Rod »

tried them all, still the same.
Tommy Tyler
Expert
Posts: 411
Joined: Sun Sep 21, 2003 11:48 am
Location: Denver mountains

Post by Tommy Tyler »

Rod, if you're trying to see how few words you can use in your message you could have just replied "Yep" and it would have told us about as much as your answer does. When you say "tried them all" do you mean you tried the jp1xtest program, the reset tests, and the loop back tests? When you say the results were "still the same" does that mean the interface passed the tests or not?

In your opening post you said
"When I try and program it I get this error messages.

"Download remote fails with the "jp12 read failed -1" message, upload to remote successfully uploads but IR finishes with a "data read back is not same as written" "
Is that one error message (this message) or two (these messages)?

Later you said
I tried to test it using "jp1xtest.exe" but it would not work for me it just kep scroling.
You'll have to explain what "kep scroling" means. If you meant "kept scrolling" or "keeps scrolling" please describe what happens, because there should be no scrolling at all, just a black screen, and a few seconds later a pass or fail message. When someone says "it just kept scrolling" I wonder if they mean for a few seconds, or if they could have gone out for a cup of coffee and it would still be scrolling when they came back.

Then you say
I then tried the "TestGroup with Comm Debug" and it worked.
That is very unusual, because you're saying that the test program jp1xtest.exe did not work but the test program Debug_Tester.exe did work. Those programs are similar enough that you should go back and repeat those results several times for verification.

What I'm getting at, Rod, is that you must do enough testing to determine if the interface is good or bad. If it is bad, send it back to Rob. But most of what you've said indicates the interface is operating properly. And you said the remotes are operating properly. That leaves just you and the IR software. You've just got to look closer at what you're doing, make sure things are plugged in correctly, COM port is correct, type of interface is selected correctly, etc. When you got the message from Debug_Tester that said "JP 1.2 remote found!", right there, before changing anything, you should have been able to open IR and download the remote.
Rod
Posts: 15
Joined: Fri Oct 26, 2007 9:51 pm

Post by Rod »

Hello tommy,
I apoligize for my short responses, I suffer from dyslexia and I don't really like to write much.
I am unable to Download from the remote when I try I get "jp12 read failed -1" error message.

I am able to upload most files but I always get a "data read back is not same as written" error message.

I can live with this but I would really like to be able to download from the remote.

I did try the "jp1xtest.exe" and yes it just kept scrolling on and on and on. I get this message:

" C:\Documents and Settings\Rod\Desktop\Remote 2\update>jp1xtest"

No idea why.

The "Debug_Tester.exe" works just fine. I did the same thing on both.


I tried doing a 981-style reset on the remote but that did not work either.

I tried changing the batteries 3x.

I did not try using the resistors because the "Debug_Tester.exe" indicated that the remote was found.

I could by the resistors and try it if you think I should.
I have also uninstalled all programs and reinstalled but still no luck.

I have been using a 8910 for two years now and the IR software has not given me any trouble. I did however, update to IR 7.14 but I still cannot get it to operate properly.

You are correct in stating that it could be me doing something wrong. that is why I have not sent the cabel back and why I am on this site trying to trouble shoot.

I am not really a computer guy I just read the step by step directions and hope it works. So far I have been able to do everything I needed without too much trouble. Until now.

I do appreciate your assistance and I will try to provide more info in the future.


Thank you
vickyg2003
Site Admin
Posts: 7104
Joined: Sat Mar 20, 2004 12:19 pm
Location: Florida
Contact:

Post by vickyg2003 »

Rod, you said you changed batteries 3x. Are these name brand alkaline batteries? I say this because one of my extender users was having this issue and it turned out he was recharging his batteries when he told me he was replacing them, and it turned out the batteries were not holding a charge.

I assume this is the serial cable? If so what is the date on the JP1serial.dll. If its a USB cable, which driver are you using?
Post Reply