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:2912818
Embedded-Tracer-System
Tools
johnk
16-03-2015 18:222015
NuttX - Step-By-Step
Tools
johnk
30-12-2013 17:185590
Tools used
Tools
johnk
27-10-2013 12:133220
List of my robots
My robots
johnk
19-07-2013 08:442934
JoKaBot - Home build from scratch
My robots
johnk
19-07-2013 08:045473
C-Sharp (references and projects)
Oldies
johnk
18-07-2013 19:193336
Home communications
Technology
johnk
18-07-2013 18:233536
Various links
My Collection
johnk
17-07-2013 09:046848
ARM - ARM7/9/11 + Cortex
Technology
johnk
17-07-2013 08:493534
AVR32
Technology
johnk
17-07-2013 08:413623
Raspberry PI
Technology
johnk
17-07-2013 08:369263
Robotics Links
Tools
johnk
17-07-2013 08:367461
Robotics in general
Robotics
johnk
17-07-2013 08:352820
Renesas processors (V850, RL78...)
Technology
johnk
17-07-2013 08:113399

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.02 seconds
701,378 unique visits