On Sat, Jul 9, 2011 at 4:15 AM, Uwe Bonnes
<bo...@el...> wrote:
> I am trying to run a modifed (patches sent to Tormod) dfu-util on STM32F107
> with the modfied usb-iap/usb-dfu example, running a libopenstm32 tree with
> the patches sent to this mailing list.
>
> The device enumerates, dfu-utils talks to the device, but programming fails.
>
> To debug, in usbdfu_control_request() I wrote the received USB control frame
> to uncommmited flash.
>
> I see the first 4 bytes of the control transfer buffer missing!
I've observed the same problem with control transactions with a data out stage.
> I banged my head against the code and the STM32F connectivity line
> documentation, but to no avail.
>
> Anybody any idea about that?
Me too. I've spent quite a few hours on this with no luck. The
literature isn't
very good on this one, it leaves a lot to interpretation. Maybe a fresh set of
eyes on it will help :)
Regards,
Gareth
--
Black Sphere Technologies Ltd.
Web: www.blacksphere.co.nz
Mobile: +64 27 777 2182
Tel: +64 9 478 8885
Skype: gareth.mcmullin
LinkedIn: http://nz.linkedin.com/in/gsmcmullin
|