JP1 Remotes Forum Index JP1 Remotes


FAQFAQ SearchSearch 7 days of topics7 Days MemberlistMemberlist UsergroupsUsergroups RegisterRegister
ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in

IRToWav problem with Kameleon upgrade
Goto page 1, 2  Next
 
Post new topic   Reply to topic    JP1 Remotes Forum Index -> JP1 - Software
View previous topic :: View next topic  
Author Message
jnut



Joined: 10 Jan 2007
Posts: 17

                    
PostPosted: Wed Jan 10, 2007 6:02 pm    Post subject: IRToWav problem with Kameleon upgrade Reply with quote

Hi folks,

I'm totally new to this, great work you're doing here.

I'm trying to load my Kameloen URC-8206 remote with a customised device upgrade, using the built-in modem (to save having to make a cable). I'm having trouble with IRToWav though. Hope someone can help!

I've built the upgrade in KM, transferred it into IR and saved the image as a text file. But when I try to convert it using IRToWav, I get the following error message:

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 60416
at IRToWav.main(IRToWav.java:299)

The Export to WAV menu option in IR doesn't work either.

The text file saved from IR starts off like this - is this the correct format?

EC00: 31 30 32 31 31 30 32 31 6D 92 00 00 10 00 20 00
EC10: 30 00 40 00 50 00 41 6C 01 57 01 29 2E FF 64 66
EC20: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
etc.

In case it helps, I noticed that the starting address EC00 in decimal is 60416 - the same as the number in the error message. Maybe a clue in that?

Thanks in advance for any help!
Back to top
View user's profile Send private message
The Robman
Site Owner


Joined: 01 Aug 2003
Posts: 21234
Location: Chicago, IL

                    
PostPosted: Wed Jan 10, 2007 7:06 pm    Post subject: Reply with quote

There are MANY different kameleon remotes out there, so you'll need to supply a model number. From the look of your code snippet, I'm guessing that you have one of the more recent JP1.2 models. I don't know that anyone's tested IR2WAV with one of these remotes.

In the old days, the EEPROM data always started at address $0000 but as you can see, the fake "EEPROM" in the JP1.2 remotes doesn't start at $0000, maybe this is a problem for the IR2WAV code.
_________________
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
View user's profile Send private message Visit poster's website
jnut



Joined: 10 Jan 2007
Posts: 17

                    
PostPosted: Thu Jan 11, 2007 1:51 pm    Post subject: Reply with quote

The model number is URC-8206 (as mentioned above Wink )

As an experiment I tried cutting out the part of the image containing the upgrade and changing the addresses on each line to start with 0000. I now get a WAV file generated, but the remote doesn't want to know when I try to upload it. I could have set the "signature" wrong though - I guessed at KAME but there are several other choices, anyone know which is correct for this model?

Thanks!
Back to top
View user's profile Send private message
johnsfine
Site Admin


Joined: 10 Aug 2003
Posts: 4766
Location: Bedford, MA

                    
PostPosted: Thu Jan 11, 2007 2:10 pm    Post subject: Reply with quote

I have no clue whether IRToWav supports JP1.2 remotes such as the 8206.

What you tried sounds reasonable, except that the signature for an 8206 is 1021, not KAME.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
aberguerand
Advanced Member


Joined: 11 Aug 2003
Posts: 257
Location: Lausanne, VD, Switzerland

                    
PostPosted: Fri Jan 12, 2007 11:11 am    Post subject: Reply with quote

I have uploaded v1.8 of IRToWav that should handle the non 0x0000 based format of JP1.2 IR files. I have only tested it with a complete image, so it might not work correctly with a partial image.
I had to put it in the Tools/Others section, as I have to rights to upload to the Tools/Main section, so can an admin please replace the old version of IRToWav in the Main section with this new one ?
_________________
Alain
Back to top
View user's profile Send private message
jnut



Joined: 10 Jan 2007
Posts: 17

                    
PostPosted: Fri Jan 12, 2007 11:17 am    Post subject: Reply with quote

Thanks for that, I will try again with "1021" for the signature. (How do you find this out by the way??)

Seems a shame that IRToWav doesn't support this remote, I'm sure it would only take a minor tweak to fix this limitation (hint to the author! Wink )...

edit: WOW!!! The fix appeared as I was typing that! That's what I call service! Will try it out as soon as I get a chance...
Back to top
View user's profile Send private message
johnsfine
Site Admin


