Skip to main content
Visitor II
October 26, 2020
Solved

STM32H743I6-EVAL2 USB HID not working

  • October 26, 2020
  • 5 replies
  • 1035 views

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 ?

    This topic has been closed for replies.
    Best answer by Gabriel T

    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

    5 replies

    Gabriel TAuthor
    Visitor II
    October 26, 2020

    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

    Super User
    October 26, 2020

    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

    Gabriel TAuthor
    Visitor II
    October 26, 2020

    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();

    Gabriel TAuthor
    Visitor II
    October 26, 2020

    It seams i must unplug the power supply between each bootload if i want the DFU port to appear, very uncommon

    Gabriel TAuthorAnswer
    Visitor II
    October 26, 2020

    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