* fxload with an2131
@ 2002-11-04 7:21 Brad Hards
0 siblings, 0 replies; only message in thread
From: Brad Hards @ 2002-11-04 7:21 UTC (permalink / raw)
To: linux-hotplug
-----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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-11-04 7:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-04 7:21 fxload with an2131 Brad Hards
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.