Posted: Sat Feb 18, 2012 3:47 am
if you post the current source code somewhere i can try to fix it...
I can tell you what is happening, but not why, and not where the fault lies. If you open the original .rmir file as a text file (you may need to change its extension to .txt to do this) and scroll down to the lower part, you will see that three of the [LearnedSignal] sections have an entry "SegmentFlags=255" and the others do not. A missing entry is equivalent to "SegmentFlags=0". They all should be 255, and although RMIR shows all six when you load the .rmir file, the remote is ignoring those with value 0 when you upload to it.spalter3 wrote:i learned a few signals, downloaded them from the remote, edited a device, reuploaded the whole thing and noticed that half the learned signals were gone. when i re-download they're also missing.
I just opened up the "Windows Media Center v2 para URC-7960" RMDU file which he included in his upload and it appears this manual protocol does in fact have a translation for both HCS08 and S3C80. In fact, the S3C80 information is duplicated in the notes section of the upgrade.mathdon wrote:I don't know where you got that protocol from, but it is for the wrong processor. You have used a protocol for the HCS08 processor in a remote that uses the S3F8 processor, which is why it locks up. As the error message says, the code is not consistent with the remote.
So, it could be a possible bug somewhere if Remote Master or the RDF if it is assigning the wrong processor version of the manual protocol to the URC-7960.Code.HCS08=20 16 24 4B 81 CE 05 08 08 00 DD 00 00 00 00 00 DE D0 12 05 36 01 BB 04 01 B3 12 01 61 06 B6 61 A8 F0 B7 61 03 61 06 B6 66 A8 C0 B7 66 B6 68 AE 08 CD FF 8C BF 68 B7 69 6E 02 A9 6E 08 AA CC FF 5F
Code.S3C80=20 16 24 4B 81 CE 05 08 08 00 DD 00 00 00 00 00 DE D0 12 05 36 01 BB 04 01 B3 12 01 61 06 B6 61 A8 F0 B7 61 03 61 06 B6 66 A8 C0 B7 66 B6 68 AE 08 CD FF 8C BF 68 B7 69 6E 02 A9 6E 08 AA CC FF 5F
Notes=Upgrade Protocol 0 \= 01 2A (S3C8+)\n47 93 81 8B 09 00 05 37 01 A4 00 DE 00 CE 08 00 58 04 37 50 06 37 00 03 B6 04 F0 37 52 06 37 00 03 B6 09 C0 2C 08 38 0B CF 10 0C 10 0B DF 10 0C 10 0B 90 C3 FB 03 B6 0C 03 2A ED 1C 12 F6 01 4C 77 71 38 03 F6 FF 6B 38 04 F6 FF 67 B0 C6 87 36 05 F6 FF 6B 6E 37 66 F6 77 70 C6 F8 87 FF F6 01 58 F6 01 0A 7B D5 AF 4C 04 8B 02 4C 08 90 C3 7B 09 77 70 1C 18 F6 01 6D 8B 07 1C 16 F6 01 64 77 71 4A EA AF\nEnd\n\nUpgrade Protocol 0 \= 01 2A (S3C8+)\n20 16 24 4B 81 CE 05 08 08 00 DD 00 00 00 00 00 DE D0 12 05 36 01 BB 04 01 B3 12 01 61 06 B6 61 A8 F0 B7 61 03 61 06 B6 66 A8 C0 B7 66 B6 68 AE 08 CD FF 8C BF 68 B7 69 6E 02 A9 6E 08 AA CC FF 5F\nEnd
I just uploaded your upgrade into one of my remotes and it appears it's using the MCE protocol with Device = 4 and OEM2 = 15. This protocol is now well defined and no longer needs a manual protocol to address it. Go ahead and change protocol in RM or DUE from "Manual Settings" to "MCE" with the aforementioned parameters and it will use the built-in protocol which is built-into the protocol.ini of RM/RMIR.regne v wrote:When I try to edit back the Media Center code I get a "The code for the protocol for this device ugrade is not consistent..." message and if It press the "Edit Protocol" button nothing happens.
Okay after further examination of the upgrade, it seems that the code for the S3C80 and HCS08 is the exactly the same. Even someone with my limited intelligence knows that it is impossible for the assembly instructions for two different processor architectures to be the equal. I also noticed that it is very similar to the code documented in the protocol.ini section for the MCE variant 2. That stands to reason why Mathodon believes that it was specifically meant for an HCS08 remote.eferz wrote:I just opened up the "Windows Media Center v2 para URC-7960" RMDU file which he included in his upload and it appears this manual protocol does in fact have a translation for both HCS08 and S3C80. In fact, the S3C80 information is duplicated in the notes section of the upgrade.Code.HCS08=20 16 24 4B 81 CE 05 08 08 00 DD 00 00 00 00 00 DE D0 12 05 36 01 BB 04 01 B3 12 01 61 06 B6 61 A8 F0 B7 61 03 61 06 B6 66 A8 C0 B7 66 B6 68 AE 08 CD FF 8C BF 68 B7 69 6E 02 A9 6E 08 AA CC FF 5F
Code.S3C80=20 16 24 4B 81 CE 05 08 08 00 DD 00 00 00 00 00 DE D0 12 05 36 01 BB 04 01 B3 12 01 61 06 B6 61 A8 F0 B7 61 03 61 06 B6 66 A8 C0 B7 66 B6 68 AE 08 CD FF 8C BF 68 B7 69 6E 02 A9 6E 08 AA CC FF 5F
Notes=Upgrade Protocol 0 \= 01 2A (S3C8+)\n47 93 81 8B 09 00 05 37 01 A4 00 DE 00 CE 08 00 58 04 37 50 06 37 00 03 B6 04 F0 37 52 06 37 00 03 B6 09 C0 2C 08 38 0B CF 10 0C 10 0B DF 10 0C 10 0B 90 C3 FB 03 B6 0C 03 2A ED 1C 12 F6 01 4C 77 71 38 03 F6 FF 6B 38 04 F6 FF 67 B0 C6 87 36 05 F6 FF 6B 6E 37 66 F6 77 70 C6 F8 87 FF F6 01 58 F6 01 0A 7B D5 AF 4C 04 8B 02 4C 08 90 C3 7B 09 77 70 1C 18 F6 01 6D 8B 07 1C 16 F6 01 64 77 71 4A EA AF\nEnd\n\nUpgrade Protocol 0 \= 01 2A (S3C8+)\n20 16 24 4B 81 CE 05 08 08 00 DD 00 00 00 00 00 DE D0 12 05 36 01 BB 04 01 B3 12 01 61 06 B6 61 A8 F0 B7 61 03 61 06 B6 66 A8 C0 B7 66 B6 68 AE 08 CD FF 8C BF 68 B7 69 6E 02 A9 6E 08 AA CC FF 5F\nEnd
I do think though it is funny that whomever wrote the notes for that upgrade probably included the proper S3C80 assembly but failed to actually implement it into the upgrade. Then they misnamed the second upgrade protocol's compatibility in the notes since that duplicates the entry of the HCS08 assembly. Oi vey, so mashugana! In any case as suggested earlier, the MCE protocol is now well defined and there's no longer a reason to use the manual protocol for pid "01 2A" which is currently mis-defined in the upgrade to represent it on anything but a HCS08 remote.Code.HCS08=20 16 24 4B 81 CE 05 08 08 00 DD 00 00 00 00 00 DE D0 12 05 36 01 BB 04 01 B3 12 01 61 06 B6 61 A8 F0 B7 61 03 61 06 B6 66 A8 C0 B7 66 B6 68 AE 08 CD FF 8C BF 68 B7 69 6E 02 A9 6E 08 AA CC FF 5F
The actual reason I said it was meant for an HCS08 remote is that it disassembles sensibly in RM when copied into the HCS08 line of a new manual protocol, but crashes the disassembler when in the S3C80 line.eferz wrote:That stands to reason why Mathodon believes that it was specifically meant for an HCS08 remote.