linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* fxload to restictive with address range
@ 2003-05-18 19:40 Kay Sievers
  2003-05-18 20:39 ` Kay Sievers
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Kay Sievers @ 2003-05-18 19:40 UTC (permalink / raw)
  To: linux-hotplug


Hello,
i have a DSL-USB-Modem:
http://www.devolo.de/produkte/adsl/mladslfunusb/index.php

inside is the 6485 Chip from Aanalog Devices:
http://www.analog.com/Analog_Root/productPage/productHome/0%2C2121%2CAD6485%2C00.html

A part of the chip is some kind of ezusb 8051.
(in the same chip is Ethernet and DSL-Pump)

I have extracted the firmware by sniffing Windows USB,
then converted to Intel-Hex-File.

http://vrfy.org/eagle6485.ihx

I've successfull loaded the firmware into the device with a modified fxload.
Unfortunately fxload does not support the address range of this chip.
I changed the following lines and everything is working well.



--- ezusb.c      2002-01-14 19:59:40.000000000 +0100
+++ ezusb.c.orig 2003-05-18 19:56:13.000000000 +0200
@@ -242,8 +242,8 @@
        /* with 8KB RAM, 0x0000-0x1b3f can be written
         * we can't tell if it's a 4KB device here
         */
-       if (off <= 0x1b3f) {
-           if ((off + len) > 0x1b40) {
+       if (off <= 0x7b3f) {
+           if ((off + len) > 0x7b40) {
                fprintf(stderr, need2stage, off);
                return -5;
            } /* else OK */


I expect more devices of this kind to appear in the future.
Maybe somebody can check, how to be prepared for larger RAM sizes.


Have a good day

Kay Sievers


-------------------------------------------------------
This SF.net email is sponsored by: If flattening out C++ or Java
code to make your application fit in a relational database is painful, 
don't do it! Check out ObjectStore. Now part of Progress Software.
http://www.objectstore.net/sourceforge
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-05-19  1:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-18 19:40 fxload to restictive with address range Kay Sievers
2003-05-18 20:39 ` Kay Sievers
2003-05-19  0:17 ` David Brownell
2003-05-19  1:16 ` Kay Sievers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).