Why do I get an error related to openOCD when I use the support package for ST Discovery Board and perform a PIL in simulink 8.2 (R2013b)?

1 次查看(过去 30 天)

采纳的回答

MathWorks Support Team
编辑:MathWorks Support Team 2021-5-11
This issue is observed because the ST Link USB driver for the Discovery board  is not installed. One way to check if it is correctly installed (on a Windows 7 machine) would be:
- Ensure the device is switched on through the mini USB connection
- Go to Control Panel->Device Managers->STM32 ST Link->Properties
- if there are any issues, it should say the 'Device driver is not installed'.
To resolve this, 
1. Download the ST link device driver for your platform from here:
2. Install the device drivers. During installation, note the path where the drivers are installed. For example:
C:\Program Files (x86)\STMicroelectronics\STM32 ST-LINK Utility\ST-LINK_USB_V2_Driver
3. Now go back to STM32 ST Link -> Properties in Device Manager and select 'update driver'.
4. Manually provide the installation path for the driver.
Once you have updated the driver, you should be able to run the PIL simulation fine.

更多回答(0 个)

标签

尚未输入任何标签。

产品


版本

R2013b

Community Treasure Hunt

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

Start Hunting!

Translated by