2 Replies Latest reply on Apr 13, 2017 11:26 AM by erisonkwok

    Problem of Developer Tools: Flashing Firmware

    erisonkwok

      Hey guys,

       

      I am creat a new project as the document of "Examples: Sensor Personality Card(https://developer.motorola.com/build/examples/sensor )" say,but failed in flashing part.

       

      xcjapp@xcj-virtual-machine:~/Build_Environment/muc-loader$ openocd -f board/moto_mdk_muc_reset.cfg -c "program ./out/boot_hdk.bin 0x08000000 reset exit"

      Open On-Chip Debugger 0.10.0-dev-00346-gd3d86cc (2017-04-13-23:48)

      Licensed under GNU GPL v2

      For bug reports, read

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

      Info : FTDI SWD mode enabled

      srst_only separate srst_nogate srst_push_pull connect_deassert_srst

      srst_only separate srst_nogate srst_push_pull connect_deassert_srst

      adapter speed: 500 kHz

      adapter_nsrst_delay: 100

      srst_only separate srst_nogate srst_push_pull connect_deassert_srst

      cortex_m reset_config sysresetreq

      Info : clock speed 500 kHz

      in procedure 'program'

      in procedure 'init' called at file "embedded:startup.tcl", line 473

      in procedure 'ocd_bouncer'

      ** OpenOCD init failed **

      shutdown command invoked

       

      xcjapp@xcj-virtual-machine:~/Build_Environment/nuttx/nuttx$ openocd -f board/moto_mdk_muc_reset.cfg -c "program nuttx.tftf 0x08008000 reset exit"

      Open On-Chip Debugger 0.10.0-dev-00346-gd3d86cc (2017-04-13-23:48)

      Licensed under GNU GPL v2

      For bug reports, read

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

      Info : FTDI SWD mode enabled

      srst_only separate srst_nogate srst_push_pull connect_deassert_srst

      srst_only separate srst_nogate srst_push_pull connect_deassert_srst

      adapter speed: 500 kHz

      adapter_nsrst_delay: 100

      srst_only separate srst_nogate srst_push_pull connect_deassert_srst

      cortex_m reset_config sysresetreq

      Info : clock speed 500 kHz

      in procedure 'program'

      in procedure 'init' called at file "embedded:startup.tcl", line 473

      in procedure 'ocd_bouncer'

      ** OpenOCD init failed **

      shutdown command invoked

       

      Why the OpenOCD init failed?