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

Upgrade from IR to RM
Goto page 1, 2  Next
 
Post new topic   Reply to topic    JP1 Remotes Forum Index -> JP1 - General Forum
View previous topic :: View next topic  
Author Message
jfath



Joined: 16 Feb 2004
Posts: 9
Location: Bloomington, IN

                    
PostPosted: Mon Feb 16, 2004 1:14 pm    Post subject: Upgrade from IR to RM Reply with quote

Is there a way to move an upgrade from RM (downloaded by modem)
to RM?

The upgrade is for a Samsung TS160 sat receiver. There is an
upgrade file available that I can load into RM, but it is different in
some way than the one that came from UEI. I don't know enough
to tell what's different, but when I look at the upgrade code produced
by the file in RM and the upgrade code downloaded from the remote
in IR, the codes are very different.

Modem UEI upgrade:
5A 00 BE FE C1 31 6F 6F .....

Upgrade file:
5a 18 3e fe 3e f3 1f 6f 6f .....

The reason it matters to me is that I'm using an IrMan and Girder to
control my home theater. I've taught Girder to recognize the buttons
from the original TS160 remote and Girder recognizes both the original
remote and the UEI upgrade as identical. It does not recognize the
signals from the upgrade file as being the same. If I were to
use the upgrade file, I would have to relearn the buttons in Girder
and then the original TS160 remote wouldn't work with Girder.

Oddly, the receiver will work with the file upgrade or the modem
upgrade, but girder sees a difference in the serial stream IrMan
produces.

The modem upgrade is missing some keys that the upgrade file
includes and I want to mess around with some of the mapping,
which is why I want to get it back into RM.

The upgrade text file uses a device type of cable and I've tried
changing that to sat along with playing with protocols, etc., but
I don't know enough to know what might really be different.

That's the long story that brought me to the qyestion of whether
it's possible to move the modem update data into RM.

Any help is much appreciated.

Jerry
Back to top
View user's profile Send private message
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21238
Location: Chicago, IL

                    
PostPosted: Mon Feb 16, 2004 1:28 pm    Post subject: Re: Upgrade from IR to RM Reply with quote

jfath wrote:
Is there a way to move an upgrade from RM (downloaded by modem)
to RM?

The upgrade is for a Samsung TS160 sat receiver. There is an
upgrade file available that I can load into RM, but it is different in
some way than the one that came from UEI. I don't know enough
to tell what's different, but when I look at the upgrade code produced
by the file in RM and the upgrade code downloaded from the remote
in IR, the codes are very different.

Modem UEI upgrade:
5A 00 BE FE C1 31 6F 6F .....

Upgrade file:
5a 18 3e fe 3e f3 1f 6f 6f .....

Is this the file you are looking at: Samsung_SIR-TS160_tuner.txt ?

The relevant parts of the snippet you posted are "5A" and "31 6F 6F", this tells me the protocol is NECx2 with a device code of 9. That totally matches what I see in the KM file.
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
johnsfine
Site Admin


Joined: 10 Aug 2003
Posts: 4766
Location: Bedford, MA

                    
PostPosted: Mon Feb 16, 2004 1:44 pm    Post subject: Re: Upgrade from IR to RM Reply with quote

jfath wrote:

Modem UEI upgrade:
5A 00 BE FE C1 31 6F 6F .....

Upgrade file:
5a 18 3e fe 3e f3 1f 6f 6f .....


Notice the 1f in your upgrade file where the correct value is 31. 31 decimal is 1f hex, but both the 31 and the 1f are hex.

This tells me that you started with a KM file that used the parm value 31 to create NECx2 protocol (rather than select NECx2). Probably it was made before KM had an NECx2 selection.

Then you imported into a version of Remotemaster that didn't know that value from KM was in hex (I think Greg fixed that, but I'm not sure). So RM took the 31 hex and thought it was 31 decimal and used it as 1f hex.

I think RM has NECx2, so it may be cleanest to switch to NECx2 protocol. Otherwise, you need to make sure the parm value in NEC is 31 hex (49 decimal) not 1F hex (31 decimal).
Back to top
View user's profile Send private message Send e-mail Visit poster's website
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21238
Location: Chicago, IL

                    
PostPosted: Mon Feb 16, 2004 1:58 pm    Post subject: Reply with quote

