Hi

I have a strange problem rigth now with Platform Builder 5.0

I cant get one of my drivers (stream interface) to load. I has worked fine,
but now i doesnt get loaded...

If I check my ce.bib and reginit.ini file, the needed entrys are there. But
by watching my debug ouput, the device manager doesn't load the driver (But
all the other drivers I have made get loaded). It dont even try to do it. No
debug message or errors from device manager. Just like the image doesn't
contain the dll and the registry keys .... ?!?.. (Maybe a different nk.bin
is download, as that one in release folder ??)

I have tried making a copy of one of the drivers that get loaded and renamed
the needed part to something new. But that new drivers too doesnt get loaded
either?!!?..

Any idea's what can be wrong ?

Could it be something with platform builder doesn't get things right ??
Using another ce.bib and reginit.ini that those in my release folder ??
Maybe something with dual CPU (Hyperthreading) and out of order build/link
??

I will try making a new project and se if that helps !!
I allso will try to remove a driver that works from platform.bib and
platform.reg to see if that change has an effect !!

Any other idea what I can try ??

Maybe I just schould add, that CE target control doesn't work anymore
either. Thet CE target shell componemt is added, and its added in project
settings/envireonmet too..!!! Could it be something to do with it ??

/Thomas

Re: Some of my own drivers doesn't get loaded.. ?!!?? by Michel

Michel
Mon Oct 30 14:42:13 CST 2006

Did you check the registry on the actual device using the remote
registry editor? It may be that the device is loading the registry from
an existing hive, and thus overwrites whatever is in the new image.
Also, did you make sure the dll is actually on the device by using the
remote file viewer, or doing a dumpbin of nk?

Best is to erase the registry hives or file, flash block, or whatever
you use to store the registry and reload the kernel.

Good luck,

Michel Verhagen, eMVP
EmbeddedFusion
www.EmbeddedFusion.com
mverhagen at embeddedfusion dot com

Thomas Johansen wrote:
> Hi
>
> I have a strange problem rigth now with Platform Builder 5.0
>
> I cant get one of my drivers (stream interface) to load. I has worked fine,
> but now i doesnt get loaded...
>
> If I check my ce.bib and reginit.ini file, the needed entrys are there. But
> by watching my debug ouput, the device manager doesn't load the driver (But
> all the other drivers I have made get loaded). It dont even try to do it. No
> debug message or errors from device manager. Just like the image doesn't
> contain the dll and the registry keys .... ?!?.. (Maybe a different nk.bin
> is download, as that one in release folder ??)
>
> I have tried making a copy of one of the drivers that get loaded and renamed
> the needed part to something new. But that new drivers too doesnt get loaded
> either?!!?..
>
> Any idea's what can be wrong ?
>
> Could it be something with platform builder doesn't get things right ??
> Using another ce.bib and reginit.ini that those in my release folder ??
> Maybe something with dual CPU (Hyperthreading) and out of order build/link
> ??
>
> I will try making a new project and se if that helps !!
> I allso will try to remove a driver that works from platform.bib and
> platform.reg to see if that change has an effect !!
>
> Any other idea what I can try ??
>
> Maybe I just schould add, that CE target control doesn't work anymore
> either. Thet CE target shell componemt is added, and its added in project
> settings/envireonmet too..!!! Could it be something to do with it ??
>
> /Thomas
>
>
>
>
>

--

Re: Some of my own drivers doesn't get loaded.. ?!!?? by Thomas

Thomas
Tue Oct 31 23:37:41 CST 2006

Thanks a lot... Shame on me for such a rookie mistake.... I dint even know
it had persistent registry !!!.

/Thomas

