On Sun, Mar 16, 2014 at 10:52 PM, Angelo Dureghello <[email protected]>wrote:

>
> i am trying to program stm32f405 with a cheap stlink-V2, without success.
> I attach the log, maybe someone can help me.
>
> > flash write_bank 0 bin/gasc.bin 0
> jtag status contains invalid mode value - communication failure
> error waiting for target flash write algorithm
>

It's always safest to reset the target before writing flash to get it into
a known state.

/Andreas
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to