Topic : ST DFU demo for STR7 and firmware update of a non-USB application

Forum : ARM

Original Post
Post Information Post
August 28, 2012 - 3:01am
Guest

This inquiry is with regards to the ST Micro DFU demonstration software, which is available for the STR750FV2 (includes a RIDE project file) at the following link:
**************************************
(STR7/STR9 USB developer kit software)
http://www.st.com/internet/com/SOFTWARE_RESOURCES/SW_COMPONENT/FIRMWARE/um0290.zip
**************************************

Using Ride7 (v7.28.10.7500), I was able to load the DFU project and build the DFU demo from the included source files. I then was able to program the generated .hex file into the STR750FV2 MCU on the daughtercard of the Reva 2.10 board.

I then installed the DFU driver for Windows, and the DfuSe demo GUI for Windows, which are both available from ST Micro in a separate package:
**************************************
(DfuSe USB device firmware upgrade STMicroelectronics extension: contains the demo GUI, debugging GUI, all sources files and the protocol layer)
http://www.st.com/internet/com/SOFTWARE_RESOURCES/SW_COMPONENT/SW_DEMO/um0412.zip
**************************************

Once I connect the daughterboard's USB port to the PC with a USB cable, the DfuSe demo Windows GUI detected the STR750FV2 operating in DFU mode. I have also verified the ability to write new data into the FLASH via the DFU mode.

Now I wish to attempt to create a customized version of the DFU demo in which the DFU mode is turned on when the USB cable is connected to the daughtercard's USB port, then turned off when the USB cable is removed from the daughtercard's USB port.

The MCU would run in

Replies
Post Information Post
+1
0
-1
August 28, 2012 - 7:33pm
Guest

*** Reposted due to truncation of original post ***
I couldn't find any editing options for the original truncated post, so I've submitted a new copy. I hope this one gets posted in its entirety! Also, the URLs had to be split onto two lines to be displayed on this board without line truncation. My sincerest apologies for any initial confusion, and the need to resubmit this post :)

This inquiry is with regards to the ST Micro DFU demonstration software, which is available for the STR750FV2 (includes a RIDE project file) at the following link:
**************************************
(STR7/STR9 USB developer kit software)
http://www.st.com/internet/com/SOFTWARE_RESOURCES/
SW_COMPONENT/FIRMWARE/um0290.zip
**************************************

Using Ride7 (v7.28.10.7500), I was able to load the DFU project and build the DFU demo from the included source files. I then was able to program the generated .hex file into the STR750FV2 MCU on the daughtercard of the Reva 2.10 board.

I then installed the DFU driver for Windows, and the DfuSe demo GUI for Windows, which are both available from ST Micro in a separate package:
**************************************
(DfuSe USB device firmware upgrade STMicroelectronics extension: contains the demo GUI, debugging GUI, all sources files and the protocol layer)
http://www.st.com/internet/com/SOFTWARE_RESOURCES/
SW_COMPONENT/SW_DEMO/um0412.zip
**************************************

Once I connect the daughterboard's USB port to the PC with a USB cable, the DfuSe demo Windows GUI detected the STR750FV2 operating in DFU mode. I have also verified the ability to write new data into the FLASH via the DFU mode.

Now I wish to attempt to create a customized version of the DFU demo in which the DFU mode is turned on when the USB cable is connected to the daughtercard's USB port, then turned off when the USB cable is removed from the daughtercard's USB port.

The MCU would run in "application mode" whenever the USB port is unconnected. This can be done because the application I want to run never uses the USB peripheral of the STR750FV2, i.e. the application is a "non-USB application".

This idea is presented in the following application note from ST:
**************************************
(AN1633: DEVICE FIRMWARE UPGRADE (DFU) IMPLEMENTATION IN NON-USB APPLICATIONS)
http://www.st.com/internet/com/TECHNICAL_RESOURCES/
TECHNICAL_LITERATURE/APPLICATION_NOTE/CD00004412.pdf
**************************************

This app note (from 2003) is given for the ST7 (8-bit microprocessor), but couldn't the algorithm presented here be applied to the DFU demo provided by ST Micro for the STR7?

I am wondering if anyone else here has ever attempted to do this. Thank you for reading, and for any future discussion.