EdbgSetDebug (Target Device)

This function controls debug zones for the Ethernet debug subsystem.

  VOID EdbgSetDebug(
DWORD 
  DebugZoneMask );

Parameters

  • DebugZoneMask
    [in] DWORD that contains a bit field that specifies a new zone mask.

Return Values

None.

Remarks

This function is used to debug the EDBG routines (enabled only for DEBUG versions of Ethdbg.lib).

Debug messages are written to the debug serial port based on the value of the parameter DebugZoneMask. Some of the more useful zone masks are:

  • ZONE_INIT
    Messages related to client registration.
  • ZONE_WARNING
    Unusual conditions and lost frames.
  • ZONE_FRAMEDUMP
    Verbose dump of all packets sent.

See the Ethdbg.h header file for all zone definitions.

This function is implemented in Ethdbg.lib, which is linked into the kernel on the target device.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 2.10 and later Ethdbg.h   Ethdbg.lib

See Also

EdbgSetDebug (Development Workstation)