LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Embedded & Single-board computer (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/)
-   -   DEBUGGING general question (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/debugging-general-question-935635/)

elico 03-21-2012 04:42 AM

DEBUGGING general question
 
Hi all

I want to understand how debugging of linux based target
is done .

I guess that ICE and ICD are not relevant so how is it done ?

Elico

onebuck 03-21-2012 08:27 AM

Member response
 
Hi,

Quote:

Originally Posted by elico (Post 4632344)
Hi all

I want to understand how debugging of linux based target
is done .

I guess that ICE and ICD are not relevant so how is it done ?

Elico

Things really depend on the users level of expertize and tools available. Not everyone will have access to ICE/ICD. In earlier times, most system debug or diagnosis was done by break pointing and scope. Sometimes if one was lucky enough then a good latching port for single stepping through while looking at the data states. Trapping and single step are still a good techniques. Analog and digital circuits require one to understand theory with good practical understanding for the application. The world is analog! So we must marry digital in a practical sense.

Bread-boarding and prototype circuitry is a good means to prove your circuit design with limits. One of the gains to have access to ICE/ICD. Advent of specialized chip subsystems provides a means to design or glue a circuit much easier than days of old when we would kludge the subsystems for a circuit.

As to Linux, just another kernel that can handle the needs for a system designer without the restraints of binding/restrictive license. Look at Linux Kernel Interactive Map to get a feel for how the kernel subsystems function or interact. You can then appreciate having a open understanding of how to interface with the Linux Kernel. Anatomy of the Linux kernel - IBM is a good paper to read. Be sure to look at the Resources links. Enough reading to keep you busy for a while. :)

elico 03-21-2012 01:42 PM

Thanks
Elico


All times are GMT -5. The time now is 03:26 AM.