IRToWav problem with Kameleon upgrade
Moderator: Moderators
IRToWav problem with Kameleon upgrade
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!
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!
-
The Robman
- Site Owner
- Posts: 22046
- Joined: Fri Aug 01, 2003 9:37 am
- Location: Chicago, IL
- Contact:
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.
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!
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
The model number is URC-8206 (as mentioned above
)
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!
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!
-
aberguerand
- Advanced Member
- Posts: 259
- Joined: Sun Aug 10, 2003 11:55 pm
- Location: Lausanne, VD, Switzerland
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 ?
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
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!
)...
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...
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!
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...
-
aberguerand
- Advanced Member
- Posts: 259
- Joined: Sun Aug 10, 2003 11:55 pm
- Location: Lausanne, VD, Switzerland
-
Mark Pierson
- Expert
- Posts: 3023
- Joined: Sun Aug 03, 2003 12:13 am
- Location: Connecticut, USA
- Contact:
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.
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.
-
aberguerand
- Advanced Member
- Posts: 259
- Joined: Sun Aug 10, 2003 11:55 pm
- Location: Lausanne, VD, Switzerland
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?
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?
-
aberguerand
- Advanced Member
- Posts: 259
- Joined: Sun Aug 10, 2003 11:55 pm
- Location: Lausanne, VD, Switzerland
-
aberguerand
- Advanced Member
- Posts: 259
- Joined: Sun Aug 10, 2003 11:55 pm
- Location: Lausanne, VD, Switzerland
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.
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