Loading...
 
Skip to main content

System Workbench for STM32


After update openocd is incomplete

Hi

Some more info:

The update did not work first. Instead a message was popping up:

"An error occurred while collecting items to be installed
session context was:(profile=_home_db_eclipse_cpp-mars_eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Unable to read repository at http://www.openstm32.org/Eclipse-updates/org.openstm32.system-workbench.site/plugins/fr.ac6.mcu.externaltools.arm-none.linux64_1.12.0.201611241417.jar.
Premature end of Content-Length delimited message body (expected: 92337111; received: 61517818"

But a wget of the file succeeded so I started the update again.

While the second try it did not conplain any more and the update was seemingly successful.

There are no updates available when checking now.

When I look in Help->Installation Details->Installed Software I see a subfolder "External Tools" below Name "OpenOCD"
This External Tools 1.12.0.201612060912 fr.ac6.feature.mcu.externaltools.feature.group Ac6 has the same Version
as the External Tools 1.12.0.201612060912 fr.ac6.feature.mcu.externaltools.feature.group Ac6 besides "OpenOCD"
OpenOCD is 1.12.0.201611241417 fr.ac6.feature.mcu.externaltools.openocd.feature.group Ac6 according to this info window.

Where is the new path for the openocd scripts folder?

When trying to run/debug I get an error in openocd console:
...
Error: timed out while waiting for target halted
TARGET: stm32f1x.cpu - Not halted
in procedure 'program'
in procedure 'reset' called at file "embedded:startup.tcl", line 478
in procedure 'ocd_bouncer'

    • Unable to reset target **


This error is already known to me.
When I first try to use AC6 I had to modifiy reset config in scripts/target/stm32f1x-back.cfg target/stm32f1x.cfg
See http://www.openstm32.org/tiki-view_forum_thread.php?comments_parentId=2221&topics_offset=69

But now I can not find the scripts at all

My local openocd script is a modified one:

  1. This is an STM32F103C8T6-mini board with a single STM32F103C8Tx chip.
  2. Generated by System Workbench for STM32


source find interface/stlink-v2.cfg

set WORKAREASIZE 0x5000
transport select "hla_swd"

  1. source find target/stm32f1x_stlink.cfg


source find target/stm32f1x.cfg

  1. use hardware reset, connect under reset
  2. reset_config srst_only srst_nogate

reset_config srst_nogate

Regards
Dieter