IP Address in Hardware Implementation (External Mode in Configuration Parameters) is not used for code generation
3 次查看(过去 30 天)
显示 更早的评论
Hello community,
we developed our own toolchain for an Intel Cyclone V FPGA (MitySOM-5CSX) using this tutorial (https://de.mathworks.com/help/ecoder/target-sdk.html), to generate code from Simulink models using the Embedded Coder Support Package for ARM Cortex-A Processors. In the 5th step of this tutorial (Activate the Application Deployment Feature) the IP address of the target board is specified, which then also appears correct under Configuration Parameters -> Hardware Implementation -> External Mode.
Now, if you want to change this IP address at this point (Configuration Parameters -> Hardware Implementation -> External Mode), the embedded coder will not use this new IP address, but only the one that was specified when the target was created. That means, no matter which IP address the user later sets under Configuration Parameters -> Hardware Implementation -> External Mode, only the one specified when creating the target will be used for code generation, which is unsuitable.
Is this a bug or a feature? Where can the user later set the IP address of his target board, which then will be used by the embedded coder?
Thank you guys and with best wishes,
Lars Lindner
0 个评论
回答(1 个)
Githin George
2024-10-1
Hi Lars,
It seems like there is no option to change the IP address of the target board from the Configuration Parameters Dialog Box for custom targets as the settings are never reflected for code generation. I am assuming that this behaviour is by design.
I would suggest reaching out to the MathWorks Technical Support team and raising a feature request for the same:
The alternative currently is to create multiple custom hardware targets, one for each IP. But the limitation would be that you need to create a custom target for each board.
Finally, you can use the "sefpref" command to change the default IP address property of the target group similar to how it is set in the 5th step of the tutorial:
I hope this helps.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!