VxWorks 7: kprintf Debug Function

Learn how to use kprintf to debug boot issues.

Subscribe

About this course

The kprintf() API is a lightweight logging mechanism that is useful for debugging target boot problems. You will see how to enable this, and what issues arise when using it to troubleshoot problems during the VxWorks boot timeline. While kprintf() usually outputs to a serial device, it can be redirected to other target hardware devices too. The lab will allow you use kprintf() yourself.

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

Curriculum52 min

  • Introducing kprintf() 6 min
  • Enabling and Using kprintf() and kputs() 5 min
  • Using kprintf() Without a Serial Console 6 min
  • Preview
    Introducing kprintf() and the VxWorks Boot Process 2 min
  • Using kprintf() During the VxWorks Boot Process 4 min
  • Quiz: kprintf Debug Function
  • Lab: Using kprintf 20 min
  • Lab Solution: kprintf Debug Function 6 min
  • Ask an Expert

About this course

The kprintf() API is a lightweight logging mechanism that is useful for debugging target boot problems. You will see how to enable this, and what issues arise when using it to troubleshoot problems during the VxWorks boot timeline. While kprintf() usually outputs to a serial device, it can be redirected to other target hardware devices too. The lab will allow you use kprintf() yourself.

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

Curriculum52 min

  • Introducing kprintf() 6 min
  • Enabling and Using kprintf() and kputs() 5 min
  • Using kprintf() Without a Serial Console 6 min
  • Preview
    Introducing kprintf() and the VxWorks Boot Process 2 min
  • Using kprintf() During the VxWorks Boot Process 4 min
  • Quiz: kprintf Debug Function
  • Lab: Using kprintf 20 min
  • Lab Solution: kprintf Debug Function 6 min
  • Ask an Expert