Re: [concordance-devel] Firmware Upgrade 525
On Thu, Feb 12, 2009 at 12:32:28PM +0100, Michael Frase wrote: Sorry that I didn't answer earlier. But I was not at home for several weeks and wasn't able to check my private Mails. Now that I'm back again I have tried the patch with my harmony 555 and can confirm Simons experience! Firmware upgrade works now. Phil, do you need some more logs to check the details? Nope. I know exactly what happend. For those that are interested... In the 880s you write to staging area and then write the magic finish byte to a special location and reboot. The remote than copies the firmware to the proper location and updates its internal state. With the 5xx, the space is much tighter, so instead of writing to a staging area you overwrite the firmware directly (doing this in the 880 is dangerous, but on the 5xx its designed to handle this). We were, however, not writing the correct magic finish byte and upon rebooting it didn't *know* about the upgrade. However it was actually *using* the new firmware (we overwrote the old one!) so when you dumped the firmware it matched the new firmware. Writing a 2 instead of a 0 triggered the procedure and all is well. Thanks to Stephen for the good eye. -- Phil Dibowitz p...@ipom.com Open Source software and tech docsInsanity Palace of Metallica http://www.phildev.net/ http://www.ipom.com/ Never write it in C if you can do it in 'awk'; Never do it in 'awk' if 'sed' can handle it; Never use 'sed' when 'tr' can do the job; Never invoke 'tr' when 'cat' is sufficient; Avoid using 'cat' whenever possible -- Taylor's Laws of Programming signature.asc Description: Digital signature -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel
Re: [concordance-devel] Firmware Upgrade 525
Stephen, Have you been looking at any of the firmware-on-525 stuff? I've poured over it several times and sent several debug patches to folks and looked through the dumps a lot... But I don't see anything we're doing differently. We're getting the firmware to update, but we're missing some magic that lets the remote know it's on a new version. I could really use a second set of eyes if you have some time. Since you managed to figure out the magic bytes before, I figured you may habe some luck with this. I'm happy to send you all of the various debug stuff I have offlist if you're interested... Thanks, -- Phil Dibowitz p...@ipom.com Open Source software and tech docsInsanity Palace of Metallica http://www.phildev.net/ http://www.ipom.com/ Never write it in C if you can do it in 'awk'; Never do it in 'awk' if 'sed' can handle it; Never use 'sed' when 'tr' can do the job; Never invoke 'tr' when 'cat' is sufficient; Avoid using 'cat' whenever possible -- Taylor's Laws of Programming signature.asc Description: OpenPGP digital signature -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel
Re: [concordance-devel] Firmware Upgrade 525
Phil Dibowitz wrote: Stephen, Have you been looking at any of the firmware-on-525 stuff? I've poured over it several times and sent several debug patches to folks and looked through the dumps a lot... I haven't looked at it at all. I thought the thing you were missing was answered by Kevin (the mystery bytes were the serial number or something like that.) However, if that wasn't the whole thing, I can probably find time to try to look at it. But I don't see anything we're doing differently. We're getting the firmware to update, but we're missing some magic that lets the remote know it's on a new version. I could really use a second set of eyes if you have some time. Since you managed to figure out the magic bytes before, I figured you may habe some luck with this. I'm happy to send you all of the various debug stuff I have offlist if you're interested... Thanks, -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel
Re: [concordance-devel] Firmware Upgrade 525
Stephen Warren wrote: Phil Dibowitz wrote: Stephen, Have you been looking at any of the firmware-on-525 stuff? I've poured over it several times and sent several debug patches to folks and looked through the dumps a lot... I haven't looked at it at all. I thought the thing you were missing was answered by Kevin (the mystery bytes were the serial number or something like that.) The fact that it was just the UID (his comment) was correct. It also meant that I was barking up the wrong tree. =( It doesn't show how they're telling the remote about the new version number. However, if that wasn't the whole thing, I can probably find time to try to look at it. Cool, thanks. -- Phil Dibowitz p...@ipom.com Open Source software and tech docsInsanity Palace of Metallica http://www.phildev.net/ http://www.ipom.com/ Never write it in C if you can do it in 'awk'; Never do it in 'awk' if 'sed' can handle it; Never use 'sed' when 'tr' can do the job; Never invoke 'tr' when 'cat' is sufficient; Avoid using 'cat' whenever possible -- Taylor's Laws of Programming signature.asc Description: OpenPGP digital signature -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel
Re: [concordance-devel] Firmware Upgrade 525
Hi Phil, I'm a little bit unsure how to apply this patch? I never down this before. Could you give me an advise? Regards Steffen 2008/12/29 Phil Dibowitz p...@ipom.com Phil Dibowitz wrote: Hmmm. OK, well, there's no difference in the actual write-out of the flash this time. That's good. I guess. That leaves a much smaller part of the logs to analyze... Phew. OK, so the differences left are pretty small. The most obvious one is the read of 48 bytes at 0x200010. Apply this patch, and attempt a firmware upgrade. It'll exit before it ever does the firmware upgrade and will write out a binary file to /tmp/tout. Take /tmp/tout, bzip2 it up and email it to me. I'll forward it off to Stephen and Kevin as well - they're better at reverse engineering that stuff than I am... but I'll take a crack at it. -- Phil Dibowitz p...@ipom.com Open Source software and tech docsInsanity Palace of Metallica http://www.phildev.net/ http://www.ipom.com/ Never write it in C if you can do it in 'awk'; Never do it in 'awk' if 'sed' can handle it; Never use 'sed' when 'tr' can do the job; Never invoke 'tr' when 'cat' is sufficient; Avoid using 'cat' whenever possible -- Taylor's Laws of Programming -- ___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel -- ___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel
Re: [concordance-devel] Firmware Upgrade 525
Steffen Sieg wrote: Hi Phil, I'm a little bit unsure how to apply this patch? I never down this before. Could you give me an advise? Steffan, Don't sweat it - I only need one copy of the dump and Michael got it. Thanks. -- Phil Dibowitz p...@ipom.com Open Source software and tech docsInsanity Palace of Metallica http://www.phildev.net/ http://www.ipom.com/ Never write it in C if you can do it in 'awk'; Never do it in 'awk' if 'sed' can handle it; Never use 'sed' when 'tr' can do the job; Never invoke 'tr' when 'cat' is sufficient; Avoid using 'cat' whenever possible -- Taylor's Laws of Programming signature.asc Description: OpenPGP digital signature -- ___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel
Re: [concordance-devel] Firmware Upgrade 525
Michael Frase wrote: You'll find the the binary file attached! Thanks. I'm retarded, it didn't need to be bzip2'd, it's 48 bytes. For those that care, the hex is: 000 020 0bd912c2 48b0073c b093b382 75866920 040 423626f5 4fe972d5 ab2b4686 580a84df 060 Would you mind doing this on 2 or 3 revs of the firmware (2.5, 2.6, 3.0)? You can either send the binary, or the output of 'od -X' on them (that's the above). I meant to ask before and forgot. -- Phil Dibowitz p...@ipom.com Open Source software and tech docsInsanity Palace of Metallica http://www.phildev.net/ http://www.ipom.com/ Never write it in C if you can do it in 'awk'; Never do it in 'awk' if 'sed' can handle it; Never use 'sed' when 'tr' can do the job; Never invoke 'tr' when 'cat' is sufficient; Avoid using 'cat' whenever possible -- Taylor's Laws of Programming signature.asc Description: OpenPGP digital signature -- ___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel
Re: [concordance-devel] Firmware Upgrade 525
Hi, I have another problem: while setting up my remote, there came up a file named LearnIr.EZTut. And congruity does not recognize this. It was to learn some instructions from an original remote control. So I did it completely in windows in a virtual box machine, and it went relatively good, but not perfect. Regards Steffen Sieg 2008/12/29 Phil Dibowitz p...@ipom.com Michael Frase wrote: You'll find the the binary file attached! Thanks. I'm retarded, it didn't need to be bzip2'd, it's 48 bytes. For those that care, the hex is: 000 020 0bd912c2 48b0073c b093b382 75866920 040 423626f5 4fe972d5 ab2b4686 580a84df 060 Would you mind doing this on 2 or 3 revs of the firmware (2.5, 2.6, 3.0)? You can either send the binary, or the output of 'od -X' on them (that's the above). I meant to ask before and forgot. -- Phil Dibowitz p...@ipom.com Open Source software and tech docsInsanity Palace of Metallica http://www.phildev.net/ http://www.ipom.com/ Never write it in C if you can do it in 'awk'; Never do it in 'awk' if 'sed' can handle it; Never use 'sed' when 'tr' can do the job; Never invoke 'tr' when 'cat' is sufficient; Avoid using 'cat' whenever possible -- Taylor's Laws of Programming -- ___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel -- ___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel
Re: [concordance-devel] Firmware Upgrade 525
Am Montag, den 29.12.2008, 22:59 +0100 schrieb Phil Dibowitz: Michael Frase wrote: You'll find the the binary file attached! Thanks. I'm retarded, it didn't need to be bzip2'd, it's 48 bytes. For those that care, the hex is: 000 020 0bd912c2 48b0073c b093b382 75866920 040 423626f5 4fe972d5 ab2b4686 580a84df 060 Would you mind doing this on 2 or 3 revs of the firmware (2.5, 2.6, 3.0)? You can either send the binary, or the output of 'od -X' on them (that's the above). I meant to ask before and forgot. One question... just to be sure that we don't talk at cross-purposes. This hex is readout off the remote, right? So it doesn't matter wich firmware I use for generating the tout binary... just the current fw of the remote matters. I have flashed fw2.5, 2.6 and 3.0 with RemoteCore and after each flash I ran concordance to readout the binary. But I got every time the same hex output! No change at all, same as stated above. Does that make sense? -- ___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel
Re: [concordance-devel] Firmware Upgrade 525
Michael Frase wrote: Am Montag, den 29.12.2008, 22:59 +0100 schrieb Phil Dibowitz: Michael Frase wrote: You'll find the the binary file attached! Thanks. I'm retarded, it didn't need to be bzip2'd, it's 48 bytes. For those that care, the hex is: 000 020 0bd912c2 48b0073c b093b382 75866920 040 423626f5 4fe972d5 ab2b4686 580a84df 060 Would you mind doing this on 2 or 3 revs of the firmware (2.5, 2.6, 3.0)? You can either send the binary, or the output of 'od -X' on them (that's the above). I meant to ask before and forgot. One question... just to be sure that we don't talk at cross-purposes. This hex is readout off the remote, right? So it doesn't matter wich firmware I use for generating the tout binary... just the current fw of the remote matters. Correct. I have flashed fw2.5, 2.6 and 3.0 with RemoteCore and after each flash I ran concordance to readout the binary. But I got every time the same hex output! No change at all, same as stated above. Erm. Eh. Does that make sense? It runs me out of ideas... -- Phil Dibowitz p...@ipom.com Open Source software and tech docsInsanity Palace of Metallica http://www.phildev.net/ http://www.ipom.com/ Never write it in C if you can do it in 'awk'; Never do it in 'awk' if 'sed' can handle it; Never use 'sed' when 'tr' can do the job; Never invoke 'tr' when 'cat' is sufficient; Avoid using 'cat' whenever possible -- Taylor's Laws of Programming signature.asc Description: OpenPGP digital signature -- ___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel
Re: [concordance-devel] Firmware Upgrade 525
Steffen Sieg wrote: I have another problem: while setting up my remote, there came up a file named LearnIr.EZTut. And congruity does not recognize this. It was to learn some instructions from an original remote control. The most recent actual release of congruity doesn't support IR learning. However, if you check out the latest code from SVN, then it should work fine (with the lastest libconcord from CVS too) So I did it completely in windows in a virtual box machine, and it went relatively good, but not perfect. Regards Steffen Sieg -- ___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel
Re: [concordance-devel] Firmware Upgrade 525
On Tue, April 15, 2008 9:35 am, Michael Frase wrote: Any Suggestions? Is it possible to log the usb transfer (firmware upgrade) in windows (like usbmon in linux)? Yes. Use SnoopyPro, available from: http://sourceforge.net/project/showfiles.php?group_id=34567 Once you have the captures in the tool, you'll want to perform an export operation to the XML format. You can then send in the XML files. If you're curious, the consnoop directory in CVS contains an application that can analyze these XML files. - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel
Re: [concordance-devel] Firmware Upgrade 525
Michael Frase wrote: Now I did a firmware updrade (v2.5 - v2.6) with the logitech windows software and dumped the firmware again with concordance... The firmware dump is exactly the same as the old one (that reported the wrong version). But now the firmware version is correctly recognised as v2.6. I tried to downgrade the firmware from v2.6 to v2.5 (with my old firmware dump). After downgrade concordance is also reporting the wrong version (v2.6 instead of v2.5). Yeah, this seems to confirm my suspicion that we're upgrading the remote properly and its running on the new firmware, but we're not updating something somewhere to tell it what version it's running. My guess is that these remotes can't dynamically determine their firmware version, unlike the 8 series. Any Suggestions? Is it possible to log the usb transfer (firmware upgrade) in windows (like usbmon in linux)? Yes, as Stephen pointed out, SnoopyPro is what you want, and export to XML. Please send that to me off list (or provide a link to the list, if you prefer). I actually have a SnoopPro dump of a firmware upgrade, which is who I got the existing code as far as I do, but another one can't hurt. Thanks. -- Phil Dibowitz [EMAIL PROTECTED] Open Source software and tech docsInsanity Palace of Metallica http://www.phildev.net/ http://www.ipom.com/ Never write it in C if you can do it in 'awk'; Never do it in 'awk' if 'sed' can handle it; Never use 'sed' when 'tr' can do the job; Never invoke 'tr' when 'cat' is sufficient; Avoid using 'cat' whenever possible -- Taylor's Laws of Programming signature.asc Description: OpenPGP digital signature - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel
Re: [concordance-devel] Firmware Upgrade 525
Hi Phil, thanks for your quick replies and changes in cvs. I'm back again and tested latest cvs with my harmony 555. Unfortunately firmware update doesn't work as expected. The update process itself seems to be ok... But firmware version remains the same (Update from v2.5 to v2.6). $ sudo concordance LatestFirmware.EZUp Concordance 0.13+CVS Copyright 2007 Kevin Timmerman and Phil Dibowitz This software is distributed under the GPLv3. Requesting Identity: 100% done Invalidating Flash: done Erasing Flash: 100% done Writing firmware:100% done Contacting website: done Resetting... Success! After firmware update the remote can't be identified by concordance. $ sudo concordance -i -v Concordance 0.13+CVS Copyright 2007 Kevin Timmerman and Phil Dibowitz This software is distributed under the GPLv3. Requesting Identity: Error requesting identity Failed with error 1 After that first attempt the remote communicates with concordance again. $ sudo concordance -i -v Concordance 0.13+CVS Copyright 2007 Kevin Timmerman and Phil Dibowitz This software is distributed under the GPLv3. Requesting Identity: 100% done Model: Logitech Harmony 555 (Mocha Grande) Skin: 48 Firmware Version: 2.5 Firmware Type: 0 Hardware Version: 3.0 External Flash: 512 KiB - FF:12 25F040 Architecture: 9 Protocol: 9 Manufacturer: Harmony Remote 0-2.5.0 Product: Harmony Remote 0-2.5.0 IRL, ORL, FRL: 64, 64, 0 USB VID: 046D USB PID: C111 USB Ver: 0930 Serial Number: XXX CENSORED XXX Config Flash Used: 17% (67 of 384 KiB) Success! I will send you a private mail with a firmware dump of my harmony, latest firmware (website) and usbmon logs (in addition to the output above). Greetings... Michael Am Dienstag, den 08.04.2008, 20:05 -0700 schrieb Phil Dibowitz: Stefan Arndt wrote: OK, updated cvs. But it is still Firmware 2.1 after all... It looks like you may have a 2.1 firmware file. You may want to remove it and then try downloading it through the site again. For what it's worth, someone else with your remote was just able to upgrade to 2.6 with the latest CVS. Which isn't to say there's no problems - there might still be... but it's at least one success... -- Phil Dibowitz [EMAIL PROTECTED] OK, downloaded new firmware, upgraded but still 2.1 Bringing this discussion back to the list... Stefan, send me files off-list, but please keep the discussion on the list. Marcel and Stefan, can you each send me your LatestFirmware.EZHex off-list? Marcel, you have a 555, right, and Stefan, you have a 525? Thanks. - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel
Re: [concordance-devel] Firmware Upgrade 525
Michael Frase wrote: Hi Phil, thanks for your quick replies and changes in cvs. I'm back again and tested latest cvs with my harmony 555. Unfortunately firmware update doesn't work as expected. The update process itself seems to be ok... But firmware version remains the same (Update from v2.5 to v2.6). Hmm. OK, that's the second report of that. Does your remote boot into safemode after the upgrade? Does it reboot at all? -- Phil Dibowitz [EMAIL PROTECTED] Open Source software and tech docsInsanity Palace of Metallica http://www.phildev.net/ http://www.ipom.com/ Never write it in C if you can do it in 'awk'; Never do it in 'awk' if 'sed' can handle it; Never use 'sed' when 'tr' can do the job; Never invoke 'tr' when 'cat' is sufficient; Avoid using 'cat' whenever possible -- Taylor's Laws of Programming signature.asc Description: OpenPGP digital signature - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel
Re: [concordance-devel] Firmware Upgrade 525
Am Donnerstag, den 10.04.2008, 10:44 -0700 schrieb Phil Dibowitz: Michael Frase wrote: Hi Phil, thanks for your quick replies and changes in cvs. I'm back again and tested latest cvs with my harmony 555. Unfortunately firmware update doesn't work as expected. The update process itself seems to be ok... But firmware version remains the same (Update from v2.5 to v2.6). Hmm. OK, that's the second report of that. Does your remote boot into safemode after the upgrade? Does it reboot at all? The remote didn't reboot in safemode. It rebooted and started in activity mode. I saw a growing bar during reboot. I tried to update several times without success. The Remote seems to work without problems after all... Is it possible that the new firmware data was written correctly, but the firmware version wasn't updated? - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel
Re: [concordance-devel] Firmware Upgrade 525
Michael Frase wrote: Hi Phil, thanks for your quick replies and changes in cvs. I'm back again and tested latest cvs with my harmony 555. Michael sent me, off-list, a his LatestUpdate.EZUp, and a firmware dump from both before and after the upgrade. Here's whats REALLY odd. I massaged the LatestUpdate.EZUp to be in the format we write out fw dumps in, and it's IDENTICAL (minus the magic bytes, of course) to his current fw dump: - DATACAEF3FF012000201C86BC96B010109A537D08D940101/DATA + DATA43724847CAEF3FF012000201C86BC96B010109A537D08D940101/DATA Those are the only two lines that show up in the diff. Meanwhile, there's drastic differences between his dump now and his dump from before. In other words, it appears to be running on the latest firmware, but reporting old firmware. Honestly, I haven't even the slightest clue why... much less why Michel and Stefan can't upgrade successfully, but Marcel can, which is an even stranger mystery. It would be interesting to see a firmware dump from an upgraded unit - Marcel, can you do a dump from your remote and send it to me. I'm not sure it'll show me anything new, but I'm kinda at a loss for better ideas. -- Phil Dibowitz [EMAIL PROTECTED] Open Source software and tech docsInsanity Palace of Metallica http://www.phildev.net/ http://www.ipom.com/ Never write it in C if you can do it in 'awk'; Never do it in 'awk' if 'sed' can handle it; Never use 'sed' when 'tr' can do the job; Never invoke 'tr' when 'cat' is sufficient; Avoid using 'cat' whenever possible -- Taylor's Laws of Programming signature.asc Description: OpenPGP digital signature - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel
Re: [concordance-devel] Firmware Upgrade 525
On Thu, April 10, 2008 1:25 pm, Phil Dibowitz wrote: Michael Frase wrote: Hi Phil, thanks for your quick replies and changes in cvs. I'm back again and tested latest cvs with my harmony 555. ... Here's whats REALLY odd. I massaged the LatestUpdate.EZUp to be in the format we write out fw dumps in, and it's IDENTICAL (minus the magic bytes, of course) to his current fw dump: ... Meanwhile, there's drastic differences between his dump now and his dump from before. Are you sure this remote/arch has the correct firmware upgrade base? I.e are we writing to and dumping the wrong location? - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel
Re: [concordance-devel] Firmware Upgrade 525
Stephen Warren wrote: On Thu, April 10, 2008 1:25 pm, Phil Dibowitz wrote: Michael Frase wrote: Hi Phil, thanks for your quick replies and changes in cvs. I'm back again and tested latest cvs with my harmony 555. ... Here's whats REALLY odd. I massaged the LatestUpdate.EZUp to be in the format we write out fw dumps in, and it's IDENTICAL (minus the magic bytes, of course) to his current fw dump: ... Meanwhile, there's drastic differences between his dump now and his dump from before. Are you sure this remote/arch has the correct firmware upgrade base? I.e are we writing to and dumping the wrong location? According to the usblogs from Kevin: Erase Flash 81 Write Flash 81 3150 ... and from remote_info.h: //fl_base, fw_base,config_base,fw_up_base, fw_4847_off, cookie, ck_sz, endvec, micro, fl_sz, ram_sz, ee_sz, usb ... // 9 - 360, 52x, 55x { 0x80, 0x81, 0x82, 0x81, 4, 0x4D434841, 4, 4, PIC18LF4550, 16, 2048, 256, Internal }, It writes directly over the live firmware in fact. -- Phil Dibowitz [EMAIL PROTECTED] Open Source software and tech docsInsanity Palace of Metallica http://www.phildev.net/ http://www.ipom.com/ Never write it in C if you can do it in 'awk'; Never do it in 'awk' if 'sed' can handle it; Never use 'sed' when 'tr' can do the job; Never invoke 'tr' when 'cat' is sufficient; Avoid using 'cat' whenever possible -- Taylor's Laws of Programming signature.asc Description: OpenPGP digital signature - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel
Re: [concordance-devel] Firmware Upgrade 525
Stefan Arndt wrote: OK, updated cvs. But it is still Firmware 2.1 after all... It looks like you may have a 2.1 firmware file. You may want to remove it and then try downloading it through the site again. For what it's worth, someone else with your remote was just able to upgrade to 2.6 with the latest CVS. Which isn't to say there's no problems - there might still be... but it's at least one success... -- Phil Dibowitz [EMAIL PROTECTED] OK, downloaded new firmware, upgraded but still 2.1 Bringing this discussion back to the list... Stefan, send me files off-list, but please keep the discussion on the list. Marcel and Stefan, can you each send me your LatestFirmware.EZHex off-list? Marcel, you have a 555, right, and Stefan, you have a 525? Thanks. -- Phil Dibowitz [EMAIL PROTECTED] Open Source software and tech docsInsanity Palace of Metallica http://www.phildev.net/ http://www.ipom.com/ Never write it in C if you can do it in 'awk'; Never do it in 'awk' if 'sed' can handle it; Never use 'sed' when 'tr' can do the job; Never invoke 'tr' when 'cat' is sufficient; Avoid using 'cat' whenever possible -- Taylor's Laws of Programming signature.asc Description: OpenPGP digital signature - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel
Re: [concordance-devel] Firmware Upgrade 525
Stefan, The firmware capture you sent me appears to be truncated or stopped before the firmware bits. This line near the end: c570d3c0 3743697519 C Ci:003:00 0 33 = 0600ff09 01a10115 0026ff00 7508a102 09029540 8102c0a1 02090595 409102c0 is a control transfer very early on, and your file doesn't have much after that. To give you an example, in the capture file I have from Windows, the interesting stuff starts at around urb 19, but the line above corresponds with urb 6. Could you try generating these files again? Keep in mind that there may be some buffering going on, so you may want to set the 'cat' go for a a minute or so after concordance is done. Send them directly to me when you get a chance. Thanks. -- Phil Dibowitz [EMAIL PROTECTED] Open Source software and tech docsInsanity Palace of Metallica http://www.phildev.net/ http://www.ipom.com/ Never write it in C if you can do it in 'awk'; Never do it in 'awk' if 'sed' can handle it; Never use 'sed' when 'tr' can do the job; Never invoke 'tr' when 'cat' is sufficient; Avoid using 'cat' whenever possible -- Taylor's Laws of Programming signature.asc Description: OpenPGP digital signature - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel
Re: [concordance-devel] Firmware Upgrade 525
Hello, applied patch to latest cvs tree. localhost:/home/arndt/Documents/concordance/concordance # concordance -F firmware.EZUp Concordance 0.13+CVS Copyright 2007 Kevin Timmerman and Phil Dibowitz This software is distributed under the GPLv3. DEBUG (FindRemote): bNumEndpoints 2 DEBUG (check_ep): address 81 attrib 03 max_length 64 DEBUG (check_ep): address 02 attrib 03 max_length 64 Requesting Identity: 100% done DEBUG (prep_firmware): in prep firmware DEBUG (prep_firmware): in prep firmware for firmware_update_base == firmware_base DEBUG (prep_firmware): about to restartconfig DEBUG (prep_firmware): done restarting config DEBUG (prep_firmware): about to write-flash DEBUG (HID_ReadReport): Failed to read from device: -110 (could not detach kernel driver from interface 0: No data available) Failed to prepare remote for FW update Failed to upload firmware: Unknown error Failed with error 1 Press enter key to exit Regards Stefan -- Psst! Geheimtipp: Online Games kostenlos spielen bei den GMX Free Games! http://games.entertainment.gmx.net/de/entertainment/games/free - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel
Re: [concordance-devel] Firmware Upgrade 525
Stefan Arndt wrote: Hello, applied patch to latest cvs tree. OK, this is helpful. Reverse that patch (patch -p0 -R libconcord-fw-debug.patch) and apply this new one (same URL): http://www.phildev.net/concordance/libconcord-fw-debug.patch Either we need to wait a bit after to se a RestartConfig(), or we need to re-find the remote. I suspect it's just that we need to wait, so that's what this patch does. -- Phil Dibowitz [EMAIL PROTECTED] Open Source software and tech docsInsanity Palace of Metallica http://www.phildev.net/ http://www.ipom.com/ Never write it in C if you can do it in 'awk'; Never do it in 'awk' if 'sed' can handle it; Never use 'sed' when 'tr' can do the job; Never invoke 'tr' when 'cat' is sufficient; Avoid using 'cat' whenever possible -- Taylor's Laws of Programming signature.asc Description: OpenPGP digital signature - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel
Re: [concordance-devel] Firmware Upgrade 525
Stefan Arndt wrote: Hello, reversed patch and patched again. It took longer but failed. Taking longer is expected, there was a 10-second sleep in there. OK, I uploaded a patch that will attempt to re-init the harmony after the config reset (which I wouldn't think is necessary based on the data at hand, but it's worth a shot). Give it a shot and let me know. -- Phil Dibowitz [EMAIL PROTECTED] Open Source software and tech docsInsanity Palace of Metallica http://www.phildev.net/ http://www.ipom.com/ Never write it in C if you can do it in 'awk'; Never do it in 'awk' if 'sed' can handle it; Never use 'sed' when 'tr' can do the job; Never invoke 'tr' when 'cat' is sufficient; Avoid using 'cat' whenever possible -- Taylor's Laws of Programming signature.asc Description: OpenPGP digital signature - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ concordance-devel mailing list concordance-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/concordance-devel