WARP Project Forums - Wireless Open-Access Research Platform

You are not logged in.

#1 2007-Jun-26 08:58:01

toolbox
Member
Registered: 2007-Jun-02
Posts: 18

printf and xil_printf

I have been facing problems with using printf and xil_printf.

1. Could you please tell what is the difference between the two?

2. Sometimes, when I am using printf() to print the data, say txBuffer.data, the Tera Term Display gets stuck the first time the printf() statement is executed. Could you please suggest the reason? Moreover, is it the case that only the display on the Tera Term stops or is it that the warp board stops receiving and sending?

Thank you.

Last edited by toolbox (2007-Jun-26 08:59:18)

Offline

 

#2 2007-Jun-26 14:20:21

murphpo
Administrator
From: Mango Communications
Registered: 2006-Jul-03
Posts: 5159

Re: printf and xil_printf

1) Refer to the LibXil Standard C Libraries guide (also installed in C:\EDK\doc\sa_oslib_libxil_stdc.pdf) for the details on xil_printf and the other standard functions.

2) This sounds like a linker script problem, where your code and data are improperly placed in memory. Try regenerating your linker script (see this example).

Offline

 

Board footer