How to use vxWorks debugging tool to perform kernel kernel debugging?

The vxWorks documentation says:

The WDB agent itself is independent of the target operating system: it connects to OS services at run time through the execution of a virtual function interface. The WDB agent can be executed before VxWorks starts (as in the early stages of porting a BSP to a new board).

How can I use the debug agent before starting the vxWorks kernel?

+3
source share
1 answer

First, in order to be able to use the agent to perform pre-debugging, you must have a serial port for debugging. This serial port must be initialized and functional, as it will be a debug channel.

, . WDB (sysHwInit) (kernelInit).

vxWorks .

vbWorks Workbench

:

  • WDB
  • WDB
  • WDB

, , workbench, ( WDB END ). .

config.h :

#define WDB_INIT        WDB_PRE_KERNEL_INIT
#define WDB_COMM_TYPE   WDB_COMM_SERIAL
#define WDB_MODE        WDB_MODE_SYSTEM

vxWorks , , , , , .

, ..

+2

Source: https://habr.com/ru/post/1698013/


All Articles