TruePERSPECTIVES_logo.png

Cortex-M debugging: Introduction to Serial Wire Viewer (SWV) event- and data tracing

Posted by Magnus Unemyr on Feb 22, 2015 12:06:00 PM

 

While talking to our TrueSTUDIO customers, as well as many other Cortex-M developers, it has become clear to me that many developers are not aware of the powerful system analysis and debugging mechanisms available in Cortex-M devices. By better utilizing the capabilities that are already in their possession, embedded developers could easily become a lot more efficient in their debugging efforts.

I touched upon this subject in my earlier blog post on Hard fault system crash analysis on Cortex-M devices, and I will continue with a series of blog posts on real-time event- and data tracing using the Serial Wire Viewer (SWV) debug interface, which is available in Cortex-M cores and hence in popular devices like STM32, Kinetis, LPC or EFM32. This is the first blog post in the article series; several more will come in the next couple of weeks.

Read More

Topics: ECLIPSE, ARM Cortex, GNU tools (GCC/GDB), Debugging, Atollic TrueSTUDIO, SEGGER J-Link, ST-LINK

IDE tips and tricks: CTRL-SHIFT-R to quickly find and open a file

Posted by Magnus Unemyr on Feb 16, 2015 9:27:00 AM

One of the strongest arguments for Eclipse is its incredible capabilities and flexibility. In particular, power-users tend to love Eclipse. But the power and flexibility is also one of its drawbacks, in particular for new users. There are so many features that it is easy to miss some really useful capabilities. While we have simplified the user experience in Atollic TrueSTUDIO, there are probably still many features that could be put to good use by more developers.

Pressing CTRL-SHIFT-R to find and open a file quickly is probably one of those. This command lets you type a couple of characters that is part of the file name you want to open. You can add * and ? symbols for wildcard search as well. The editor then lists the matching files for you, and you can then open it in the editor or docking view as appropriate.

Read More

Topics: ECLIPSE, Atollic TrueSTUDIO

IDE tips and tricks: Improve you efficiency with the Eclipse Quick Access search bar

Posted by Magnus Unemyr on Feb 12, 2015 9:46:00 AM

 

Eclipse IDE's, like Atollic TrueSTUDIO, are tremendously powerful. By its nature, an Eclipse IDE by far outperforms virtually any other IDE in terms of flexibility and power. And herein lies one of the criticisms of Eclipse – its massive feature-set and flexibility may appear daunting to some new users.

In fact, this is why we spent a lot of time and effort to clean-up the Eclipse GUI in our Atollic TrueSTUDIO IDE, to make it easier to use and reduce the learning curve for new users. This is all well and good, but also the Eclipse community has started to address this problem. For example, by introducing the relatively new Quick Access search bar that is a massive time saver! 

Read More

Topics: ECLIPSE, Atollic TrueSTUDIO

The embedded industry standardise on ARM, ECLIPSE and GNU

Posted by Magnus Unemyr on Jan 19, 2015 4:17:00 PM

 

segla

ARM is taking a stronger and stronger grip on the embedded market, and is now the de-facto standard microcontroller architecture. This trend has been strengthened a lot since the introduction of the low-cost Cortex-M0 and Cortex-M3 cores, and continues with the powerful Cortex-M4 and Cortex-M7 cores for high-end microcontrollers. And of course, for DSP and application processor type of applications, Cortex-R and Cortex-A is being increasingly used.

An equally strong paradigm shift is happening in the embedded tools industry, where the GNU C/C++ compiler and debugger tools (gcc, gdb, binutils, etc.) are quickly emerging as a standard tool solution as well. This trend is valid with both smaller companies who appreciate the better return on investment compared to traditional proprietary tools, as well as multinational corporations who value a tool-chain that exist for almost all CPU architectures in common use, on all relevant host operating systems. Furthermore, the GNU tools helps avoid a proprietary lock-in and offers second source suppliers and support should the need arise. These benefits are not possible with proprietary tools.

Read More

Topics: ECLIPSE, ARM Cortex, GNU tools (GCC/GDB)