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
2013-10-30
编辑: MathWorks Support Team
2021-5-11
Why do I observe the following error message when I try to simulate the 'stm32f4discovery_pil_block' model in PIL mode for the ST Discovery board?
采纳的回答
MathWorks Support Team
2021-5-11
编辑: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 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!