Skip to content

pyocd: startup hangs if target firmware is compiled for one core and debugged with pyocd #192

Description

@rgrr

complicated...

For target firmware:

  • #define configNUMBER_OF_CORES 1
  • debug with pyocd
  • pyocd hangs in timer_busy_wait_until()
  • actually called from usb_thread(), cdc_uart_init()
  • seems that TIMER0 (0x400b0000) is not running

Don't know yet if this is a problem in pyocd or in the startup sequence.

PS: target firmware is actually the probe firmware running on an RP2350

Opened issue: FreeRTOS/FreeRTOS-Kernel#1374
Existing issue: raspberrypi/pico-sdk#1152

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions