On 26/07/13 03:46, Ron Segal 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.
>
> A fix or workaround would be appreciated.
>

Are you saying your are using JTAG mode with the stlink?
If you are I would suggest you use SWD as it is currently more reliable 
- http://sourceforge.net/apps/trac/openocd/ticket/61. I am working on 
the fix.

One other issue is that the stlink uses the TAPID to determine supported 
targets, this changes a lot more with JTAG mode than it does with SWD.

Also show us what your current cfg looks like.

Cheers
Spen


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to