|
JP1 Remotes
|
View previous topic :: View next topic |
Author |
Message |
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21234 Location: Chicago, IL |
Posted: Sun Jul 20, 2008 8:18 am Post subject: |
|
|
~Vicky,
I saw the repeating pattern by going back to the original pronto hex, but you can also see it in the IRP above...
Form=*,D:8,S:8,F:8,F:4:4,~F:4,_;*,1:1,_
This form statement means the signal includes....
leadin (*)
an 8 bit device code
an 8 bit sub-device code
an 8 bit function code
a repeat of the function code starting with bit 4 for a length of 4
a complement of the first 4 bits of the function code
repeating portion:
leadin (*)
a 1 bit code, value 1
Regarding using 2 variable bytes instead of using assembler, absolutely, you can do that, and sometimes it's the right thing to do. When deciding, you need to look at how many bytes of assembler will be needed vs. how many buttons are likely to be in the upgrade, because each button will now use up 2 bytes of the upgrade instead of 1. In this case, it took 10 bytes of assembler to generate the checksum and there are 17 buttons likely to be in the upgrade. However, if you don't know how to write assembler, you might want to chose to generate the checksum outside of the upgrade.
In this case, I also needed assembler to generate the repeating portion, but it may have been possible to do it using the IR engine. The repeating portion is very similar to the repeating portion of the NEC1 signal, which is done entirely using the IR engine. However, there is no data in the NEC1 repeating portion. What threw me here is the 1 bit data code in the repeating portion, which is why I did it by hand. _________________ 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 |
|
|
mr_d_p_gumby Expert
Joined: 03 Aug 2003 Posts: 1370 Location: Newbury Park, CA |
Posted: Sun Jul 20, 2008 2:25 pm Post subject: |
|
|
kupakai wrote: | ...I'm not quite clear on which DCBUF holds what yet. | The first bytes in DCBUF will be the fixed data from the setup code. In this case there would be 2 bytes of fixed data, so DCBUF+0 (R03) would contain the first byte of fixed data and DCBUF+1 (R04) would contain the second.
Right after the fixed data will be one or more command bytes (the ones assigned to a button in the setup code). So DCBUF+2 (R05) would have the single command byte in Rob's PB scenario. He then generates the checkbyte in assembly and stores it in DCBUF+3 (R06) as a second command byte.
For the S3C8 processors, DCBUF starts at R03, and is a maximum of ten bytes in length. _________________ Mike England |
|
Back to top |
|
|
binky123 Expert
Joined: 14 Feb 2004 Posts: 1292
|
Posted: Sun Jul 20, 2008 7:38 pm Post subject: |
|
|
I updated the PB file here to include a HCS08 version and tested both and it seems to be sending the correct signal.
The test device upgrade uses two signals from kupakai's post. Fixed data is AB 54. C0 is Power On. 20 is Power Off.
Code: |
Upgrade protocol 0 = 01 FF (S3C8+) Vudu (PB v4.00)
40 84 21 8B 13 CE 4C 08 08 01 18 03 16 01 18 01
04 BD 38 11 80 08 AC 08 E4 05 06 F0 06 B6 06 0F
20 11 F6 01 46 E6 12 01 E6 11 00 B6 29 01 8D 01
46
End
Upgrade protocol 0 = 01 FF (HCS08) Vudu (PB v4.00)
20 16 21 43 21 CF 4C 08 08 01 18 03 2A 01 18 01
18 BD 38 11 80 08 C0 08 B6 62 62 A8 0F B7 63 3C
AA CD FF 5F A6 01 B7 6A 3F AA B8 A3 B7 A3 CC FF
5F
End
Upgrade Code 0 = 0C 2C (CBL/1068) Test Vudu
FF 00 21 AB 54 C0 20
End
|
|
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21234 Location: Chicago, IL |
Posted: Sun Jul 20, 2008 10:07 pm Post subject: |
|
|
Did you need to make any corrections to my code? I'd be surprised to hear that it worked perfectly first time. _________________ 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 |
|
|
binky123 Expert
Joined: 14 Feb 2004 Posts: 1292
|
Posted: Mon Jul 21, 2008 12:46 am Post subject: |
|
|
No changes needed. I used symbol names instead of registers to make it easier to compare the two versions. |
|
Back to top |
|
|
Revwillie
Joined: 04 Aug 2003 Posts: 39
|
Posted: Fri Jul 25, 2008 9:21 pm Post subject: |
|
|
my IR dongle arrived in the mail today, so I have test results!
Every command works. At first, I thought "more info" was not functioning, but it is only used so far in entering passcode combinations. It works.
Rob, you are amazing. Thank you everyone who contributed to the effort. I'm going to write up the details as soon as I get a chance this weekend. Right now, my wife wants to rent The Other Bolyn Girl and I don't want to keep Natalie and Scarlett waiting...
summary for KM:
Protocol: Manual Settings (paste in Rob's code)
DVD 2047
Device 1: 213
Device 2: 42
Functions:
channel up: ha0
channel down: h60
power: h40
menu: h04
program guide: h04
display/info: h94
exit: hd0
up: h48
down: hc8
left: h28
right: ha8
select: hd4
sleep: h20
play: h98
pause: hb8
rew: h58
ff: hd8
discrete on: hc0
discrete off: h20
I got it working on my 2117 as well as my HTpro, 1994, old6131 and showstopper remotes.
FYI the 'more info' command was the only one that when learned from the 2117 to the HTPro gave results that looked odd:
|
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21234 Location: Chicago, IL |
|
Back to top |
|
|
|
|
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
|