"Michel Verhagen (eMVP)" <mverhagen@nospam.embeddedfusion.com> wrote in
message news:uz1hgPG$GHA.1200@TK2MSFTNGP02.phx.gbl...
> Did you check the registry on the actual device using the remote
> registry editor? It may be that the device is loading the registry from
> an existing hive, and thus overwrites whatever is in the new image.
> Also, did you make sure the dll is actually on the device by using the
> remote file viewer, or doing a dumpbin of nk?
>
> Best is to erase the registry hives or file, flash block, or whatever
> you use to store the registry and reload the kernel.
>
> Good luck,
>
> Michel Verhagen, eMVP
> EmbeddedFusion
> www.EmbeddedFusion.com
> mverhagen at embeddedfusion dot com
>
> Thomas Johansen wrote:
> > Hi
> >
> > I have a strange problem rigth now with Platform Builder 5.0
> >
> > I cant get one of my drivers (stream interface) to load. I has worked
fine,
> > but now i doesnt get loaded...
> >
> > If I check my ce.bib and reginit.ini file, the needed entrys are there.
But
> > by watching my debug ouput, the device manager doesn't load the driver
(But
> > all the other drivers I have made get loaded). It dont even try to do
it. No
> > debug message or errors from device manager. Just like the image doesn't
> > contain the dll and the registry keys .... ?!?.. (Maybe a different
nk.bin
> > is download, as that one in release folder ??)
> >
> > I have tried making a copy of one of the drivers that get loaded and
renamed
> > the needed part to something new. But that new drivers too doesnt get
loaded
> > either?!!?..
> >
> > Any idea's what can be wrong ?
> >
> > Could it be something with platform builder doesn't get things right ??
> > Using another ce.bib and reginit.ini that those in my release folder ??
> > Maybe something with dual CPU (Hyperthreading) and out of order
build/link
> > ??
> >
> > I will try making a new project and se if that helps !!
> > I allso will try to remove a driver that works from platform.bib and
> > platform.reg to see if that change has an effect !!
> >
> > Any other idea what I can try ??
> >
> > Maybe I just schould add, that CE target control doesn't work anymore
> > either. Thet CE target shell componemt is added, and its added in
project
> > settings/envireonmet too..!!! Could it be something to do with it ??
> >
> > /Thomas
> >
> >
> >
> >
> >
>
> --



Re: Some of my own drivers doesn't get loaded.. ?!!?? by Michel

Michel
Wed Nov 01 14:32:45 CST 2006

Well, believe me, I sometimes spent a couple of minutes swearing: "why
the hell don't these registry settings end up on the device? And then I
remember it... Oh yes, persistent registry (forgetting to wrap around
hive bootsection is another one of those frequent time eaters)...

Michel Verhagen, eMVP
EmbeddedFusion
www.EmbeddedFusion.com
mverhagen at embeddedfusion dot com

Thomas Johansen wrote:
> Thanks a lot... Shame on me for such a rookie mistake.... I dint even know
> it had persistent registry !!!.
>
> /Thomas
>
> "Michel Verhagen (eMVP)" <mverhagen@nospam.embeddedfusion.com> wrote in
> message news:uz1hgPG$GHA.1200@TK2MSFTNGP02.phx.gbl...
>> Did you check the registry on the actual device using the remote
>> registry editor? It may be that the device is loading the registry from
>> an existing hive, and thus overwrites whatever is in the new image.
>> Also, did you make sure the dll is actually on the device by using the
>> remote file viewer, or doing a dumpbin of nk?
>>
>> Best is to erase the registry hives or file, flash block, or whatever
>> you use to store the registry and reload the kernel.
>>
>> Good luck,
>>
>> Michel Verhagen, eMVP
>> EmbeddedFusion
>> www.EmbeddedFusion.com
>> mverhagen at embeddedfusion dot com
>>
>> Thomas Johansen wrote:
>>> Hi
>>>
>>> I have a strange problem rigth now with Platform Builder 5.0
>>>
>>> I cant get one of my drivers (stream interface) to load. I has worked
> fine,
>>> but now i doesnt get loaded...
>>>
>>> If I check my ce.bib and reginit.ini file, the needed entrys are there.
> But
>>> by watching my debug ouput, the device manager doesn't load the driver
> (But
>>> all the other drivers I have made get loaded). It dont even try to do
> it. No
>>> debug message or errors from device manager. Just like the image doesn't
>>> contain the dll and the registry keys .... ?!?.. (Maybe a different
> nk.bin
>>> is download, as that one in release folder ??)
>>>
>>> I have tried making a copy of one of the drivers that get loaded and
> renamed
>>> the needed part to something new. But that new drivers too doesnt get
> loaded
>>> either?!!?..
>>>
>>> Any idea's what can be wrong ?
>>>
>>> Could it be something with platform builder doesn't get things right ??
>>> Using another ce.bib and reginit.ini that those in my release folder ??
>>> Maybe something with dual CPU (Hyperthreading) and out of order
> build/link
>>> ??
>>>
>>> I will try making a new project and se if that helps !!
>>> I allso will try to remove a driver that works from platform.bib and
>>> platform.reg to see if that change has an effect !!
>>>
>>> Any other idea what I can try ??
>>>
>>> Maybe I just schould add, that CE target control doesn't work anymore
>>> either. Thet CE target shell componemt is added, and its added in
> project
>>> settings/envireonmet too..!!! Could it be something to do with it ??
>>>
>>> /Thomas
>>>
>>>
>>>
>>>
>>>
>> --
>
>

