Skip to content

reset_core() infinite loop #3527

@kjdtkd

Description

@kjdtkd

Operating System

Windows 11

Commit SHA

ae3864d

Board

Arduino Portenta H7 Lite

Firmware

examples/host/device_info

Using ZephyrRTOS

  • Native Zephyr USB stack is disabled

What happened ?

Attempting to bring up the FS PHY on a Portenta H7 Lite (STM32H747XI) leads to an infinite loop in reset_core() similar to #2074

Edit: The same issue seems to occur when attempting to bring up the HS PHY. Is this a clock settings issue that I am having?

How to reproduce ?

  1. Attempt to enable the Fullspeed PHY as a host device

Debug Log as txt file (LOG/CFG_TUSB_DEBUG=2)

00> TinyUSB Device Info Example
00> USBH init on controller 0, speed = Auto
00> sizeof(usbh_data_t) = 40
00> sizeof(usbh_device_t) = 94
00> sizeof(hcd_event_t) = 12
00> sizeof(tuh_xfer_t) = 24
00> sizeof(tu_fifo_t) = 20
00> sizeof(tu_edpt_stream_t) = 52
00> CDC init
00> sizeof(cdch_interface_t) = 264
00> MSC init
00> sizeof(msch_interface_t) = 52
00> sizeof(msch_epbuf_t) = 48
00> HUB init
00> guid, gsnpsid, ghwcfg1, ghwcfg2, ghwcfg3, ghwcfg4
00> 0x00002300, 0x4F54330A, 0x00000000, 0x229FE190, 0x03B8D2E8, 0xE3F00030
00> Fullspeed PHY init <--- Freezes here in reset_core()

Screenshots

No response

I have checked existing issues, discussion and documentation

  • I confirm I have checked existing issues, discussion and documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions