All of lore.kernel.org
 help / color / mirror / Atom feed
From: Brad Hards <bhards@bigpond.net.au>
To: linux-hotplug@vger.kernel.org
Subject: fxload with an2131
Date: Mon, 04 Nov 2002 07:21:31 +0000	[thread overview]
Message-ID: <marc-linux-hotplug-103639535909920@msgid-missing> (raw)

-----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

                 reply	other threads:[~2002-11-04  7:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-hotplug-103639535909920@msgid-missing \
    --to=bhards@bigpond.net.au \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.