Problem creating PIL block for STM32F4 based board
1 view (last 30 days)
Show older comments
Hi all,
I need help in runing PIL simulation for my STM32F410RB NuCLEO board.
I'm trying to generate a PIL block of the controller in "Code Verification and Validation with PIL" example. But I'm getting the following error.
C:\Users\pradeept\AppData\Local\Microsoft\WindowsApps\python.exe\mwcoder_CoderAssumpHostAppSvc.lib not detected; check that you are in the correct current folder, and check the spelling of 'C:\Users\pradeept\AppData\Local\Microsoft\WindowsApps\python.exe\mwcoder_CoderAssumpHostAppSvc.lib'.
I'm not sure why and what is casuing this error. it will be greatly apprecitated if anyone can help me.
1 Comment
Adit Kirtani
on 2 Nov 2023
Hi Pradeep,
You can go ahead and contact Technical Support:
Thank you,
Adit Kirtani.
Answers (1)
UDAYA PEDDIRAJU
on 30 Oct 2023
Hi Pradeep,
As per my understanding, the error message you’re encountering seems to suggest that the file “mwcoder_CoderAssumpHostAppSvc.lib” is not found in the specified directory.
This could be due to nonexistence of the required file, try the following solutions:
- The file might not exist in the mentioned directory. Verify and ensure that the file is located at “C:\Users\pradeept\AppData\Local\Microsoft\WindowsApps\python.exe\”.
- Ensure that the target hardware and board settings are correctly specified for your “STM32F410RB Nucleo [SK1] [UB2] board”.
- MATLAB Environment: Ensure that you have the necessary MATLAB environment and toolboxes installed, including the “Embedded Coder and Simulink Coder”. These toolboxes are required for generating PIL blocks.
Follow every step in the procedure mentioned at https://www.mathworks.com/help/ti-c2000/ug/code-verification-validation-with-pil.html.
I hope this gives an idea on how to proceed!
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!