On 1 May 2012 17:56, Gerd v. Egidy <li...@egidy.de> wrote: > Hi, > > I've seen that Spencer did some patches for stlink. Since I still got problems > with stlink and openocd I tried them out: > > I took git master from today (ee38fff78bf) and added the following patches: > http://openocd.zylin.com/604 > http://openocd.zylin.com/605 > http://openocd.zylin.com/606 > http://openocd.zylin.com/607 > http://openocd.zylin.com/608 >
this should work even without the above patches. > I tried to connect to my STM32F4DISCOVERY with the following command: > openocd -f interface/stlink-v2.cfg -f target/stm32f4x_stlink.cfg -c init -c > "reset halt" > for info you can just use the board config, eg. openocd -f board/stm32f4discovery.cfg ... > Openocd fails to correctly connect with the cpu. > > This worked with an older version (git b6068f5a48), although connecting with > just "reset" or without reset at all didn't work. > if it worked with an older version then can you perform a git bisect? What version of libusb are you using? Cheers Spen ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ OpenOCD-devel mailing list OpenOCD-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openocd-devel