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!

Reply

Problem using two uarts with a Zynq First Stage Boot Loader BSP. SDK 2014.2

Accepted Solution Solved
Observer
Posts: 28
Registered: ‎10-22-2014
Accepted Solution

Problem using two uarts with a Zynq First Stage Boot Loader BSP. SDK 2014.2

We need to use both uart ports in order to communicate with a H-bridge and send data to the computer.

 

Everything was working fine but, in order to save the program in the QSPI flash memory and not to program the ARM every time we need to run a test, we follow the Xilinx University Program Advanced embedded tutorial (#5) and we make a Zynq FSBL (First stage bootloader) BSP. But using this BSP and debugging we don't get any data on the terminal (if we eliminate the UART0 in vivado we can receive data but if we activate both UARTS we get nothing). 

 

We already make another project, recheck the xparameters.h constant names, but every time we activate both uarts we stop to receive data, even when the program appears to be running.

 

We are out of ideas. Any advice? Anyone experience this problem?

 

We are using Vivado and SDK 2014.2

 

 

 


Accepted Solutions
Xilinx Employee
Posts: 1,128
Registered: ‎07-01-2010

Re: Problem using two uarts with a Zynq First Stage Boot Loader BSP. SDK 2014.2

Hi,

 

Can you cross verify if the stdin/stdout  bsp settings are set to uart1?

 

SDK_stdin_stdout.JPG

 

 

Regards,

Achutha

---------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------

View solution in original post


All Replies
Observer
Posts: 28
Registered: ‎10-22-2014

Re: Problem using two uarts with a Zynq First Stage Boot Loader BSP. SDK 2014.2

UART1 it's mapped to MIO 48 and 49 (as default) 

 

UART0 it's mapped to

MIO 10          PMOD JF2             RX

MIO 11          PMOD JF3             TX

 

We are using a Zybo, by the way.

Xilinx Employee
Posts: 1,128
Registered: ‎07-01-2010

Re: Problem using two uarts with a Zynq First Stage Boot Loader BSP. SDK 2014.2

Hi,

 

Can you cross verify if the stdin/stdout  bsp settings are set to uart1?

 

SDK_stdin_stdout.JPG

 

 

Regards,

Achutha

---------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------
Scholar
Posts: 1,180
Registered: ‎11-09-2013

Re: Problem using two uarts with a Zynq First Stage Boot Loader BSP. SDK 2014.2

debug as

 

you will see in debugger what uart is used or where progam gets stuck

 

we are porting arduino library to zynq

http://youtu.be/QYmZovrErwY

 

as soon as we add the UART support.. well comes soon :)

 

 

Observer
Posts: 28
Registered: ‎10-22-2014

Re: Problem using two uarts with a Zynq First Stage Boot Loader BSP. SDK 2014.2

That was it! We ended up discovering it in the morning and when I went to post the solution I see your response. Thanks a lot achutha.

 

 

Observer
Posts: 28
Registered: ‎10-22-2014

Re: Problem using two uarts with a Zynq First Stage Boot Loader BSP. SDK 2014.2

This project looks amazing! I'll be pending and good luck with that!