My system: PXA250, 32 MB FLASH, 32 MB RAM, PB4.2.

I want to see the debug/retail messages from the modules GWES and NK.

My kitl implementation doesn't work, so I use other way to activate the
debug messages.

1. In my desktop PC, I launch regedit program.
2. I add a new key called [HKEY_CURRENT_USER\Pegasus\Zones].
3. I add two dword values:
- NK Kernel: REG_DWORD: 0x0000ffff.
- GWE Server: REG_DWORD: 0x0000ffff.
4. I launch PB4.2.
5. I make a rebuild of a debug image.
6. I load the OS image in my board.
7. I reset the board.

But I only see the messages of RETAILMSG and DEBUGMSG ( 1,.....

For instance, If in the kernel there are a message like this:

DEBUGMSG(ZONE_MEMORY, (TEXT("AllocHandle: pci=%8.8lx pvObj=%8.8lx
pprc=%8.8lx\r\n"),pci, pvObj, pprc));

I never can't see it.

But if the message is like this:

DEBUGMSG (1, (L"SC_CloseAllHandles: CloseHandle(0x%8.8lx) Failed on Process
exit, zapping the handle\r\n", phd->hValue));

I can see it.

So the process of adding a key to the desktop registry to see debug
messages is not working.

Any ideas?

What is the file where is stored the information about the debug zones of
GWES? In GWES.EXE or in other file?

RE: GWES DEBUG MESSAGES by jeffgla

jeffgla
Wed Oct 01 17:34:30 CDT 2003


The registry values are used by Platform Builder to send debug zone
information over KITL to the device. If you don't have KITL, the zones
won't work. Are you using a serial port for the retail message output?

Jeff