Unable to load and run code for STM32F4DISCOVERY

1 visualización (últimos 30 días)
Hosam
Hosam el 5 de En. de 2017
Hallo All, I'm using win8.1_64bit, matlab 2014a. I'm using STM32F4DISCOVERY board, and I have a problem to load and run the code. I have no problem to generate the code using matalb, then I can load it by ST-link utility without problem. when I set the configuration to build, load and run, I got this error:
"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 libusbx: error [composite_submit_bulk_transfer] unable to match endpoint to an open interface - cancelling transfer Error: read version failed in procedure 'transport' in procedure 'init'
----------------------------------------------------------
Could you please help me? Best regards,

Respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by