Wuttichai Luemuang, Dreamstime.com
Software Wutthichai Luemuang Dreamstime 60e5da5c4b97f

More IDEs Incorporate AI Tools

July 12, 2021
Machine-learning tools are now part of Infineon’s open-source, Eclipse-based ModusToolbox.

What you’ll learn

  • Trends in integrated development systems.
  • How ModusToolbox brings machine learning to PSoC microcontrollers.

Infineon’s ModusToolbox is an open-source, Eclipse-based integrated development environment (IDE) that supports its numerous microcontroller solutions, including configurable PSoC. IDEs have come a long way from when they were customized text editors that drove compiler scripts and spawned debuggers. They still do that, but the sophistication of today’s IDEs is extensive, especially as more and more tools are added to the mix.

Machine learning (ML) is the latest piece that’s finding its way into almost every IDE on the planet. This includes Infineon’s ModusToolbox Machine Learning, which supports popular ML frameworks like TensorFlow (Fig. 1). It’s combined with the ModusToolbox ML Embedded Library to deliver ML inference models that run on platforms like PSoC. The associated compiler is designed to validate and optimize the trained model so that it can fit and run on a microcontroller. The tool also can validate the performance of the resulting model using test data.

The integrated tool handles a range of ML models from 1D and 2D convolutions to recurrent neural networks (RNNs) such as GRU (gated recurrent unit). The platform supports hardware like the CY8CKIT-064S0S2 PSoC development board and the CY8CKIT-028-SENSE Expansion Shield.

Integration of ML tools with IDEs varies significantly unlike more standard tools like GCC compilers and GDB debuggers. This is partly due to the variety of ML frameworks, models, and tools being employed. Many are open-source tools that actually provide a level of standardization, since making significant modifications leads to support headaches for vendors in the long run.

On the other hand, customization enhances integration, streamlining a user’s development process and generally reducing the amount of understanding required to take advantage of ML. Such integration can be significant because users often may have a limited background in ML—even when it comes to the workflows—in order to incorporate the benefits of ML into their application.

ML integration isn’t the only tool that’s part of a vendor’s IDE solution these days (Fig. 2). RTOS support, IoT linkages, and security are all in the mix. This combination of tools usually ties a developer to a vendor’s platform more than any hardware aspect. It’s not necessarily a bad thing, as migrating an application to a different vendor’s hardware isn’t something that’s done frequently. Still, it can make use of examples, like ML models, in a user’s application more challenging.

It’s also one reason other tools that are often part of an IDE these days are integrated web-based forums and support sites as well as app stores. These usually make it very easy to download additional tools or examples.

This level of integration with vendor-provided tools makes it challenging for third-party providers to match the integration found in vendor’s IDEs, which are often provided for free. On the flip side, third-party providers often cover a wider range of hardware platforms, often in a relatively transparent fashion. Likewise, some of their tools and solutions can be more sophisticated or extensive compared to vendor-based IDEs.

About the Author

William G. Wong | Senior Content Director - Electronic Design and Microwaves & RF

I am Editor of Electronic Design focusing on embedded, software, and systems. As Senior Content Director, I also manage Microwaves & RF and I work with a great team of editors to provide engineers, programmers, developers and technical managers with interesting and useful articles and videos on a regular basis. Check out our free newsletters to see the latest content.

You can send press releases for new products for possible coverage on the website. I am also interested in receiving contributed articles for publishing on our website. Use our template and send to me along with a signed release form. 

Check out my blog, AltEmbedded on Electronic Design, as well as his latest articles on this site that are listed below. 

You can visit my social media via these links:

I earned a Bachelor of Electrical Engineering at the Georgia Institute of Technology and a Masters in Computer Science from Rutgers University. I still do a bit of programming using everything from C and C++ to Rust and Ada/SPARK. I do a bit of PHP programming for Drupal websites. I have posted a few Drupal modules.  

I still get a hand on software and electronic hardware. Some of this can be found on our Kit Close-Up video series. You can also see me on many of our TechXchange Talk videos. I am interested in a range of projects from robotics to artificial intelligence. 

Sponsored Recommendations

Comments

To join the conversation, and become an exclusive member of Electronic Design, create an account today!