12 Replies Latest reply on Aug 28, 2017 11:29 PM by solec_2562956

    <question> Open OCD debug error with BCM94343WWCD1

      Hi,

       

      I'm working with BCM94343WWCD1 platform and is setting debug environment but have an error below.

       

      target build combination : "snip.mcs-BCM94343WWCD1-FreeRTOS-LwIP-SDIO-debug download debug run no_dct"

       

      console log :

      Downloading Bootloader ...
      No changes detected

      Downloading Application ...
      No changes detected

      Resetting target
      GNU gdb (GDB) 7.7
      Copyright (C) 2014 Free Software Foundation, Inc.
      License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
      This is free software: you are free to change and redistribute it.
      There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
      and "show warranty" for details.
      This GDB was configured as "--host=i686-pc-mingw32 --target=arm-none-eabi".
      Type "show configuration" for configuration details.
      For bug reporting instructions, please see:
      <http://www.gnu.org/software/gdb/bugs/>.
      Find the GDB manual and other documentation resources online at:
      <http://www.gnu.org/software/gdb/documentation/>.
      For help, type "help".
      Type "apropos word" to search for commands related to "word"...
      Reading symbols from build/snip.mcs-BCM94343WWCD1-FreeRTOS-LwIP-SDIO-debug/binary/snip.mcs-BCM94343WWCD1-FreeRTOS-LwIP-SDIO-debug.elf...done.
      .gdbinit_attach:1: Error in sourced command file:
      Remote communication error.  Target disconnected.: No error.
      (gdb) Target running

       

       

      Open OCD log

      1 Info : only one transport option; autoselect 'jtag'^M

            2 trst_and_srst separate srst_nogate trst_push_pull srst_push_pull connect_assert_srst^M

            3 adapter speed: 1000 kHz^M

            4 adapter_nsrst_delay: 100^M

            5 jtag_ntrst_delay: 100^M

            6 Warn : target name is deprecated use: 'cortex_m'^M

            7 jtag_init^M

            8 Warn : Using DEPRECATED interface driver 'ft2232'^M

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

           10 Info : max TCK change to: 30000 kHz^M

           11 Info : clock speed 1000 kHz^M

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

           13 Info : JTAG tap: stm32f4xx.bs tap/device found: 0x06431041 (mfg: 0x020, part: 0x6431, ver: 0x0)^M

           14 Warn : JTAG tap: stm32f4xx.bs       UNEXPECTED: 0x06431041 (mfg: 0x020, part: 0x6431, ver: 0x0)^M

           15 Error: JTAG tap: stm32f4xx.bs  expected 1 of 1: 0x06413041 (mfg: 0x020, part: 0x6413, ver: 0x0)^M

           16 Error: Trying to use configured scan chain anyway...^M

           17 Warn : Bypassing JTAG setup events due to errors^M

           18 Info : stm32f4xx.cpu: hardware has 6 breakpoints, 4 watchpoints^M

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

           20 Info : JTAG tap: stm32f4xx.bs tap/device found: 0x06431041 (mfg: 0x020, part: 0x6431, ver: 0x0)^M

           21 Warn : JTAG tap: stm32f4xx.bs       UNEXPECTED: 0x06431041 (mfg: 0x020, part: 0x6431, ver: 0x0)^M

           22 Error: JTAG tap: stm32f4xx.bs  expected 1 of 1: 0x06413041 (mfg: 0x020, part: 0x6413, ver: 0x0)^M

           23 Error: Trying to use configured scan chain anyway...^M

           24 Warn : Bypassing JTAG setup events due to errors^M

           25 Info : accepting 'gdb' connection on tcp/3333^M

           26 Info : device id = 0x10006431^M

           27 Info : flash size = 512kbytes^M

           28 Info : Auto-detected RTOS: FreeRTOS^M

       

      It seems the wrong config file cause error.

       

       

      I'm using BCM9WCD1EVAL1.cfg and stm32f4x.cfg which are included by default SDK

       

       

      Does anyone have an idea?

       

      Thanks,

      Soohwan.