Hallo!

I have two fully operational serial ports (FFUART and STUART) on my
XSCALE-device. I can use both at the same time from my application.
Now I would like to have one of my ports supporting the DEBUGMSG command.
The only way I have managed to do this is by setting BSP_NOSERIAL=1 (no
serial port) and BSP_DBGSER_UART1=1.This unfortunately disables all serial
ports except the DEBUG-port. Debugg messages is displayed on my STUART.

Why am I not able to enable one port for DEBUGMSG and FFUART for my
application at the same time?
Any idrea is welcome since I feel I have tried all possibilities!

/trond

Re: DEBUGMSG and FFUART enabled at the same time by Steve

Steve
Fri May 27 09:48:01 CDT 2005

Just manually change your platform.reg to use one of the ports all the time
and the other dependent on the DEBUG UART setting.

--
Steve Maillet
EmbeddedFusion
www.EmbeddedFusion.com
smaillet at EmbeddedFusion dot com



Re: DEBUGMSG and FFUART enabled at the same time by Bolla

Bolla
Mon May 30 02:04:43 CDT 2005

Thankyou for your reply!
Yes, what you suggest is what I have done. When I look into the platform.reg
file generated in my release directory, I can see that the FFUART is
present, but the STUART (to be used for DEBUGMSG) is not, when set the
BSP_DBGSER_UART1=1 and not set BSP_NOSERIAL=.
So my feeling is that registry setting is OK. But as I previousely indicated
debug does not work with this setting.

Looking into configurations for other boards, it seems to be several Serial
Device Drivers under the Workspace-Feature tab. Actually one for each serial
port in use. I have only the default one accompanied by the Intel Lubbock
configuration: Serial => XSC1BD Serial.
Could this be my problem and if so what do I have to do?

Looking forward for some good advices!
/trond
"Steve Maillet (eMVP)" <nospam1@EntelechyConsulting.com> wrote in message
news:%23W25cssYFHA.3616@TK2MSFTNGP15.phx.gbl...
> Just manually change your platform.reg to use one of the ports all the
time
> and the other dependent on the DEBUG UART setting.
>
> --
> Steve Maillet
> EmbeddedFusion
> www.EmbeddedFusion.com
> smaillet at EmbeddedFusion dot com
>
>



Re: DEBUGMSG and FFUART enabled at the same time by Steve

Steve
Mon May 30 10:40:53 CDT 2005

Which serial drivers are loaded is entirely controlled by the registry.
Which port is used for DEBUG is controlled by the OAL implementation.
Loading the driver for the port that is ALSO being used as the debug port
will result in undefined behavior. So figure out what your BSP is using and
don't load that driver unless you are not using it in the OAL.

--
Steve Maillet
EmbeddedFusion
www.EmbeddedFusion.com
smaillet at EmbeddedFusion dot com