Re: Stream Device Driver How-to
- From: Phil <pclaydon@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 27 Apr 2007 05:52:03 -0700
Hi Bruce
I get the debug output as below that was taken from Hyperterminal hanging on
the first serial port of my dev kit board:
<snip>
wce-CCX9C will be booted now
## Starting application at 0x002C0000 ...
Windows CE Kernel for ARM (Thumb Enabled) Built on Feb 6 2007 at 14:51:56
INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0xb
ConnectCore Wi-9C Windows CE 6 V1.0 by Digi International Inc.
[SDRAM]: Total size=64 MB.
[CCX9C_Registry]: Invalid Flash Registry, using Registry in Binary Image.
[CPdd9XXXSerial_Init]: UARTB mapped to COM1:
[COM_Init]: Loading Serial driver... OK.
[I2C_Init]: Loading I2C driver... OK.
[PIO_Init]: Loading GPIO driver... OK.
[ConfigOS]: Failed opening Comm\ccw9cWifi1\Parms
[ConfigOS]: Failure in setting up WLAN configuration.
[ConfigOS]: Configuring OS... OK.
[NFD_Init]: Loading Nand Flash driver... OK
[CHW:Init] Loading USB Host driver... OK.
[LANNS9XXX_Init]: Loading LANNS9XXX driver... OK.
[LCD_NS9XXX]: Loading Video driver for CRT_VGA... OK.
<snip>
It's a release image and not in a ship configuration.
Registry as follows
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\DEM]
"Dll" = "DEM.Dll"
"Prefix" = "DEM"
"Order" = dword:0
"FriendlyName" = "DEM Driver"
"Ioctl" = dword:0
dpCurSettings as reported by the board as taken from the captured debug
output above are:
dpCurSettings.ulZoneMask: 0xb
I have no idea what this means. Is it something to do with debug zones? How
would I change its settings anyway?
I have added a couple of lines to the DllEntry routine created by driver
wizard as follows:
<snip>
BOOL APIENTRY DllMain( HANDLE hModule, DWORD ul_reason_for_call, LPVOID
lpReserved )
{
DEBUGMSG(1,(TEXT("DEM: A debug message\r\n")));
RETAILMSG(1,(TEXT("DEM: A retail message\r\n")));
OutputDebugString(L"DEM - Got Here\n");
<snip>
I was kind of hoping at least one of these lines would do something, my
money was on the middle one ;-)
Thanks for your patience.
Regards
--
Phil
Remove the nospam section from my e-mail address.
"Bruce Eitman [eMVP]" wrote:
Do you get any other debug output?.
Do you have Ship build set in the project settings? (you don't want this)
What are your registry settings?
If the messages are in fact DEBUGMSGs, is it a debug build?
Do you have the dpCurSettings mask set to allow the output?
--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net
Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member
"Phil" <pclaydon@xxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:C4254654-B885-4A7B-BF72-1DDDD1F5049A@xxxxxxxxxxxxxxxx
Thanks All
This has now been resolved after my latest Clean Sysgen. My DLL is now in
my
image and the registry on the target shows the correct entries. However, I
expected to see some debug messages from the driver on the debug output
serial port, but so far, nothing. Any ideas please?
Best Regards
--
Phil
Remove the nospam section from my e-mail address.
"Bruce Eitman [eMVP]" wrote:
That is fine, just wanted to make sure that was what you were talking
about
and not that you were refering to something else.
That should work, so now the question is why not.
--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net
Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member
"Phil" <pclaydon@xxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:762526C7-6AE6-4C05-AC18-41AE2C15C844@xxxxxxxxxxxxxxxx
A subproject as shown in the Visual Studio 2005/Platform Builder 6.0
Solution
Explorer:-) What is a userproject? a term from an earlier version of CE
perhaps?
--
Phil
Remove the nospam section from my e-mail address.
"Bruce Eitman [eMVP]" wrote:
Phil:
What do you mean by subproject? During makeimg,
public\common\oak\misc\premakeimg.bat runs and creates
PBUserProjects.bib
which should include the bib files from the user projects.
I suspect that you either don't mean the same thing by subprojects as
PB
does, or your subproject isn't setup correctly for bib files, like it
is
for
reg files.
--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net
Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member
- Follow-Ups:
- Re: Stream Device Driver How-to
- From: Bruce Eitman [eMVP]
- Re: Stream Device Driver How-to
- References:
- Re: Stream Device Driver How-to
- From: Valter Minute
- Re: Stream Device Driver How-to
- From: Valter Minute
- Re: Stream Device Driver How-to
- From: Bruce Eitman [eMVP]
- Re: Stream Device Driver How-to
- From: Phil
- Re: Stream Device Driver How-to
- From: Sing Wee [MSFT]
- Re: Stream Device Driver How-to
- From: Phil
- Re: Stream Device Driver How-to
- From: Sing Wee [MSFT]
- Re: Stream Device Driver How-to
- From: Bruce Eitman [eMVP]
- Re: Stream Device Driver How-to
- From: Bruce Eitman [eMVP]
- Re: Stream Device Driver How-to
- From: Phil
- Re: Stream Device Driver How-to
- From: Bruce Eitman [eMVP]
- Re: Stream Device Driver How-to
- Prev by Date: Re: Can WinCE catch FAT32 CF card ?
- Next by Date: Re: .rel File What kind of function?
- Previous by thread: Re: Stream Device Driver How-to
- Next by thread: Re: Stream Device Driver How-to
- Index(es):
Relevant Pages
|