2020-10-26 05:23 AM
Hi,
I load a basic HID program in ST Cube IDE which is working perfectly on NUCLEO-H743ZI2
With the eval board, when i plug CN18 USB to my PC it says "Unknown USB Device (Device Descriptor Request Failed)"
I can't find where it is coming from, any ideas ?
Solved! Go to Solution.
2020-10-26 07:15 AM
The issue was related to ST Link debugger it was somehow disabling DFU. I tried without ST link connected to PC and it worked fine
2020-10-26 05:32 AM
I fixed it but when i jump into bootloader i cant get the DFU port, do I need to do some kind of DeInit or Reset before jumping into bootloader
2020-10-26 06:29 AM
You need to reset everything back to the state it was in at startup. This includes resetting the USB peripheral, disabling individual interrupts.
https://community.st.com/s/article/STM32H7-bootloader-jump-from-application
2020-10-26 06:48 AM
Even if i use this function at the very beginning of my code i cant detect any DFU Device with Cube Programmer
my code :
int main(void)
{
/* USER CODE BEGIN 1 */
/* USER CODE END 1 */
/* MCU Configuration--------------------------------------------------------*/
/* Reset of all peripherals, Initializes the Flash interface and the Systick. */
HAL_Init();
/* USER CODE BEGIN Init */
Bootloader_Jump();
2020-10-26 07:06 AM
It seams i must unplug the power supply between each bootload if i want the DFU port to appear, very uncommon
2020-10-26 07:15 AM
The issue was related to ST Link debugger it was somehow disabling DFU. I tried without ST link connected to PC and it worked fine