5 Replies Latest reply on Nov 15, 2016 10:48 PM by BoonT_56

    Platform - BCM94390WCD2, "Debug regions are unpowered" in OpenOCD ?

    NeCh_1690191

      Hi,

       

      I used BCM94390WCD2 platform to create a new project via WICED SDK 3.7.0 which contained the new OpenOCD release (v0.10.0-dev-00222-g43cdc13-dirty) in it.

      When i executed the OpenOCD daemon, the OpenOCD returns an ERROR message - "Debug regions are unpowered, an unexpected reset might have happened" in the console and then try to reexamine it again.

       

      I checked the ERROR in the detail debug messages, and found the "SSTICKYERR" bit has been set in the DP's CTRL/STAT register within "jtagdp_transaction_endcheck()" API. Changed the JTAG adapter speed did not help to fix this kind of error.

       

      Is there anything we can do in "BCM439x.cfg" to remove such error messages?

      Thanks for your help!

       

      Following shows the full console logging messages:

      Open On-Chip Debugger 0.10.0-dev-00222-g43cdc13-dirty (2016-04-07-11:11)

      Licensed under GNU GPL v2

      For bug reports, read

          http://openocd.org/doc/doxygen/bugs.html

      Info : only one transport option; autoselect 'jtag'

      trst_and_srst separate srst_nogate trst_push_pull srst_push_pull connect_assert_srst

      adapter speed: 100 kHz

      adapter_nsrst_delay: 100

      jtag_ntrst_delay: 100

      trst_and_srst separate srst_nogate trst_push_pull srst_push_pull connect_assert_srst

      trst_and_srst separate srst_gates_jtag trst_push_pull srst_push_pull connect_deassert_srst

      jtag_init

      post_init_43909_setup

      Warn : Using DEPRECATED interface driver 'ft2232'

      Info : Consider using the 'ftdi' interface driver, with configuration files in interface/ftdi/...

      Info : max TCK change to: 30000 kHz

      Info : clock speed 100 kHz

      Info : JTAG tap: BCM439x.cpu tap/device found: 0x4ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x4)

      Info : BCM439x.cpu: hardware has 6 breakpoints, 4 watchpoints

      Error: Debug regions are unpowered, an unexpected reset might have happened

      Polling target BCM439x.cpu failed, trying to reexamine

      Info : BCM439x.cpu: hardware has 6 breakpoints, 4 watchpoints

      trst_only separate trst_push_pull

      Info : JTAG tap: BCM439x.cpu tap/device found: 0x4ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x4)

      Warn : Only resetting the Cortex-M core, use a reset-init event handler to reset any peripherals or configure hardware srst support.

      Error: Debug regions are unpowered, an unexpected reset might have happened

      Polling target BCM439x.cpu failed, trying to reexamine

      Info : BCM439x.cpu: hardware has 6 breakpoints, 4 watchpoints