Skip to main content
jeffreh
Associate
January 20, 2010
Question

USB DfuSe on a STM32F103?

  • January 20, 2010
  • 4 replies
  • 1095 views
Posted on January 20, 2010 at 17:00

USB DfuSe on a STM32F103?

    This topic has been closed for replies.

    4 replies

    jeffreh
    jeffrehAuthor
    Associate
    May 17, 2011
    Posted on May 17, 2011 at 13:38

    I notice that the connectivity line supports USB upgrades through DfuSe via it's boot-loader in the system memory. The STM32F103, which I'm using, only supports USART1 for use of the boot-loader in system memory.

    1.) Does this imply that I have to make my own app, IAP, to support upgrades via the USB on a 103 device?

    2.) Is there source code for this within ST?

    3.) Will it work with DfuSe or do I have to make a vendor unique command?

    Thanks in advance

    chikos33
    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 13:38

    Hi jeff,

    Actually, if you want to build your own USB bootloader on STM32F103 it is theorically possible:

    - You take the DFU demo provided by ST (

    http://www.st.com/stonline/products/support/micro/files/um0424.zip

    )

    - You modify it a little accordingly to the system boot application note (

    http://www.st.com/stonline/products/literature/an/14156.pdf

    ) (--> add erase, option bytes management, device ID, bootloader version ...)

    If you do so, it should work properly on DFUse just like the STM32F105/7 bootloader.

    There will be some more details if you decide to go through this way.

    But it doesn't seem too hard to do.

    Hope good luck for you :)

    Cheers.

    mariemzidi
    Associate II
    May 17, 2011
    Posted on May 17, 2011 at 13:38

    Hi Jeff,

    I'm working on a project using the STM32F103 microcontrollar and I need your help:

    I started with an appliction note from ST site but I need to install the DfuSeDemo in my PC to program the Demo and I searched for the .exe and didn't found it.

    Can you tell me where I find it..

    Best Regards,

    Mariem 

    mariemzidi
    Associate II
    May 17, 2011
    Posted on May 17, 2011 at 13:38

    Hi Jeff,

    I'm working with LCD.. Actually I'm trying to program the LCD_Demo via Dfuse but still don't know how to do it?!  I follow the steps given in the User Manual but I still have problems and about the Dfusedemov3.3 which I had downlowded from STonline how can I have the vendor ID and Product ID? because it seems that is not working ????

    Any help please!!!

    Looking forward to hearing from you..

    Best Regards