View previous topic :: View next topic |
Author |
Message |
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21237 Location: Chicago, IL |
Posted: Fri Sep 30, 2005 5:36 pm Post subject: |
|
|
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:
http://www.hifi-remote.com/forums/dload.php?action=file&file_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. _________________ 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 |
|
|
pjigar
Joined: 05 May 2005 Posts: 26
|
Posted: Sat Oct 01, 2005 11:55 am Post subject: |
|
|
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 |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21237 Location: Chicago, IL |
Posted: Sat Oct 01, 2005 1:02 pm Post subject: |
|
|
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. _________________ 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 |
|
|
hansdegit
Joined: 06 Oct 2003 Posts: 39 Location: Schagen, Netherlands |
Posted: Thu Oct 13, 2005 9:34 am Post subject: Please, John? |
|
|
Have you got time to check this thread ?
TIA. |
|
Back to top |
|
|
hansdegit
Joined: 06 Oct 2003 Posts: 39 Location: Schagen, Netherlands |
Posted: Thu Oct 13, 2005 9:45 am Post subject: Any reply form UEI yet? |
|
|
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 |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21237 Location: Chicago, IL |
Posted: Thu Oct 13, 2005 10:51 am Post subject: Re: Please, John? |
|
|
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. _________________ 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 |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21237 Location: Chicago, IL |
Posted: Thu Oct 13, 2005 10:52 am Post subject: Re: Any reply form UEI yet? |
|
|
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? _________________ 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 |
|
|
hansdegit
Joined: 06 Oct 2003 Posts: 39 Location: Schagen, Netherlands |
Posted: Sat Oct 22, 2005 7:28 am Post subject: |
|
|
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."
http://www.hifi-remote.com/forums/viewtopic.php?p=34959#34959
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. |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21237 Location: Chicago, IL |
Posted: Sat Oct 22, 2005 8:00 am Post subject: |
|
|
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. _________________ 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 |
|
|
hansdegit
Joined: 06 Oct 2003 Posts: 39 Location: Schagen, Netherlands |
Posted: Wed Oct 26, 2005 2:47 pm Post subject: |
|
|
That would be fantastic. Let's hope John soon finds those 5 minutes.... |
|
Back to top |
|
|
johnsfine Site Admin
Joined: 10 Aug 2003 Posts: 4766 Location: Bedford, MA |
Posted: Fri Nov 04, 2005 10:24 am Post subject: |
|
|
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. |
|
Back to top |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21237 Location: Chicago, IL |
Posted: Fri Nov 04, 2005 1:52 pm Post subject: |
|
|
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 _________________ 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 |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21237 Location: Chicago, IL |
Posted: Fri Nov 04, 2005 9:56 pm Post subject: |
|
|
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. _________________ 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 |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21237 Location: Chicago, IL |
Posted: Fri Nov 11, 2005 3:32 pm Post subject: |
|
|
Hans? Pjigar? It's been a week, have you had a chance to test it yet? _________________ 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 |
|
|
The Robman Site Owner
Joined: 01 Aug 2003 Posts: 21237 Location: Chicago, IL |
Posted: Mon Nov 14, 2005 10:50 pm Post subject: |
|
|
This is disappointing. _________________ 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 |
|
|
|