[WIZnet CAN] Build and run CANdevStudio
Among representative CAN applications, we built CANdevStudio, an open source project, and tested the plug-in operation.
0
Project description
Welcome to the world of CANdevStudio, a pivotal tool for CAN network development. This open-source project is an indispensable application for the simulation and testing of CAN communication. The following article provides a detailed account of the building process and plugin testing of CANdevStudio. From start to finish - setting up the development environment, installing necessary libraries, to running the application - readers will learn how to efficiently manage and test their CAN communication using CANdevStudio.
Since we built and added the Qt plugin, it can now be used directly in applications that use this plugin. Among the representative CAN applications, we will build CANdevStudio, an open source project, and test the plugin operation.
CANdevStudio's source code can be found on GitHub below.
https://github.com/GENIVI/CANdevStudio
Clone the repository using git.
git clone https://github.com/GENIVI/CANdevStudioAnd Submodule update is in progress.
cd .\CANdevStudio\3rdParty\
git submodule update --init --recursive
Run Qt Creator and select File->Open File or Project.
![[WIZnet CAN] Build and run CANdevStudio](/upload/_thumb/1280/ckeditor5/279227383%5F1698942469%2Epng.jpg)
Select CMakeLists.txt.
![[WIZnet CAN] Build and run CANdevStudio](/upload/_thumb/1280/ckeditor5/279227383%5F1698942495%2Epng.jpg)
Proceed with Configure in the same way as when building a plugin.
![[WIZnet CAN] Build and run CANdevStudio](/upload/_thumb/1280/ckeditor5/279227383%5F1698942518%2Epng.jpg)
![[WIZnet CAN] Build and run CANdevStudio](https://postfiles.pstatic.net/MjAyMjA0MjlfMjc0/MDAxNjUxMjQzNzE0MzI5.TwHb-R-UwlxDHj7Ziibn8sLThAs2y2_8L7hf_PIF9Vsg.En6e0S0LTTvR8oE3LPpbYBINsRbBDT8lhrKAt0Ec2HAg.PNG.chcbaram/image.png?type=w773)
When the build is complete, CANdevStduio is executed as shown below. Select New Project.
![[WIZnet CAN] Build and run CANdevStudio](https://postfiles.pstatic.net/MjAyMjA0MjlfMTIg/MDAxNjUxMjQzOTE3Mzg2.VQHniz9HlUJTGFAwo3JxjDjsdh7g2xgb1uyLsIZCPH0g.scfVXk0hYsZDMxf_-C1XWwLUXY2T_fqTX23wqSLLCqog.PNG.chcbaram/image.png?type=w773)
![]()
For a simple test, add one CanDevice.
![[WIZnet CAN] Build and run CANdevStudio](/upload/_thumb/1280/ckeditor5/279227383%5F1698942604%2Epng.jpg)
![[WIZnet CAN] Build and run CANdevStudio](https://postfiles.pstatic.net/MjAyMjA0MjlfMjcg/MDAxNjUxMjQ0MDU5Mzkw.4c1YtOUFl72GxQaNYoSTm2ROrwjJE-mA25P87zPfcGMg.e6_tbvi-wDyqaFXvrNfzcEq2QbjRvQBA4VA_g7W6fW0g.PNG.chcbaram/image.png?type=w773)
When you double-click CanDevice and select backend, you will see the added wiznet_can plugin and select it.
![[WIZnet CAN] Build and run CANdevStudio](https://postfiles.pstatic.net/MjAyMjA0MjlfMjA5/MDAxNjUxMjQ0MDk3NDc2.1cESpF9d5PxHE33d2DDjOLUicESRSGUJ7lTjU5UYbtgg._ZVluKi1RU6KW_Jn1wXHwNKYEgdOIsd956u6xXAOJwgg.PNG.chcbaram/image.png?type=w773)
![]()
Connect CanRawView to view received CAN messages. and Click the play icon at the top to connect.
![[WIZnet CAN] Build and run CANdevStudio](https://postfiles.pstatic.net/MjAyMjA0MzBfMjky/MDAxNjUxMjQ0NDk1OTMy.D2XT74Ik9HKWpPzWGSkeDkWO31NZyIvFYPMOPog3ETQg.uHnv8JgruEpArv_0bvJmQfIClSi2VlPRndDEyi1TDVUg.PNG.chcbaram/image.png?type=w773)
![[WIZnet CAN] Build and run CANdevStudio](/upload/_thumb/1280/ckeditor5/279227383%5F1698942668%2Epng.jpg)
![[WIZnet CAN] Build and run CANdevStudio](https://postfiles.pstatic.net/MjAyMjA0MzBfMTAg/MDAxNjUxMjQ0NjAwNDU1.izdjClHCEq9S2cC3SJMyeakX5ffrzYyaISYbb2ACirYg.u5myOAGbVbnjGNJJk6jCWdC3itde4Qr7kU-s4qq0QjEg.PNG.chcbaram/image.png?type=w773)
Data sent from the CAN analyzer is displayed as a received message in CanRawView.
![[WIZnet CAN] Build and run CANdevStudio](https://postfiles.pstatic.net/MjAyMjA0MzBfMjUz/MDAxNjUxMjQ0NTczMzE3.WkqgcAmYiPQqZSpfgoz-UyD4QzqL0CKFAizJCXMkRwEg.nG0vjLRuxJATH8alEj3uPez0iAfL9D9Viq6LZsWMm20g.PNG.chcbaram/image.png?type=w773)
![]()
By simply creating a plug-in, you can use the same interface in multiple programs.
So far, we have looked at how to use the Ethernet CAN Gateway using the WIZnet board.
