On Wed, Jul 4, 2012 at 6:11 PM, Paul Fertser <fercer...@gmail.com> wrote:
> On Wed, Jul 04, 2012 at 01:47:20PM +0800, Antonio Borneo wrote:
>> On Wed, Jul 4, 2012 at 7:35 AM, Andrew Leech <coronasen...@gmail.com> wrote:
>> > ...
>> > Again, there's probably a simpler way for you too, look up ST UM0412
>> > "Getting started with DfuSe USB device firmware upgrade". Looks like ST 
>> > have
>> > it nicely built in for you.
>>
>> Just to make you aware of this floss development for STM32 DFU.
>> Quite some time ago I extended the tool dfu-programmer to support ST
>> DFU firmware and update STM32 internal flash.
>
> DfuSe support is present in upstream http://dfu-util.gnumonks.org/
> please try it and report if you face any issues.

Hi Paul,
I checked almost one year ago. Not sure situation is exactly same, but
I don't expect dramatic changes.

While DFU state machine is well defined, protocol extensions and other
details can make specific implementations incompatible.
There is a u-boot extension (probably already upstream) of DFU aimed
for target device. It works well with dfu-util.
But dfu-util does not work with either the firmware in Atmel AVR or in ST STM32.
The project dfu-programmer is specific for Atmel firmware.
One year ago I was asked to provide a Linux tool for STM32 (ST
provides only Windows program), and I found dfu-programmer easier to
extend to ST specific protocol than dfu-util.

Best Regards,
Antonio Borneo

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to