Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Dec 2009 10:59:59 +1030
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: Re-enumerating a device
Message-ID:  <200912171100.06770.doconnor@gsoft.com.au>
In-Reply-To: <200912160952.40161.hselasky@c2i.net>
References:  <200912151647.53759.doconnor@gsoft.com.au> <200912161116.55670.doconnor@gsoft.com.au> <200912160952.40161.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1519974.WAX54d04X4
Content-Type: text/plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Wed, 16 Dec 2009, Hans Petter Selasky wrote:
> > It takes about a second to run though..
>
> Could you also check the number of configurations ?
>
> usbconfig -u 0 -a 2 reset
>
> usbconfig -u 0 -a 2 dump_device_desc dump_curr_config_desc

Sigh, I dunno what I was doing wrong before but now it works!
[inchoate 10:59] ~ >sudo dfu-util -D ~/ma004103.bin -t 256 -R
dfu-util - (C) 2007-2008 by OpenMoko Inc.
This program is Free Software and has ABSOLUTELY NO WARRANTY

Opening USB Device 0x0000:0x0000...
Claiming USB DFU Runtime Interface...
Determining device status: state =3D dfuIDLE, status =3D 0
WARNING: Runtime device already in DFU state ?!?
=46ound Runtime: [0x0763:0x2804] devnum=3D0, cfg=3D0, intf=3D0, alt=3D0, na=
me=3D"RAM"
Claiming USB DFU Interface...
Setting Alternate Setting ...
Determining device status: state =3D dfuIDLE, status =3D 0
dfuIDLE, continuing
Transfer Size =3D 0x0100
bytes_per_hash=3D120
Starting download: [##################################################] fin=
ished!
state(7) =3D dfuMANIFEST, status(0) =3D No error condition is present
state(2) =3D dfuIDLE, status(0) =3D No error condition is present
Done!
can't detach: Unknown error
Resetting USB to switch back to runtime mode

> Seems like your device is broken then. Does the same procedure work
> on Linux?

I think it works in Linux, it definitely does in Windows.

It uses a Ti TAS1020A (http://www.ti.com/lit/gpn/tas1020a) connected to an
AK4532VF (http://www.asahi-kasei.co.jp/akm/en/product/ak4532/ak4532.html)

Interestingly it does have a 24LC64 (64kbit I2C EEPROM) but I think it
only has the header data for whatever reason so it always comes up in
DFU mode.

Sorry for wasting your time :(

=2D-=20
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C

--nextPart1519974.WAX54d04X4
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (FreeBSD)

iD8DBQBLKXuO5ZPcIHs/zowRArRfAJ9dWg1UMUJCekI+Yo6CsSiOhjbLXQCgmZld
rA5QH3fvNMQEXBuG2rxzNbc=
=Uomm
-----END PGP SIGNATURE-----

--nextPart1519974.WAX54d04X4--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912171100.06770.doconnor>