Click here to Skip to main content
15,896,453 members
Articles / Programming Languages / C#

ST Micro-electronics Device Firmware Upgrade (DFU/DfuSe) from C#

Rate me:
Please Sign up or sign in to vote.
5.00/5 (14 votes)
12 Mar 2013CPOL4 min read 135.4K   4.4K   26  
ST provide a DFU module for their STM32 micro-controllers for firmware upgrade over USB. This is an example of how to use it from C#.

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DFU Example", "DFU Example.csproj", "{B13693CA-0A57-4DE6-A52E-5F5D42FFCF8E}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|x86 = Debug|x86
		Release|x86 = Release|x86
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{B13693CA-0A57-4DE6-A52E-5F5D42FFCF8E}.Debug|x86.ActiveCfg = Debug|x86
		{B13693CA-0A57-4DE6-A52E-5F5D42FFCF8E}.Debug|x86.Build.0 = Debug|x86
		{B13693CA-0A57-4DE6-A52E-5F5D42FFCF8E}.Release|x86.ActiveCfg = Release|x86
		{B13693CA-0A57-4DE6-A52E-5F5D42FFCF8E}.Release|x86.Build.0 = Release|x86
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	EndGlobalSection
EndGlobal

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Engineer Expedition Electrics
United Kingdom United Kingdom
Started programming aged 10 on a ZX81 ("Daddy - what's a program?"), since then have done electronics and software for variety of things, mostly instrumentation, in a variety of languages but these days mostly C for the firmware and C# for the PC. Perhaps the project I'm proudest of was the Z80 based computer entirely hand soldered on veroboard!

Comments and Discussions