And that KM file does indeed use the parm rather than the NECx2 selection! I was trying to figure out the data in the second snippet, especially the "1F" part, so your explanation was useful.
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
Mark Pierson
Expert


Joined: 03 Aug 2003
Posts: 3017
Location: Connecticut, USA

                    
PostPosted: Mon Feb 16, 2004 3:02 pm    Post subject: Reply with quote

I just updated the file to use 'NECx2' so the problem doesn't occur in the future. Wink
_________________
Mark
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jfath



Joined: 16 Feb 2004
Posts: 9
Location: Bloomington, IN

                    
PostPosted: Mon Feb 16, 2004 3:19 pm    Post subject: Reply with quote

Thanks for all the replies. I'll try the new file Mark posted (I assume
it's in the Yahoo files section now).

A couple of comments/questions:

Yes, I was using Samsung_SIR-TS160_tuner.txt

I did notice that buttons I learned from the remote showed a protocol
of NECx2 while the file showed NEC2.

I'm using RM v0.86 which I think was current as of a couple of days
ago.

If there was a decimal/hex problem in importing, I wouldn't have
expected the receiver to respond correctly to the remote once
I uploaded that upgrade? The receiver recognized those codes and the
ones from the modem upgrade, but the bit streams were different
enough that Girder didn't match the ones from the file. It did
match bothe the ones from the modem upgrade and the original
Samsung remote.

Finally, I still have to ask, is there a way to move the data from the
modem upgrade into RM so I can work in that environment, or is
it simply not possible?

Thanks again.

Jerry
Back to top
View user's profile Send private message
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21238
Location: Chicago, IL

                    
PostPosted: Mon Feb 16, 2004 3:48 pm    Post subject: Reply with quote

jfath wrote:
Finally, I still have to ask, is there a way to move the data from themodem upgrade into RM so I can work in that environment, or is
it simply not possible?

The short answer is that it's not possible.
The long answer is yes, but you would have to do it manually.

1) You would need to recognize the protocol by it's id (ie, $005A)
2) You would need to know how to read the fixed data. In this case, the "31" tells you that it's the NECx2 variant of NEC, and the "6F 6F" tell you that the device code is 9. This protocol is LSB-COMP, so to read that hex data you would first need to invert it, then you read the binary backwards.
3) You would then copy the EFCs, one at a time, from the display in IR over to either RM or KM.

Of course, in this case, you can skip steps 1 and 2 because you already know the protocol and the device codes from the signals that you learned. Actually, you can skip the whole thing because there's an upgrade file that you can use and these are usually much easier to work with than UEI upgrades (if they're created properly) because they include descriptions of what each function actually is, whereas the UEI upgrade just tells you what buttons the EFCs are assigned to, it doesn't tell you what those EFCs actually do.
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
jfath



Joined: 16 Feb 2004
Posts: 9
Location: Bloomington, IN

                    
PostPosted: Mon Feb 16, 2004 4:06 pm    Post subject: Reply with quote

Once again, thanks for the info.

I'm hoping I can skip the whole thing - my concern is that the new
upgrade file will still work with the receiver, but not be recognized
as identical to the original remote when using Girder. The new upgrade
shows fixed data of E0 6F 6F in IR, whereas the modem upgrade
shows fixed data of 31 6F 6F. If the bitstream doesn't match the
one from the original remote, I can't use the OFA and Samsung
remotes interchangeably - not essential, but a plus

Obviously, I don't understand enough about IR bitstreams to know
how/why two different streams can both control the receiver, but
be different enough in pattern that Girder doesn't see a match. I've
read the IR primers, but I'm still learning - thanks for your patience.

Jerry
Back to top
View user's profile Send private message
jfath



Joined: 16 Feb 2004
Posts: 9
Location: Bloomington, IN

                    
PostPosted: Mon Feb 16, 2004 4:27 pm    Post subject: Reply with quote

It was a little worse than I expected. I downloaded the new upgrade
file from the Yahoo files section. It does show NECX2 protocol when
loaded into RM (v0.88), but when I copy the upgrade into IR and
upload, it doesn't control the TS160. The old upgrade file (which
shows NEC2) does control the receiver OK.

Let me know if I can do anything to help test.

Jerry
Back to top
View user's profile Send private message
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21238
Location: Chicago, IL

                    
PostPosted: Mon Feb 16, 2004 4:41 pm    Post subject: Reply with quote

