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
System-Of-Systems Ingineering
Process & Methods
johnk
31-10-2017 23:03433
IoT Start up
Technology
johnk
25-10-2017 10:25510
Unittesting - CPPUNIT
Tools
johnk
24-10-2017 20:26424
Things on the radar
Tools
johnk
24-10-2017 20:06457
WCET - Worst Case Execution Timings Calculator
Tools
johnk
28-06-2015 19:2914223
Embedded-Tracer-System
Tools
johnk
16-03-2015 18:222593
NuttX - Step-By-Step
Tools
johnk
30-12-2013 17:187164
Tools used
Tools
johnk
27-10-2013 12:133938
List of my robots
My robots
johnk
19-07-2013 08:443553
JoKaBot - Home build from scratch
My robots
johnk
19-07-2013 08:046807
C-Sharp (references and projects)
Oldies
johnk
18-07-2013 19:194086
Home communications
Technology
johnk
18-07-2013 18:234217
Various links
My Collection
johnk
17-07-2013 09:047983
ARM - ARM7/9/11 + Cortex
Technology
johnk
17-07-2013 08:494126
AVR32
Technology
johnk
17-07-2013 08:414355

Total Articles: 58 :: Total Article Categories: 16
 

Articles

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