Page 4 of 5
Posted: Fri Sep 30, 2005 4:36 pm
by The Robman
I have created a new exec for the POWER button but it doesn't work. It's not very complicated but I can't see what's wrong with it. When I try learning the signal from one remote to another, the learning remote immediately stops learning.
The PB file is here:
https://www.hifi-remote.com/forums/dload ... le_id=2227
The mini device upgrade that you would use to invoke it is in the Notes panel.
Just FYI, I'm processing all the data backwards in this, so for example, the R04 variable byte would format the first part of the signal and the R03 fixed byte would format the 2nd part of the signal.
Posted: Sat Oct 01, 2005 10:55 am
by pjigar
I have a dumb question. Which program do I use to open this file? I think PB means protocol builder. WHere do I learn more about protocol builder so that I can create device upgrade after I make any chnages. I have premitive knowledge about firmware programming but I will learn more.
Thanks,
pjigar
Posted: Sat Oct 01, 2005 12:02 pm
by The Robman
pjigar wrote:I have a dumb question. Which program do I use to open this file? I think PB means protocol builder.
Yes it does.
pjigar wrote:WHere do I learn more about protocol builder so that I can create device upgrade after I make any chnages. I have premitive knowledge about firmware programming but I will learn more.
I wrote up a beginners guide
here, but it just covers the basic functions of PB, it doesn't cover how to write assembler code which is what's needed here. To learn about the assembler,
read this, that will tell you what each command does, but it won't give you any info on what the UEI called routines do, nor how the UEI IR engine works. I don't believe that stuff has been written up anywhere unfortunately.
I'm hoping that John Fine will take a peek back at this thread and review the code to see why it doesn't work.
Please, John?
Posted: Thu Oct 13, 2005 8:34 am
by hansdegit
Have you got time to check this thread ?
TIA.
Any reply form UEI yet?
Posted: Thu Oct 13, 2005 8:45 am
by hansdegit
Hi Rob,
In an earlier post you mentioned that you've sent UEI an email regarding this issue.
Have you received a reply from UEI?
Thanks & regards,
Hans
Re: Please, John?
Posted: Thu Oct 13, 2005 9:51 am
by The Robman
hansdegit wrote:Have you got time to check this thread ?
TIA.
It's not on my radar anymore, I was hoping John would offer some advice but that hasn't been forthcoming, so I guess we've had our first case of something where we have failed to offer a solution.
Re: Any reply form UEI yet?
Posted: Thu Oct 13, 2005 9:52 am
by The Robman
hansdegit wrote:Hi Rob,
In an earlier post you mentioned that you've sent UEI an email regarding this issue.
Have you received a reply from UEI?
Thanks & regards,
Hans
It's been too long, please remind me what I would have been asking them?
Posted: Sat Oct 22, 2005 6:28 am
by hansdegit
Hi Rob,
In another thread you said on 28th of september:
"I doubt that anyone here is going to sort out this protocol so that it supports all of the functions because it's a mess. I've forwarded the info to UEI just in case one of their protocol writers wants to take it on, as at least they're getting paid to do this."
https://www.hifi-remote.com/forums/viewt ... 4959#p34959
It was about decoding a propietary IR signal for an iMon PAD remote.
As pjigar already stated, it's all about this Power function. When we got that working, we're able to control our HTPC with our JP1 remotes.
Posted: Sat Oct 22, 2005 7:00 am
by The Robman
Oh yeah, I did forward the info on this to one of my contacts there and he said that he'd have the protocol guy look at it, but I haven't heard back so I guess that it hasn't made it to the top of their priority list.
As for the POWER button, I've got to believe that the code that I wrote is pretty close and that as soon as John Fine has a spare 5 minutes to look at it, he'll spot whatever stupid mistake that I've made and we'll be in business.
Posted: Wed Oct 26, 2005 1:47 pm
by hansdegit
That would be fantastic. Let's hope John soon finds those 5 minutes....

Posted: Fri Nov 04, 2005 9:24 am
by johnsfine
Rob, I finally took a slightly closer look at that asm code (I'd still rather look at an IR capture of what it sends before trying to understand why. But I figured I'd get started).
I don't understand the use of w2 on the Loop1 line. What does w2 contain on entry to an executor? I don't really follow the comments or the logic, but it looks almost like you intended to use w6 there.
Posted: Fri Nov 04, 2005 12:52 pm
by The Robman
That's the sort of feedback I was looking for. When I first wrote this exec I was using the W2 register as "index1" but at some point I switched to W6, I think because I discovered that the W2 register was getting overlaid in a ROM routine. I obviously missed the reference that you found, which should also be referring to the W6 register.
I have just updated the
PB file so that it uses the W6 register, and I will test it this evening.
If you want to test it yourself, here's the device upgrade...
Upgrade Code 0 = 68 00 (Cable/0000)
FF 00 11 4A E3
End
and the protocol upgrade...
Upgrade protocol 0 = 01 FF (S3C8+) iMON Power (PB v3.11)
42 89 11 8B 11 00 00 DC 02 55 00 DC 03 F6 02 55
02 55 12 16 18 1A 6C 02 87 36 02 4C 04 58 C3 56
C5 03 87 15 1E F6 01 4C E0 C3 E0 C3 4A EF 6A E8
1C 16 F6 01 4C 1C 16 F6 01 4C C6 F8 F0 3C F6 01
58 F6 01 0A 7B D0 AF
End
Posted: Fri Nov 04, 2005 8:56 pm
by The Robman
I've tested the upgrade and protocol and made some corrections, and it looks like it's a pretty close match to the original now, so give it a try.
Posted: Fri Nov 11, 2005 2:32 pm
by The Robman
Hans? Pjigar? It's been a week, have you had a chance to test it yet?
Posted: Mon Nov 14, 2005 9:50 pm
by The Robman
This is disappointing.