VxWorks 7: Dynamic printf

Learn how to use the powerful debugging tool, dprintf.

Subscribe

About this course

Dynamic Printf (dprintf) lets you insert and remove target based software instrumentation messages on the fly. You will see how to do this from the VxWoks target shell, and you will also see the added benefits of using the Workbench debugger with dprintf(). Both VxWorks kernel and RTP domains will be instrumented, and your target CPU’s hardware breakpoint engine will allow you to instrument target variable accesses. You will explore these features in the lab.

Product: VxWorks 7
Based on: SR540
Applicable for: All VxWorks 7

Curriculum113 min

  • Introduction to Dynamic printf 8 min
  • Using the Dynamic printf API from the Kernel Shell Part 1 6 min
  • Using the Dynamic printf API from the Kernel Shell Part 2 10 min
  • Using Dynamic printf from Workbench Debug Shell 5 min
  • Using Dynamic printf with RTPs 6 min
  • Preview
    Using Dynamic printf from Workbench Debugger GUI 3 min
  • Introducing Hardware-Assisted Dynamic printf 5 min
  • Using Hardware-Assisted Dynamic printf 5 min
  • Quiz: Dynamic printf
  • Lab: Debugging with dprintf 45 min
  • Lab Solution: Dynamic printf 16 min
  • Ask an Expert

About this course

Dynamic Printf (dprintf) lets you insert and remove target based software instrumentation messages on the fly. You will see how to do this from the VxWoks target shell, and you will also see the added benefits of using the Workbench debugger with dprintf(). Both VxWorks kernel and RTP domains will be instrumented, and your target CPU’s hardware breakpoint engine will allow you to instrument target variable accesses. You will explore these features in the lab.

Product: VxWorks 7
Based on: SR540
Applicable for: All VxWorks 7

Curriculum113 min

  • Introduction to Dynamic printf 8 min
  • Using the Dynamic printf API from the Kernel Shell Part 1 6 min
  • Using the Dynamic printf API from the Kernel Shell Part 2 10 min
  • Using Dynamic printf from Workbench Debug Shell 5 min
  • Using Dynamic printf with RTPs 6 min
  • Preview
    Using Dynamic printf from Workbench Debugger GUI 3 min
  • Introducing Hardware-Assisted Dynamic printf 5 min
  • Using Hardware-Assisted Dynamic printf 5 min
  • Quiz: Dynamic printf
  • Lab: Debugging with dprintf 45 min
  • Lab Solution: Dynamic printf 16 min
  • Ask an Expert