How to make upgrade from lirc conf file for iMON-PAD remote

If you have learned signals that don't get decoded when you look at them in IR.exe, post your file to the Diagnosis Area then post your question here (including a link to the file).

Moderator: Moderators

The Robman
Site Owner
Posts: 21886
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post 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:
http://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.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
pjigar
Posts: 26
Joined: Thu May 05, 2005 9:51 am

Post 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
The Robman
Site Owner
Posts: 21886
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post 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.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
hansdegit
Posts: 39
Joined: Mon Oct 06, 2003 8:14 am
Location: Schagen, Netherlands

Please, John?

Post by hansdegit »

Have you got time to check this thread ?

TIA.
hansdegit
Posts: 39
Joined: Mon Oct 06, 2003 8:14 am
Location: Schagen, Netherlands

Any reply form UEI yet?

Post 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
The Robman
Site Owner
Posts: 21886
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Re: Please, John?

Post 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.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
The Robman
Site Owner
Posts: 21886
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Re: Any reply form UEI yet?

Post 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?
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
hansdegit
Posts: 39
Joined: Mon Oct 06, 2003 8:14 am
Location: Schagen, Netherlands

Post 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."

http://www.hifi-remote.com/forums/viewt ... 4959#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.
The Robman
Site Owner
Posts: 21886
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post 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.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
hansdegit
Posts: 39
Joined: Mon Oct 06, 2003 8:14 am
Location: Schagen, Netherlands

Post by hansdegit »

That would be fantastic. Let's hope John soon finds those 5 minutes.... :)
johnsfine
Site Admin
Posts: 4766
Joined: Sun Aug 10, 2003 5:00 pm
Location: Bedford, MA
Contact:

Post 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.
The Robman
Site Owner
Posts: 21886
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post 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
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
The Robman
Site Owner
Posts: 21886
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post 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.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
The Robman
Site Owner
Posts: 21886
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

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!
The Robman
Site Owner
Posts: 21886
Joined: Fri Aug 01, 2003 9:37 am
Location: Chicago, IL
Contact:

Post by The Robman »

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!
Post Reply