I’m having issues installing the latest OpenOCD which has STLink (which I want to use with an STM32F4 Discovery board) on my Mac with OS X Moutain Lion.
So, I run ./configure --enable-stlink, it performs a few hundreds checks and then tells me it requires libusb or libusb-1.0. Which I have already installed, using MacPorts as usual. Why is OpenOCD’s config script still unhappy ? Anyone got that problem too ? Thanks for the help in advance !
Now trying from Git repository, but same story. Bootstrap requires a little macro change (AM to AC) but once that is done, it runs fine. Then configure still complains about libusb … HELP !
Ok, one way or another, I managed to install the STLink interface, I don’t know how. But now OpenOCD works very shakingly with the F4discovery - it keeps telling me the “target is already running an algorithm” … I get like on go at loading my program in the STM32F407’s flash and then it won’t do it again.
But still, I haven’t figured out how I got stlink to be installed. So this topic is still open. Anyone, any clues ?
Algorithm is not used for erase so unsure what could be causing you issues.
Can I suggest enabling the debug log and posting as much info as possible, latest git master (including 0.7.0) should be pretty reliable for the stlink and stm32.
With regards to issues building on Mac, afraid I have no access to test, but we have had no other reports of issues. Again as much info as you can provide may enable us to help resolve your problem.