UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor javierperez
Visitor
1,098 Views
Registered: ‎07-30-2017

Axi Uartlite Zybo

HI, im using zybo for a easy zynq application, but i have a problem with the UARTlite, i dont now why but with the default configuration when i inicialize the block the code stop in this line XUartLite_Initialize(&UartLite,XPAR_UARTLITE_0_DEVICE_ID);, does anyone have the same problem, i dont now if i need some config before but this is an extract of the example.

0 Kudos
3 Replies
Moderator
Moderator
1,085 Views
Registered: ‎11-09-2015

Re: Axi Uartlite Zybo

Hi @javierperez,

 

What Hardware Platform did you use? Did you create it with vivado? Did you enable the UART?

 

Could you try with the hello world application template?

 

Regards,

 

Florent


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos
Highlighted
Visitor javierperez
Visitor
1,001 Views
Registered: ‎07-30-2017

Re: Axi Uartlite Zybo

Sorry for the delay, im using vivado v2017 with the sdk, i try the example that is similarto to:

 

xil_printf("Init\r\n");
Status = UartLiteLowLevelExample(UARTLITE_BASEADDR);
if (Status != XST_SUCCESS) {
xil_printf("Uartlite lowlevel Example Failed\r\n");
return XST_FAILURE;
}

xil_printf("Successfully ran Uartlite lowlevel Example\r\n");
return XST_SUCCESS;
}

 

I receive the Init messagge on the console but the program stop here didnt send me back the failed or successfully message, and with a osciloscope on the output ports doesnt out any signal, i dont now if i dont enable the uart or maybe i configure wrong the outputpins, thanks for everything

0 Kudos
Moderator
Moderator
997 Views
Registered: ‎11-09-2015

Re: Axi Uartlite Zybo

Hi @javierperez,

 

If you do not get the success or failed messages it might mean that the zynq is blocked.

 

You should try first to configure the AXI Uart lite. Add an ILA on the AXI interface but it could be held in reset


Florent
Product Application Engineer - Xilinx Technical Support EMEA
**~ Don't forget to reply, give kudos, and accept as solution.~**
0 Kudos