I am trying to disable debug output on COM1. I searched on the groups
for this and I found some answers. However, applying them doesn't seem
to work.

What I tried to do was to (based on the few posts I found on the
subject) modify public\common\oak\csp\i486\oal\debug.c by setting
ucComPort to 0 right before the switch statement so that it becomes:

pBootArgs->ucComPort = 0;

switch ( pBootArgs->ucComPort ) {
case 1:
IoPortBase = (PUCHAR)COM1_BASE;
break;

[...]

default:
IoPortBase = 0;
break;
}

To build, I did the following:

1. Menu Build -> Open Build Release Directory
(now in the prompt)
2. set wincerel=1
3. cd public\common\oak\csp\i486\oal\
4. build -cf
5. sysgen -p common

Finally, I ran a build image from the IDE.

The changes did not seem to have any effect. Have I missed anything?

Thank you.

Re: Disabling COM1 debug output by stephan

stephan
Wed Nov 12 03:51:09 CST 2003

Did you do a full rebuild ? Not just rebuild the image...
If you're not sure what happened, look for i486oal.lib
in ..OAK\LIB\RETAIL and/or ..\DEBUG directory.
Has this library been built after you did your modification?
stephan.

spipyeah wrote:
> I am trying to disable debug output on COM1. I searched on the groups
> for this and I found some answers. However, applying them doesn't seem
> to work.
>
> What I tried to do was to (based on the few posts I found on the
> subject) modify public\common\oak\csp\i486\oal\debug.c by setting
> ucComPort to 0 right before the switch statement so that it becomes:
>
> pBootArgs->ucComPort = 0;
>
> switch ( pBootArgs->ucComPort ) {
> case 1:
> IoPortBase = (PUCHAR)COM1_BASE;
> break;
>
> [...]
>
> default:
> IoPortBase = 0;
> break;
> }
>
> To build, I did the following:
>
> 1. Menu Build -> Open Build Release Directory
> (now in the prompt)
> 2. set wincerel=1
> 3. cd public\common\oak\csp\i486\oal\
> 4. build -cf
> 5. sysgen -p common
>
> Finally, I ran a build image from the IDE.
>
> The changes did not seem to have any effect. Have I missed anything?
>
> Thank you.


Re: Disabling COM1 debug output by Bill

Bill
Wed Nov 12 07:36:22 CST 2003

You should also check that Enable DepTree Build is checked
on the Build tab of the PB Tool Options.

>-----Original Message-----
>Did you do a full rebuild ? Not just rebuild the image...
>If you're not sure what happened, look for i486oal.lib
>in ..OAK\LIB\RETAIL and/or ..\DEBUG directory.
>Has this library been built after you did your
modification?
>stephan.
>
>spipyeah wrote:
>> I am trying to disable debug output on COM1. I searched
on the groups
>> for this and I found some answers. However, applying
them doesn't seem
>> to work.
>>
>> What I tried to do was to (based on the few posts I
found on the
>> subject) modify public\common\oak\csp\i486\oal\debug.c
by setting
>> ucComPort to 0 right before the switch statement so
that it becomes:
>>
>> pBootArgs->ucComPort = 0;
>>
>> switch ( pBootArgs->ucComPort ) {
>> case 1:
>> IoPortBase = (PUCHAR)COM1_BASE;
>> break;
>>
>> [...]
>>
>> default:
>> IoPortBase = 0;
>> break;
>> }
>>
>> To build, I did the following:
>>
>> 1. Menu Build -> Open Build Release Directory
>> (now in the prompt)
>> 2. set wincerel=1
>> 3. cd public\common\oak\csp\i486\oal\
>> 4. build -cf
>> 5. sysgen -p common
>>
>> Finally, I ran a build image from the IDE.
>>
>> The changes did not seem to have any effect. Have I
missed anything?
>>
>> Thank you.
>
>.
>

Re: Disabling COM1 debug output by JB

JB
Wed Nov 12 07:50:56 CST 2003

Have you tried this:
http://www.microsoft.com/windows/embedded/community/tips/ce
.net/disablestealingcom1.asp
hope it helped
>-----Original Message-----
>You should also check that Enable DepTree Build is
checked
>on the Build tab of the PB Tool Options.
>
>>-----Original Message-----
>>Did you do a full rebuild ? Not just rebuild the image...
>>If you're not sure what happened, look for i486oal.lib
>>in ..OAK\LIB\RETAIL and/or ..\DEBUG directory.
>>Has this library been built after you did your
>modification?
>>stephan.
>>
>>spipyeah wrote:
>>> I am trying to disable debug output on COM1. I
searched
>on the groups
>>> for this and I found some answers. However, applying
>them doesn't seem
>>> to work.
>>>
>>> What I tried to do was to (based on the few posts I
>found on the
>>> subject) modify public\common\oak\csp\i486\oal\debug.c
>by setting
>>> ucComPort to 0 right before the switch statement so
>that it becomes:
>>>
>>> pBootArgs->ucComPort = 0;
>>>
>>> switch ( pBootArgs->ucComPort ) {
>>> case 1:
>>> IoPortBase = (PUCHAR)COM1_BASE;
>>> break;
>>>
>>> [...]
>>>
>>> default:
>>> IoPortBase = 0;
>>> break;
>>> }
>>>
>>> To build, I did the following:
>>>
>>> 1. Menu Build -> Open Build Release Directory
>>> (now in the prompt)
>>> 2. set wincerel=1
>>> 3. cd public\common\oak\csp\i486\oal\
>>> 4. build -cf
>>> 5. sysgen -p common
>>>
>>> Finally, I ran a build image from the IDE.
>>>
>>> The changes did not seem to have any effect. Have I
>missed anything?
>>>
>>> Thank you.
>>
>>.
>>
>.
>

Re: Disabling COM1 debug output by Steve