2016-12-20 11:10 PM
Hi all,
Can you please explain me how to enter in to DFU mode at run time. I don't have GPIO in my board.
So i did experiment with CDC class, when i get some command from my VCP port then i am entering in to DFU bootloader, but i need another way means using Dfuse tool i want to send the command i.e. 'Enter DFU mode/ HID detach'.
I tried with HID class alone but i am unable to get this button (Enter DFU mode/ HID detach).
How to enable this in Dfuse tool?
Can any body share any document or thread which can explain me about this.
#dfu2016-12-21 11:00 AM
Hi
Gamini.Lakshmi_Lavan
I have moved your post to
https://community.st.com/community/stm32-community/stm32-forum/activity
where product-related questions are asked. If you have any further questions post them here.Thanks
Oli
2017-01-03 08:59 AM
Dear
Gamini.Lakshmi_Lavan
,I recommend to check the
' Getting started with DfuSe USB device firmware upgrade STMicroelectronics extension' as mentioned about'
Enter DFU mode/ HID detach'button:
'Send Enter DFU mode command. Target will switch from Application to DFU mode or send a HID Detach if the device is a compatible HID device.' (whichis a HID class device providing the HID detach feature (USAGE_PAGE 0xFF00 and USAGE_DETACH 0x0055) in its report descriptor.)
Best Regards
Imen
2017-01-13 09:31 AM
Hi
Gamini.Lakshmi_Lavan
,Removethe comment code inDfuSeDemoDlg.cpp file (Line 347-368), this will active your HID devices enumeration.
Please try this update, then re-compile and let me know if the problem still there..// Begin with HID devices // Commented in Version V3.0.3 and Keep it for customer usage if wanted.
/*
ReleaseHIDMemory(); m_Enum.FindHidDevice(&m_HidDevices,&m_HidDevice_Counter); FindMyHIDDevice(); for(i=0;i<int(m_HidDevice_Counter);i++) { PHID_DEVICE pWalk;pWalk = m_HidDevices + m_Tab_Index[i];
if(HidD_GetProductString(pWalk->HidDevice, Product, sizeof(Product))) { for(j=0;j<160;j+=2) Prod += Product[j]; } else Prod='(Unknown HID Device)';String.Format('%s',Prod);
m_CtrlDFUDevices.AddString(String); m_CtrlDevices.AddString(String); Prod = ''; }*/
// Commented in Version V3.0.3 and Keep it for customer usage if wanted.Regards
Imen
2017-01-18 08:47 AM
Hi, I'm having the same issue where 'Enter DFU mode/HID detach' button is always disabled.
I tried to recompile with the code above uncommented but my version of Visual Studio (2015) does not look have all the dependencies required. It upgradedthe project to the latest toolset when loading and now when trying to compile it generates 3000+ errors.
Could you please specify exact MS platform toolset and any additional dependencies that are required to compile this project?
2017-01-19 02:21 AM
Hello
Vazic.Relko
,What exactly the error message did you get?
Regards
Imen
2017-01-19 08:14 AM
Hi Imen,
Please disregard my question. Upon reloading the project VS indicated that I did not have MFC installed. Once I installed MFC the project compiled fine.