Embedded Software Blog

Posts tagged with 'Debugging'

3 Jun, 2013

Non-intrusive debug

Posted by Colin Walls

Colin Walls I recently posted about using printf() for debugging – or, rather, I suggested a few good alternatives, which make more sense to embedded developers. Most debugging/tracing technologies involve adding some code to the target system, which might make some developers uncomfortable. Surely the code being debugged is no longer the same as you plan to ship? Broadly speaking, this is really a manifestation … Read More

Debugging, ashling, Trace, non-intrusive debug

7 May, 2013

Colin Walls It has always seemed obvious to me that a particular characteristic that makes embedded software different from desktop programming is the close relationship with hardware. As most embedded devices are custom designs, the hardware platform is something of an unknown. So, it is clear that the development of the hardware and software should be done in a cooperative fashion. Mentor Graphics is unique … Read More

Development Tools, Debugging

19 Dec, 2011

The invisible RTOS continued

Posted by Colin Walls

Colin Walls Last week I wrote about a test harness for applications using an RTOS. The idea was to have a library of functions corresponding to the API calls of a particular RTOS. Specific tasks of an application, that are under test, would be linked to this library to enable the code to be executed on a desktop computer in a useful way. I had some feedback on this posting from a couple of people, talking about … Read More

Debugging, API, RTOS, test harness, Nucleus

12 Dec, 2011

The invisible RTOS

Posted by Colin Walls

Colin Walls I was talking about OS-aware debuggers and someone asked me whether I could suggest a technique for unit testing of code for a multi-threaded application. It took me a while before I could fully understand what they were after, but it did become clear eventually. They were considering an environment where a number of engineers were working on an embedded application [using Nucleus]. Each guy was developing … Read More

Nucleus, test harness, Debugging, RTOS, API

7 Nov, 2011

Who needs a debugger anyway?

Posted by Colin Walls

Colin Walls If you met someone in a bar, say, and you got talking, they are likely to ask what you do. You will probably reply that you are an embedded software developer. [Actually, in my experience, this can be a bit of a conversation killer. You might be better saying you are an airline pilot or a brain surgeon.] If they carry on talking with you, they might ask you what that job entails and you would probably … Read More

Development Tools, Debugging, JTAG

22 Aug, 2011

Instrumentation

Posted by Colin Walls

Colin Walls Embedded software development tools are important to all developers and a topic that I frequently discuss [like here]. The way such tools are described by vendors is interesting. For example, there might be a reference to an “optimizing compiler”. That is rather meaningless, as all compilers are optimizing to at least some degree. For an embedded compiler, the important factors are the quality … Read More

RTOS, Development Tools, Debugging, profiling, Nucleus

Archives

Tags

RSS