--

Re: Some of my own drivers doesn't get loaded.. ?!!?? by wrani

wrani
Thu Nov 02 15:16:38 CST 2006


Michel Verhagen (eMVP) wrote:
> Well, believe me, I sometimes spent a couple of minutes swearing: "why
> the hell don't these registry settings end up on the device? And then I
> remember it... Oh yes, persistent registry (forgetting to wrap around
> hive bootsection is another one of those frequent time eaters)...
>
> Michel Verhagen, eMVP
> EmbeddedFusion
> www.EmbeddedFusion.com
> mverhagen at embeddedfusion dot com
>
> Thomas Johansen wrote:
> > Thanks a lot... Shame on me for such a rookie mistake.... I dint even know
> > it had persistent registry !!!.
> >
> > /Thomas
> >
> > "Michel Verhagen (eMVP)" <mverhagen@nospam.embeddedfusion.com> wrote in
> > message news:uz1hgPG$GHA.1200@TK2MSFTNGP02.phx.gbl...
> >> Did you check the registry on the actual device using the remote
> >> registry editor? It may be that the device is loading the registry from
> >> an existing hive, and thus overwrites whatever is in the new image.
> >> Also, did you make sure the dll is actually on the device by using the
> >> remote file viewer, or doing a dumpbin of nk?
> >>
> >> Best is to erase the registry hives or file, flash block, or whatever
> >> you use to store the registry and reload the kernel.
> >>
> >> Good luck,
> >>
> >> Michel Verhagen, eMVP
> >> EmbeddedFusion
> >> www.EmbeddedFusion.com
> >> mverhagen at embeddedfusion dot com
> >>
> >> Thomas Johansen wrote:
> >>> Hi
> >>>
> >>> I have a strange problem rigth now with Platform Builder 5.0
> >>>
> >>> I cant get one of my drivers (stream interface) to load. I has worked
> > fine,
> >>> but now i doesnt get loaded...
> >>>
> >>> If I check my ce.bib and reginit.ini file, the needed entrys are there.
> > But
> >>> by watching my debug ouput, the device manager doesn't load the driver
> > (But
> >>> all the other drivers I have made get loaded). It dont even try to do
> > it. No
> >>> debug message or errors from device manager. Just like the image doesn't
> >>> contain the dll and the registry keys .... ?!?.. (Maybe a different
> > nk.bin
> >>> is download, as that one in release folder ??)
> >>>
> >>> I have tried making a copy of one of the drivers that get loaded and
> > renamed
> >>> the needed part to something new. But that new drivers too doesnt get
> > loaded
> >>> either?!!?..
> >>>
> >>> Any idea's what can be wrong ?
> >>>
> >>> Could it be something with platform builder doesn't get things right ??
> >>> Using another ce.bib and reginit.ini that those in my release folder ??
> >>> Maybe something with dual CPU (Hyperthreading) and out of order
> > build/link
> >>> ??
> >>>
> >>> I will try making a new project and se if that helps !!
> >>> I allso will try to remove a driver that works from platform.bib and
> >>> platform.reg to see if that change has an effect !!
> >>>
> >>> Any other idea what I can try ??
> >>>
> >>> Maybe I just schould add, that CE target control doesn't work anymore
> >>> either. Thet CE target shell componemt is added, and its added in
> > project
> >>> settings/envireonmet too..!!! Could it be something to do with it ??
> >>>
> >>> /Thomas
> >>>
> >>>
> >>>
> >>>So guys, if flashing a new image to the device, this will clear previous hive files ?
> >>>
> >> --
> >
> >
>
> --


Re: Some of my own drivers doesn't get loaded.. ?!!?? by Sue

Sue
Mon Nov 20 12:08:12 CST 2006

I'm sorry to hear of the trouble. :-(
If you have a suggestion for a better way to solve the problem I'll pass it
along.

Sue
sloh@microsoft.com (remove "online" from reply-to address)
http://blogs.msdn.com/ce_base/
_____________________________________________________________
This posting is provided "AS IS" with no warranties, and confers no rights.
_____________________________________________________________