Code execution profiling on STM32F4 (PIL)
2 次查看(过去 30 天)
显示 更早的评论
Hello everyone,
I'm currently trying to get some profiling information about my generated STM32F4 - program.
I'm using the waijung Blockset to generate Code for my STM32F4-Discovery Board. As an example of an program I added 'stm32f4Prototyp.slx', that hopefully contains important information about my toolchain/ code genration/ compiler configuration.
Now I'm running in some performance issues and tried to find critical program parts.
I've tried to follow these instructions, but the code doesn't seem to work in my enviroment (Matlab 2018a).
codertarget.stm32f4discovery.demo_setup('simple_addition');
Matlab does not know any 'codertarget', so I think I need an Add-On. On the mathworks-page it says that "stmicroelectronicsstm32f4discovery" is used, but the link is dead. I did some research and found a package named "Embedded Coder Support Package for STMicroelectronics Discovery Boards", that may be needed. I also found this link, using a different approach on a Processor-in-the-Loop (PIL). I hope someone can help me, answering the following questions.
1) Do I need the package named "Embedded Coder Support Package for STMicroelectronics Discovery Boards" for code profiling on a STM32F4?
2) 'simple_addition.m' is just an example for a matlab function, how do I convert my simulink model or parts of it into the required matlab function format?
3) Is there any fundamental thinking error?
I am very grateful for every answer!
Have a nice day
Malte
0 个评论
回答(0 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!