Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
96 user(s) are online (77 user(s) are browsing Forums)

Members: 0
Guests: 96

more...

Support us!

Headlines

 
  Register To Post  

KDebug stuff [FIXED]
Just can't stay away
Just can't stay away


See User information
I am trying to insert some debug code in wipeout, and I checked the UBoot settings: Is has baudrate=115200, and so I hook up with my PC and start termite and set its baud rate to 115200. It neatly prints out statements like:

Quote:

ListBrowserBase(HAS_NEWCOLUMNS): Test: 53.38 Has: 53.49 <- AVAILABLE
LayoutBase(HAS_NEWLAYOUT): Test: 53.0 Has: 53.19 <- AVAILABLE
(etc...)


Now, I have inserted a call in wipeout to IExec->DebugPrintF(..something..), but in termite all that comes out from this call is garbage.

What are the correct baudrate settings?? And are they at all connected to the Prefs:serial settings?? Because there I can only choose up to 31250... Mysterious! :-/


Edited by alfkil on 2011/12/20 14:57:39
Edited by alfkil on 2011/12/20 15:44:56
Go to top
Re: KDebug stuff
Just can't stay away
Just can't stay away


See User information
Sorry, my mistake, just forgot that first argument is a Self pointer in r3. Doh!

Go to top
Re: KDebug stuff
Quite a regular
Quite a regular


See User information
You probably know, but the serial debug output (used by IExec->DebugPrintF() and GR) uses the port settings from U-Boot (or CFE in the X-1000).

The serial Prefs settings do not matter for debug output. On the other hand, if you use "print >SER:" etc, then that will use the serial prefs settings.

cheers
tony
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project