2024-11-07 09:46 AM
I want to make a custom software (usb dfu programmer) under Windows with the help of Visual Studio, but I have no experience in the field of Windows until now (I was embedded side guy ). I have done some research now, but there are still bugs in my mind :
int downloadFile ( const wchar_t *filePath,unsigned int address,unsigned int skipErase,unsigned int verify, const wchar_t * binPath )
in C#-->
[DllImport("CubeProgrammer.dll", EntryPoint = "downloadFile", CallingConvention = CallingConvention.Cdecl)]
public static extern int downloadFile( const wchar_t* filePath,unsigned int address, unsigned int skipErase, unsigned int verify, const wchar_t* binPath ) ;
2024-11-07 02:39 PM - edited 2024-11-07 02:40 PM
First, choose the GUI framework that you're most familiar: Visual Studio VC++ or C# or maybe Java or Qt or WxWidgets.
Other options can be Python with something like PyQt or just TCL. IIRC somebody here succeeded to use WebUSB to update firmware from a browser.
If you need help with this project, here it is available.
2024-11-07 06:47 PM
Actually I'm using visual studio C#, just need some help