From: Andreas F. <and...@gm...> - 2013-07-26 10:04:07
|
On Fri, Jul 26, 2013 at 4:46 AM, Ron Segal <ro...@su...> wrote: > Openocd version 0.7.0 current > ST-LINK/V2 usb dongle > > Hi Folks > > The current release works ok with an STM32W108CB version with 128K Flash. > A Rexense wireless module on a development board with JTag. > With exactly the same setup it throws the following with an STM32W108CC > version with 256K Flash. > > /openocd# ./openocd -f interface/stlink-v2.cfg -f > target/stm32w108_stlink.cfg > Open On-Chip Debugger 0.7.0 (2013-07-26-13:57) > Licensed under GNU GPL v2 > For bug reports, read > http://openocd.sourceforge.net/doc/doxygen/bugs.html > Info : This adapter doesn't support configurable speed > Info : STLINK v2 JTAG v15 API v2 SWIM v4 VID 0x0483 PID 0x3748 > Info : Target voltage: 3.245115 > Error: init mode failed > in procedure 'transport' > in procedure 'init' > > I have tried various changes to the stm32w108_stlink.cfg file but to no > avail. > > I have tried with different STM32W hardware (development board and STM32W > module) in case there was a problem there. > > Do you have another (non-STLink) dongle to try with? It apparently fails during init of the STLink, when it hasn't done much, if anything, with the target. So I suspect the problem lies either in the STLink init code (and I cant see why it should matter at that point which flash size you have) or not in OpenOCD at all. Can you use another software tool, for example some flashing utility for the STLink to verify if it's possible to make it work at all? /Andreas |