cancel
Showing results for 
Search instead for 
Did you mean: 

DFUSE possible bug and workaround

vadim
Associate
Posted on April 25, 2013 at 21:39

Hi.

I've recently ported the dfu-util for the Android (Gingerbread).

Since we erase the chips entirely at the beginning of every target programming, it takes some time to execute the ERASE command (by the way, I could not find in the provided STM32 library the support for MASS ERASE command). So, inside of one of GETSTATUS procedure preceding the erase operation, we'd like to return a proper poll timeout to the host. The problem is that the erase address is not decoded from the GET_STATUS message. I tried to decode it from MAL_Buffer into the Pointer global variable and it didn't work. Then I created a local variable to decode the erase address into and customized MAL_GetStatus procedure.

Regards,

 Vadim

#dfu-util-android #dfuse #java #dfu #stm32 #android #stm32-dfu-usb
2 REPLIES 2
avihais
Associate
Posted on August 27, 2013 at 12:43

Dear Vadim,

You wrote ''I've recently ported the dfu-util for the Android (Gingerbread).''.

Is it working well?

I am looking for that solution as well. Is there a way which I can have that tool from you?

Many thanks,

Avihai.

AvihaiS@FourierEdu.com

 

philipp2
Associate II
Posted on February 07, 2015 at 00:18

We just have posted an open-source android app that is able to mass Erase an stm32 and also program it from a dfu file.

https://github.com/UmbrelaSmart/android-stm32-dfu-programmer