Embedded-Tracer-System

Embedded Tracer System.

Software Trigger is configured using a 8- or -16- or 32 bit value. A big and advanced system/module would have many variants, a simple not so many.

 

BIT What to Trace
8  
7 State machine
6 Event queue (signalling, semaphore, mutex etc)
5 IO handling
4 Interrupt
3 Memory
2 Task & scheduling
1 Timer
0 ON/OFF

 

BIT Module
8  
7 Protocol 
6 Protocol (Ethernet TCP/IP)
5 Modbus
4 Filesystem
3 RTOS Functions
2 RTOS API
1 RTOS Upper Layer Driver
0 RTOS Low Level Driver

 

Just as an example - but at said it could be extended in any directions. Expanded as you grow. Further more it can be individulaized on per-module basis.

 

TRACER(var1,var2,var3);

 

Each time TRACER(xx) is hit first check compile time options. Done in a macro that - if enabled - will insert code ...

Else check if active for this module, activated (bit-0) ... and so on ...

 

(hang on here - more will follow soon)

Comments

No Comments have been Posted.

Post Comment

Please Login to Post a Comment.

Articles Panel

  Article Posted By Date Reads
WCET - Worst Case Execution Timings Calculator
Tools
johnk
28-06-2015 19:2912413
Embedded-Tracer-System
Tools
johnk
16-03-2015 18:221893
NuttX - Step-By-Step
Tools
johnk
30-12-2013 17:185286
Tools used
Tools
johnk
27-10-2013 12:133049
List of my robots
My robots
johnk
19-07-2013 08:442801
JoKaBot - Home build from scratch
My robots
johnk
19-07-2013 08:045257
C-Sharp (references and projects)
Oldies
johnk
18-07-2013 19:193171
Home communications
Technology
johnk
18-07-2013 18:233401
Various links
My Collection
johnk
17-07-2013 09:046566
ARM - ARM7/9/11 + Cortex
Technology
johnk
17-07-2013 08:493382
AVR32
Technology
johnk
17-07-2013 08:413467
Raspberry PI
Technology
johnk
17-07-2013 08:368953
Robotics Links
Tools
johnk
17-07-2013 08:367126
Robotics in general
Robotics
johnk
17-07-2013 08:352693
Renesas processors (V850, RL78...)
Technology
johnk
17-07-2013 08:113261

Total Articles: 54 :: Total Article Categories: 16
 

Articles

My Collection (1) My robots (2)
Oldies (5)
Old Projects - very old
Process & Methods (7)
Projects (12) Robotics (1)
Technology (6) Testing (1)
Tools (12) Working on ... (7)
Projects Im currently working on
Render time: 0.03 seconds
668,860 unique visits