blog.st.com
Open in
urlscan Pro
2600:9000:2251:f200:17:ef84:c440:93a1
Public Scan
URL:
https://blog.st.com/percepio-devalert/
Submission: On August 26 via manual from IN — Scanned from DE
Submission: On August 26 via manual from IN — Scanned from DE
Form analysis
8 forms found in the DOM<form><span class="fieldset">
<p><input type="checkbox" value="check" id="chkMain" checked="checked" class="legacy-group-status optanon-status-checkbox"><label for="chkMain">Active</label></p>
</span></form>
GET https://blog.st.com/
<form class="searchform" method="get" autocomplete="off" action="https://blog.st.com/"> <input name="s" type="text" class="vossen-search-input" value="" placeholder=" Search and hit enter..."> <button class="search-submit-icon" name="submit"
type="submit"><i class="fa fa-search"></i></button></form>
POST
<form id="mc4wp-form-1" class="mc4wp-form mc4wp-form-14653" method="post" data-id="14653" data-name="prova">
<div class="mc4wp-form-fields">
<p> <label>Email address: </label> <input type="email" name="EMAIL" placeholder="Your email address" required=""></p>
<p> <input type="submit" value="Subscribe"></p>
</div><label style="display: none !important;">Leave this field empty if you're human: <input type="text" name="_mc4wp_honeypot" value="" tabindex="-1" autocomplete="off"></label><input type="hidden" name="_mc4wp_timestamp"
value="1661485676"><input type="hidden" name="_mc4wp_form_id" value="14653"><input type="hidden" name="_mc4wp_form_element_id" value="mc4wp-form-1">
<div class="mc4wp-response"></div>
</form>
POST
<form id="mc4wp-form-2" class="mc4wp-form mc4wp-form-14653" method="post" data-id="14653" data-name="prova">
<div class="mc4wp-form-fields">
<p> <label>Email address: </label> <input type="email" name="EMAIL" placeholder="Your email address" required=""></p>
<p> <input type="submit" value="Subscribe"></p>
</div><label style="display: none !important;">Leave this field empty if you're human: <input type="text" name="_mc4wp_honeypot" value="" tabindex="-1" autocomplete="off"></label><input type="hidden" name="_mc4wp_timestamp"
value="1661485676"><input type="hidden" name="_mc4wp_form_id" value="14653"><input type="hidden" name="_mc4wp_form_element_id" value="mc4wp-form-2">
<div class="mc4wp-response"></div>
</form>
GET https://blog.st.com/
<form class="searchform" method="get" autocomplete="off" action="https://blog.st.com/"> <input name="s" type="text" class="vossen-search-input" value="" placeholder=" Search and hit enter..."> <button class="search-submit-icon" name="submit"
type="submit"><i class="fa fa-search"></i></button></form>
GET https://blog.st.com/
<form class="searchform" method="get" autocomplete="off" action="https://blog.st.com/"> <input name="s" type="text" class="vossen-search-input" value="" placeholder=" Search and hit enter..."> <button class="search-submit-icon" name="submit"
type="submit"><i class="fa fa-search"></i></button></form>
GET https://blog.st.com/
<form class="searchform" method="get" autocomplete="off" action="https://blog.st.com/"> <input name="s" type="text" class="vossen-search-input" value="" placeholder=" Search and hit enter..."> <button class="search-submit-icon" name="submit"
type="submit"><i class="fa fa-search"></i></button></form>
<form id="jp-carousel-comment-form"> <label for="jp-carousel-comment-form-comment-field" class="screen-reader-text">Write a Comment...</label><textarea name="comment" class="jp-carousel-comment-form-field jp-carousel-comment-form-textarea"
id="jp-carousel-comment-form-comment-field" placeholder="Write a Comment..."></textarea>
<div id="jp-carousel-comment-form-submit-and-info-wrapper">
<div id="jp-carousel-comment-form-commenting-as">
<fieldset> <label for="jp-carousel-comment-form-email-field">Email (Required)</label> <input type="text" name="email" class="jp-carousel-comment-form-field jp-carousel-comment-form-text-field" id="jp-carousel-comment-form-email-field">
</fieldset>
<fieldset> <label for="jp-carousel-comment-form-author-field">Name (Required)</label> <input type="text" name="author" class="jp-carousel-comment-form-field jp-carousel-comment-form-text-field" id="jp-carousel-comment-form-author-field">
</fieldset>
<fieldset> <label for="jp-carousel-comment-form-url-field">Website</label> <input type="text" name="url" class="jp-carousel-comment-form-field jp-carousel-comment-form-text-field" id="jp-carousel-comment-form-url-field"></fieldset>
</div> <input type="submit" name="submit" class="jp-carousel-comment-form-button" id="jp-carousel-comment-form-button-submit" value="Post Comment">
</div>
</form>
Text Content
Cookie Notice This website uses cookies and similar technologies for functionality, analytics, and advertising purposes. To see what cookies we serve and set your preferences, please read the ST -[Cookie Policy](https://blog.st.com/cookie-policy/) Close Accept Cookies Cookie Settings * How ST Blog Uses Cookies * Strictly Necessary Cookies * Performance Cookies * Functional Cookies * Targeting Cookies * Social Media Cookies * More Information Privacy Preference Centre Active Always Active Save Settings Allow All * Home * Smart Things * Smart Home & City * Smart Industry * Smart Driving * Security * ST.com * Privacy Portal * Manage Cookies Email address: Leave this field empty if you're human: THE ST PODCAST The ST Podcast The audio versions of the posts we publish on The ST Blog. Listen at your leisure and learn more about what makes technologies great and innovations meaningful. Get more from technology to get more from life with STMicroelectronics. Listen OnApple PodcastsListen OnSpotify Audio Player Wayfinding Mark System from NFC Forum, 4 Catchy Images to Bring NFC to the Rest of the World ST just updated its white paper on the NFC design considerations for an improved user experience with the[...] Change Playback Rate 1x * 0.8 * 1 * 1.2 * 1.5 * 2 Go to previous episode Skip Backward Play Pause Jump Forward Skip to next episode Download Share This Episode * Facebook * Twitter * Linkedin * Copy episode link Copied * Download 00:00 00:00 00:00 Wayfinding Mark System from NFC Forum, 4 Catchy Images to Bring NFC to the Rest of the World bySTMicroelectronics ST just updated its white paper on the NFC design considerations for an improved user experience with the latest Wayfinding Mark System and guidelines by the NFC Forum, which ensures end-users better grasp where and how to tap their phone or watch. This is the audio version of a blog post. — Send in a voice message: https://anchor.fm/stmicroelectronics-blog/message Search EpisodesClear Search Wayfinding Mark System from NFC Forum, 4 Catchy Images to Bring NFC to the Rest of the World June 9, 2022 STMicroelectronics STM32 Embedded Displays: 1st HD Screen With STM32H7 So Projects of All Sizes Can Display Beautiful GUIs May 10, 2022 STMicroelectronics embeNET and STM32WL: 6TiSCH Based Mesh Network Overcomes Big Challenges Plaguing the Internet of Things May 5, 2022 STMicroelectronics NeoChrom GPU, New 2.5D Accelerator With Massive Hardware Optimizations for Rich UIs on STM32 May 2, 2022 STMicroelectronics TouchGFX 4.19: 2 New Features That Make Working with Texts and Graphs a Breeze March 22, 2022 STMicroelectronics Transform Health Care and Save Lives with a SensorTile.Box and a BlueCoin March 8, 2022 STMicroelectronics L9963E: 5 Things to Watch Out For in a Battery Management Solution February 15, 2022 STMicroelectronics 3 Powerful Lessons from NeuronicWorks and STM32 About Designing Reliable, Recyclable, and Energy Efficient Products February 7, 2022 STMicroelectronics STM32CubeProgrammer and STM32CubeMonitor: See How Power Users Get More Productive on STM32 January 25, 2022 STMicroelectronics STM32CubeIDE, STM32CubeMX, STM32 Finder: 3 Tools, 1 Unique Ecosystem to Empower Creators December 10, 2021 STMicroelectronics Load More Search Results placeholder Previous Episode Show Episodes List Next Episode Listen OnApple PodcastsListen OnSpotify Show Podcast Information SUBSCRIBE TO OUR DISPATCHES Email address: Leave this field empty if you're human: RECENT POSTS * TouchGFX 4.20: Sharing Custom Containers Is Caring! Check the New Export Feature * SCHC: Discover Acklio’s Library for IPv6 on LoRaWAN running on a Chic STM32WL * STM32Cube.AI v7.2, Now With Support for Deeply Quantized Neural Network and Why It Matters * STM32 China Online Tech Week 2022, Register and Celebrate 15 Amazing Years of STM32 * Percepio DevAlert and STM32: A Sandbox and Tools to Crush Frustrating Bugs and Malicious Attacks CATEGORIES * AI * Application Examples * Events * From our labs * Internet of Things * Lifestyle * NanoEdgeAi Use Case * Our products * Power * Security * Sensors * Smart Driving * Smart Home & City * Smart Industry * Smart Things * Space * Speeches * Sustainability * Tutorials * Uncategorized * Home * SMART THINGS * SMART HOME & CITY * SMART INDUSTRY * SMART DRIVING * SECURITY * Home * SMART THINGS * SMART HOME & CITY * SMART INDUSTRY * SMART DRIVING * SECURITY In Application Examples, Internet of Things, Smart Industry PERCEPIO DEVALERT AND STM32: A SANDBOX AND TOOLS TO CRUSH FRUSTRATING BUGS AND MALICIOUS ATTACKS June 30, 2022 Percepio, an authorized partner and member of the ST Partner Program, just launched DevAlert® Sandbox, a new way to experiment with the company’s DevAlert solution. In a nutshell, DevAlert can remotely diagnose and debug applications running on STM32 microcontrollers thanks to exceptionally detailed logs and cloud computing. Hence, teams can detect issues early and deploy a patch over the air before dramatic consequences occur. Additionally, developers can use DevAlert’s general monitoring framework during testing and deployment to detect anomalies or even cybersecurity attacks. Percepio used ST’s B-L475E-IOT01A Discovery kit for IoT as a reference during the project’s inception. TABLE OF CONTENTS * Crushing Bugs in the Age of Softwarization * How It Started and How It’s Going? * What New Challenges Developers Face Today? * Smoothing the Rough Development Ride * How Can Alerts, Warnings, and Traces Help? * How Does DevAlert Minimize RAM Usage and Data Uploads with a Ring Buffer? * How DevAlert Can Help With Cybersecurity Monitoring? * Encouraging Experimentation with a Virtual STM32 System * What Is DevAlert Sandbox? * Why Start With DevAlert Sandbox? * Shortening the Time to Market * How Does DevAlert Work with ST Technologies? * What Does the Cloud Bring? CRUSHING BUGS IN THE AGE OF SOFTWARIZATION HOW IT STARTED AND HOW IT’S GOING? Since the first official “bug” in 1947, caused by a moth lodged into a hardware relay inside Harvard’s Mark II electromechanical computer, errors and glitches have plagued code. A 2002 study by the U.S. National Institute of Standards and Technology (NIST) established that, at the time, bugs cost the U.S. economy about 60 billion dollars annually. Corrected for inflation, this would amount today to 95 billion dollars. However, this figure is most likely far higher. Indeed, since 2002, societies have been relying a lot more on software. Mobile products, cloud services, and smart vehicles, homes, or cities testify to “softwarization.” The term, coined in 20161, designates a tendency to prioritize software solutions rather than create new hardware. WHAT NEW CHALLENGES DEVELOPERS FACE TODAY? Additionally, a paper published in 2016 by The Journal of Systems and Software2 showed that many bugs, especially those with more than two conditions, avoided internal testing procedures. Developers could have caught them before releasing their program but didn’t have the testing protocols to spot them. As software gets increasingly complex, testing for every single-use case and code branch is often impossible. For instance, thread switching in real-time operating systems and parallelism thanks to new multicore MCUs create unique challenges. Moreover, with the advent of machine learning at the edge, unexpected behaviors are more common, and the need to correct them is ever more critical. Therefore, a tool like Percepio DevAlert (DevAlert) represents a solution to this problem. SMOOTHING THE ROUGH DEVELOPMENT RIDE HOW CAN ALERTS, WARNINGS, AND TRACES HELP? Developers use DevAlert by calling API functions that generate an alert when an issue is detected. The warnings include an error code, a message string, variables or register values, and the most recent trace. The system then sends this content to a probe, the cloud, or stores them locally until developers grab them with a smartphone or laptop. Programmers can then use Percepio’s Tracealyzer® to study traces and determine what went wrong through its visualization tools. Since developers can integrate alerts within their code that handles errors or exceptions, they can more rapidly bring DevAlert into their workflow. The framework is thus relatively straightforward as it doesn’t necessitate a code rewrite. HOW DOES DEVALERT MINIMIZE RAM USAGE AND DATA UPLOADS WITH A RING BUFFER? At its core, DevAlert uses a ring buffer that constantly logs details in the memory allocated by the program. As a result, using the trace buffer only requires a few kilobytes of RAM, and cloud uploads only happen after an anomaly. Hence, when an error occurs, the system already has tons of information on what was happening. Additionally, DevAlert doesn’t constantly upload to the cloud, therefore saving significant bandwidth. After ten years of work, Percepio significantly optimized its solution on STM32 to only use between four bytes to 16 bytes of RAM per event, with a majority only requiring around eight bytes. DevAlert can thus log thousands of events per second without negatively impacting performances. Comparatively, most other competing trace recorders need between 16 bytes and 32 bytes per event. Indeed, the ring buffer enables a smaller RAM requirement as data is constantly overwritten until required. The system also transfers events to the flash to save information before a hard reboot. As a result, Percepio’s solution can fit in many systems, including those with tight memory constraints. Moreover, storing hundreds or thousands of events becomes far more manageable and primarily a function of the flash instead of the RAM. Developers can thus have a comprehensive analysis of their program and figure out how to optimize it. They can also monitor more aspects of their applications to detect a broader range of abnormal behaviors. HOW DEVALERT CAN HELP WITH CYBERSECURITY MONITORING? One example of what developers can monitor with DevAlert is security attacks. The framework itself doesn’t provide automatic detection of cyberattacks. However, it is flexible enough to allow the detection of security-related anomalies. For instance, developers can monitor the network stack and login attempts. Numerous erroneous login attempts would often be a tell-tale sign of a brute force attack and atypical requests could point to denial-of-service attacks. Similarly, DevAlert may rapidly detect corrupt stacks, which could point to the exploitation of a remote code execution vulnerability, and ensure developers spot and quickly patch the issue. The framework also uses SecureFault exemptions after a TrustZone violation on an STM32U5 or STM32L5. ENCOURAGING EXPERIMENTATION WITH A VIRTUAL STM32 SYSTEM WHAT IS DEVALERT SANDBOX? A representation of DevAlert Sandbox One of the best ways to get started with DevAlert is to use DevAlert Sandbox, a pre-packaged environment in the cloud. Users can learn from the demo applications, an elevator controller running on a simulated STM32F4. It is possible to tweak code directly within the environment, which contains an Eclipse IDE, a GCC toolchain, and a QEMU simulator. Developers can thus see what warnings would look like, how the system would run, and how changes would impact the program. Percepio chose the elevator example because it’s a very common class of embedded systems and lends itself to practical visualization. WHY START WITH DEVALERT SANDBOX? Since all compilation operations run on the cloud server, the system works on any modern browser and operating system. However, the cloud version doesn’t preserve code edits between sessions. Hence, a virtual machine image is also available for download. It allows developers to run the demo locally and store edits more easily. Users can sign up for DevAlert Sandbox for free. Once engineers are ready, they can copy their code changes to their IDE and run it on their STM32 microcontroller. The default installation comes with built-in anomalies that developers can run as soon as they log in for the first time and a set of introduction videos. SHORTENING THE TIME TO MARKET HOW DOES DEVALERT WORK WITH ST TECHNOLOGIES? The DevAlert Dashboard After experimenting with DevAlert Sandbox, developers will want to move to their STM32 system. One way to quickly test DevAlert on a physical solution is to use the B-L475E-IOT01A Discovery kit, which supports STLINK-V3. Percepio supported STLINK-V3 as soon as it launched, thus ensuring their customers enjoyed faster speeds and new features. Additionally, the company went a step further by providing an Eclipse plugin for STM32CubeIDE, our first free IDE with STM32CubeMX integrated. The plugin makes it easier to use Tracealyzer within ST’s development environment. DevAlert also uses cloud infrastructures to help engineers keep track of bugs or specific information, opening the system to more than just error detection. WHAT DOES THE CLOUD BRING? Percepio uses the cloud to sort issues using a “Classification Engine.” Before the information reaches developers, the server processes it to highlight any new or potentially essential warnings on the DevAlert Dashboard. As a result, teams avoid “alert fatigue” when receiving messages from a large fleet and can better spot important messages. Seeing how many times an anomaly takes place can also help with prioritization. Furthermore, using a cloud facilitates information sharing between teams, even when DevAlert is only running locally in a test lab. DevAlert can also use the cloud to track sensor information to check for unforeseen conditions. For instance, programmers could detect if people accidentally press a button or find a flaw in the interface. * Discover Percepio DevAlert * Check out the B-L475E-IOT01A 1. Sevil Dräxler, Manuel Peuster, Holger Karl, Michael Bredel, Johannes Lessmann, Thomas Soenen, Wouter Tavernier, Sharon Mendel-Brin, George Xilouris. 2016. “SONATA: Service Programming and Orchestration for Virtualized Software Networks”. 2017. IEEE International Conference on Communications Workshops. https://doi.org/10.1109/ICCW.2017.7962785 ↩︎ 2. Domenico Cotroneo, Roberto Pietrantuono, Stefano Russo, Kishor Trivedi. “How do bugs surface? A comprehensive study on the characteristics of software bugs manifestation”. 2016. Journal of Systems and Software, Volume 113: 27-43. https://doi.org/10.1016/j.jss.2015.11.021. ↩︎ RELATED QT SUPPORTS DEVS PASSIONATE ABOUT UI AND PERFORMANCE AROUND STM32 MCUS AND MPUS Developers and designers may sometimes have issues collaborating on an embedded system’s UI. Qt, a member of the ST Partner Program, brings them together around a framework that simplifies workflows on STM32 devices. Recently, the company made it easier to use its tools on our MPUs. The Qt Board Support… STLINK-V3: 3 MODULES, 1 ADAPTER BOARD, AND 5 REASONS TO FALL IN LOVE WITH THEM The STLINK-V3 is one of the best ways to debug and program an STM32 microcontroller. It transfers data faster than the previous generation and with a lot more flexibility, thanks in part to its STDC-14 connector and its support of a virtual COM port. Besides the STLINK-V3SET, ST offers the… STM32 CHINA ONLINE TECH WEEK 2022, REGISTER AND CELEBRATE 15 AMAZING YEARS OF STM32 How do we celebrate the 15th anniversary of the STM32 family of microcontrollers in China when a global pandemic prevents communities from meeting in person? We host the first-ever STM32 China Online Tech Week 2022 from July 18 to 22. There will be three keynote addresses from Jean-Marc Chery, President… DevelopmentPercepioPercepio DevAlertSTM32 PREVIOUS POST ISM330IS, 1st Sensor with… In AI ISM330IS, 1ST SENSOR WITH INTELLIGENT SENSOR PROCESSING UNIT FOR GREATER AI AT THE EDGE VIEW POST NEXT POST STM32 China Online Tech Week… In AI STM32 CHINA ONLINE TECH WEEK 2022, REGISTER AND CELEBRATE 15 AMAZING YEARS OF STM32 VIEW POST THE ST PODCAST The ST Podcast The audio versions of the posts we publish on The ST Blog. Listen at your leisure and learn more about what makes technologies great and innovations meaningful. Get more from technology to get more from life with STMicroelectronics. Listen OnApple PodcastsListen OnSpotify Audio Player Wayfinding Mark System from NFC Forum, 4 Catchy Images to Bring NFC to the Rest of the World [...] Change Playback Rate 1x * 0.8 * 1 * 1.2 * 1.5 * 2 Go to previous episode Skip Backward Play Pause Jump Forward Skip to next episode Download Share This Episode * Facebook * Twitter * Linkedin * Copy episode link Copied * Download 00:00 00:00 00:00 Wayfinding Mark System from NFC Forum, 4 Catchy Images to Bring NFC to the Rest of the World bySTMicroelectronics Search EpisodesClear Search Wayfinding Mark System from NFC Forum, 4 Catchy Images to Bring NFC to the Rest of the World June 9, 2022 STMicroelectronics STM32 Embedded Displays: 1st HD Screen With STM32H7 So Projects of All Sizes Can Display Beautiful GUIs May 10, 2022 STMicroelectronics embeNET and STM32WL: 6TiSCH Based Mesh Network Overcomes Big Challenges Plaguing the Internet of Things May 5, 2022 STMicroelectronics NeoChrom GPU, New 2.5D Accelerator With Massive Hardware Optimizations for Rich UIs on STM32 May 2, 2022 STMicroelectronics TouchGFX 4.19: 2 New Features That Make Working with Texts and Graphs a Breeze March 22, 2022 STMicroelectronics Load More Search Results placeholder Previous Episode Show Episodes List Next Episode Listen OnApple PodcastsListen OnSpotify Show Podcast Information FOLLOW US ON FACEBOOK * Home * From st.com * ST.com Home * Wiki * Community * estore * Terms of Use * Privacy Portal * Manage Cookies * Sitemap © 2022 ST life.augmented Blog - All Rights Reserved. Loading Comments... Write a Comment... Email (Required) Name (Required) Website Feedback We'd like to show you notifications for the latest news and updates. AllowCancel