From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brad Hards Date: Mon, 04 Nov 2002 07:21:31 +0000 Subject: fxload with an2131 Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Is anyone using fxload with the original ezusb (Anchorchips AN2131)? I'm getting timeouts (-110) after the code is loaded, and switching the CPUCS register back to run mode. /sbin/fxload -v -t an21 -D /proc/bus/usb/002/003 -I sunkbd_hid_kbdmouse.ihx microcontroller type: an21 single stage: load on-chip memory open RAM hexfile image sunkbd_hid_kbdmouse.ihx stop CPU write on-chip, addr 0x0000 len 4 (0x0004) write on-chip, addr 0x000b len 1 (0x0001) write on-chip, addr 0x0013 len 1 (0x0001) write on-chip, addr 0x001b len 1 (0x0001) write on-chip, addr 0x0023 len 3 (0x0003) write on-chip, addr 0x002b len 3 (0x0003) write on-chip, addr 0x0033 len 1 (0x0001) write on-chip, addr 0x003b len 3 (0x0003) write on-chip, addr 0x0043 len 3 (0x0003) write on-chip, addr 0x0f08 len 109 (0x006d) write on-chip, addr 0x004b len 1019 (0x03fb) write on-chip, addr 0x0446 len 1017 (0x03f9) write on-chip, addr 0x083f len 1019 (0x03fb) write on-chip, addr 0x0c3a len 718 (0x02ce) ... WROTE: 3902 bytes, 14 segments, avg 278 reset CPU can't modify CPUCS: Connection timed out The device disconnects, and never comes back - I have to unplug. usbdevfs: USBDEVFS_CONTROL failed dev 2 rqt 64 rq 160 len 1 ret -110 usb.c: USB disconnect on device 00:01.3-2 address 2 I did a quick check of the EZUSB Tech Manual, and the command looks right (ie it really does have an A0 command for CPUCS). Any ideas? Brad - -- http://linux.conf.au. 22-25Jan2003. Perth, Aust. I'm registered. Are you? -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE9xh/7W6pHgIdAuOMRApjBAJ0bDQRIhaxGJ/+tsTGw9gMz0KOaTwCfX587 iwhhY3MwwC4CCYhKatvftPU=LAFO -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com _______________________________________________ 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