Joined: 10 Aug 2003
Posts: 4766
Location: Bedford, MA

                    
PostPosted: Fri Jan 12, 2007 11:23 am    Post subject: Reply with quote

jnut wrote:
"1021" for the signature. (How do you find this out by the way??)


It's writen right here "EC00: 31 30 32 31" (from your earlier post) if you know hex ascii. But I also checked the rdf file.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
aberguerand
Advanced Member


Joined: 11 Aug 2003
Posts: 257
Location: Lausanne, VD, Switzerland

                    
PostPosted: Fri Jan 12, 2007 11:27 am    Post subject: Reply with quote

@jnut :
The author is actually another proud owner of an 8206. Wink
_________________
Alain
Back to top
View user's profile Send private message
Mark Pierson
Expert


Joined: 03 Aug 2003
Posts: 3017
Location: Connecticut, USA

                    
PostPosted: Fri Jan 12, 2007 4:44 pm    Post subject: Reply with quote

jnut wrote:
I will try again with "1021" for the signature. (How do you find this out by the way??)
Every RDF file contains the remote signature in the filename.
_________________
Mark
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jnut



Joined: 10 Jan 2007
Posts: 17

                    
PostPosted: Sat Jan 20, 2007 12:31 pm    Post subject: Reply with quote

Ok, I've finally tried the new version of IRToWav but am still having problems.

If I run it from the command line, I get the following error:

Exception in thread "main" java.lang.UnsupportedClassVersionError: IRToWav (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)

(java -version reports that I have version 1.4.2_03 installed.)

But strangely, the Export to Wav option in IR.EXE now works, or at least it successfully generates a wav file. However, the remote still won't accept it. During the modem upload process, the display on the remote is supposed to stay blank until the end of the wav file and then give 2 short flashes of the IR indicator to indicate success. But when I play back this generated wav file to it, the display always comes back on about 2 seconds into the file and gives 1 long flash of the IR indicator (presumably to indicate an error).

Any more ideas?

Thanks,
J.
Back to top
View user's profile Send private message
aberguerand
Advanced Member


Joined: 11 Aug 2003
Posts: 257
Location: Lausanne, VD, Switzerland

                    
PostPosted: Mon Jan 22, 2007 12:57 pm    Post subject: Reply with quote

Can you try uploading the generated wav file to the diagnosis area (zipping it first) ?
_________________
Alain
Back to top
View user's profile Send private message
jnut



Joined: 10 Jan 2007
Posts: 17

                    
PostPosted: Sat Jan 27, 2007 3:14 pm    Post subject: Reply with quote

Having tried a few more things, I now think that I didn't manage to generate a new WAV file at all - I think that when I used the "Export To Wav" option from IR.EXE, it was just re-naming the existing upgrade.wav file to the new filename I supplied.

I also found that from the command line, I get the above error message even if I just type "java IRToWav" without any other arguments. So it's nothing to do with my upgrade or the EEPROM image that IR created for me. Maybe a problem with my Java install?
Back to top
View user's profile Send private message
aberguerand
Advanced Member


Joined: 11 Aug 2003
Posts: 257
Location: Lausanne, VD, Switzerland

                    
PostPosted: Mon Jan 29, 2007 7:40 am    Post subject: Reply with quote

jnut,

check this thread related to problems running IRToWav.
_________________
Alain
Back to top
View user's profile Send private message
jnut



Joined: 10 Jan 2007
Posts: 17

                    
PostPosted: Mon Jan 29, 2007 5:58 pm    Post subject: Reply with quote

Everything is set up as described in the thread above but the error message mentioned in there is different to the one I'm getting.

I'll have a go at running it on my work PC...
Back to top
View user's profile Send private message
aberguerand
Advanced Member


Joined: 11 Aug 2003
Posts: 257
Location: Lausanne, VD, Switzerland

                    
PostPosted: Tue Jan 30, 2007 1:09 am    Post subject: Reply with quote

I think the problem is due to you running Java 1.4 while I compiled IRToWav with Java 1.5.
I have recompiled it with backwards compatibility option and uploaded it here.
Let me know if it solves your problem, and I will update the main version.
_________________
Alain
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic       JP1 Remotes Forum Index -> JP1 - Software All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
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
Top 7 Advantages of Playing Online Slots The Evolution of Remote Control