How to setup STM32-MAT/TARGET with MATLAB R2014a?

Hallo,
I have this error during downloading my code to the board "C:\MATLAB\SupportPackages\R2014a\stm32f4discovery/openOCD_client.bat" "C:\MATLAB\SupportPackages\R2014a\openocd-0.6.1/bin/openocd-0.6.1.exe" "-f board/stm32f4discovery.cfg" ../stm32f4discovery_led4.hex Launching openOCD server C:\MATLAB\SupportPackages\R2014a\openocd-0.6.1/bin/openocd-0.6.1.exe -f board/stm32f4discovery.cfg:
Following error captured during invoking of openOCD server: Open On-Chip Debugger 0.6.1 (2012-10-07-10:34) Licensed under GNU GPL v2 For bug reports, read http://openocd.sourceforge.net/doc/doxygen/bugs.html adapter speed: 1000 kHz srst_only separate srst_nogate srst_open_drain Info : clock speed 1000 kHz Error: open failed in procedure 'transport' in procedure 'init'
I'm using Matlab 2014a, 64bit and i have installed STM32-MAT/TARGET 4.4.0. Also I can programming the board directly using ST-LINK utility.
Could you please help me? Thanks in advance, Hosam

Answers (0)

Categories

Products

Asked:

on 22 Dec 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!