It still sounds like RM is corrupting the data somehow. "E0" is not a valid value for the first byte of fixed data when using the 5A executor. John or Greg will have to comment on what RM might be doing (if anything).

For us to be able to check the data, you would have to post the block of code that you're copying from RM to IR here for us to look at. In the short term you could try editing the data yourself, replacing whatever garbage data gets put in that first position with "31".

To do this, click on EDIT, then look for the "6F 6F" pair, the 1st byte is the one before that pair.
_________________
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
Back to top
View user's profile Send private message Visit poster's website
johnsfine
Site Admin


Joined: 10 Aug 2003
Posts: 4766
Location: Bedford, MA

                    
PostPosted: Mon Feb 16, 2004 5:02 pm    Post subject: Reply with quote

It looks like we have several errors in the protocols.ini file entry for NECx2.

It has this:

[NECx2]
PID=00 5A
CmdTranslator=Translator(lsb,comp)
CmdParms=OBC=0
DevParms=Device Number,Sub Device=[0],Parm:$=31
DeviceTranslator=Translator(lsb,comp,0,8,16) Translator(lsb,comp,1,8,8) \
Translator(comp,2,8,0)

If you change the Last two of those lines to
DeviceTranslator=Translator(lsb,comp,0,8,8) Translator(lsb,comp,1,8,16) \
Translator(2,8,0)

then the fixed data will be computed right. The default for subdevice is still displayed wrong and computed differently wrong. Maybe I can figure that out later or maybe Greg will need to. For now, make sure the device and subdevice are both 9 for this upgrade.


Last edited by johnsfine on Mon Feb 16, 2004 5:03 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jfath



Joined: 16 Feb 2004
Posts: 9
Location: Bloomington, IN

                    
PostPosted: Mon Feb 16, 2004 5:03 pm    Post subject: Reply with quote

Before I do any mapping - just importing the new TS160 KM file into
RM v0.88 gives:

Upgrade code 0 = 64 88 (Cable/1160)
5a 00 01 e0 6f 6f
END

Jerry
Back to top
View user's profile Send private message
Mark Pierson
Expert


Joined: 03 Aug 2003
Posts: 3017
Location: Connecticut, USA

                    
PostPosted: Mon Feb 16, 2004 5:14 pm    Post subject: Reply with quote

johnsfine wrote:
If you change the Last two of those lines to
DeviceTranslator=Translator(lsb,comp,0,8,8 ) Translator(lsb,comp,1,8,16) \
Translator(2,8,0)

Even after changing the above (resaving protocols.ini and restarting RM), the Fixed Data comes out as "1f 6f 6f" for me. Confused
_________________
Mark
Back to top
View user's profile Send private message Send e-mail Visit poster's website
johnsfine
Site Admin


Joined: 10 Aug 2003
Posts: 4766
Location: Bedford, MA

                    
PostPosted: Mon Feb 16, 2004 5:26 pm    Post subject: Reply with quote

I need to check whether my install of RemoteMaster is healthy, since I'm seeing a bunch of problems and I'm not sure which are really RemoteMaster problems and which are due to my computer being set up for developing RemoteMaster rather than ordinary use.

I try to import that KM upgrade and
1) It tells me "Could not find an exact match for the remote" and offers me a choice of RDFs with the correct one already selected.
2) I click OK, but it ignores the choice of RDF and opens with the wrong remote selected.
3) It translates the Parm value to 1F, so I need to erase that to get the correct value of 31 (which only works because I fixed the protocols.ini as decribed above).
4) None of the buttons have functions assigned, even though in the Km file they did.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jfath



Joined: 16 Feb 2004
Posts: 9
Location: Bloomington, IN

                    
PostPosted: Mon Feb 16, 2004 5:26 pm    Post subject: Reply with quote

Yep, after changing protocols.ini, I get 1f,6f,6f and the new NECx2
upgrade file does control the receiver correctly.

I still don't understand why the UEI modem upgrade had 31,6f,6f.
I imagine that's a clue as to why the original remote and modem
upgraded OFA don't produce the same bitstreams as the RM upgraded
OFA. That won't matter a bit to most people, though, so I guess I'll
either live with it or try to learn enough to investigate intelligently.

Thanks again for all the help.

Jerry
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 - General Forum All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 
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