Sorry, you need to enable JavaScript to visit this website.

How to use UART0 in sdsoc with linux?

Unsolved
5 posts / 0 new
irelectronic
Junior(0)
How to use UART0 in sdsoc with linux?

Hi all

 

In my project I want to use UART0 instead of UART1 in SDSOC with Linux.

 

I don't know where and how activate UART0 and how to modify default UART (Console) from UART1 to UART0. 

 

Can any one help me to solve this problem?

 

My setup:

My Hardware: Microzed Embedded Vision Kit.

Tools: SDSOC 2016.2 with mzembv sdsoc platform.

O.S: Linux.

 

 

zedman2000
Moderator(5)
Hi there,

Hi there,

You actually use this in a similar way as you would with normal Petalinux. The definition is performed back at the Vivado stage, prior to SDK. This means you will need to regenerate the platform starting from that stage.

Please check UG1146 for some guidance about when to work with the hardware / MMS configuration.

--Dan

AlbertaBeef
Moderator(5)
That is correct,

That is correct,

In order to change the UART, you will need to change the following:

- Vivado Project - IPI Block Design - reconfigure PS module to your needs

- Petalinux Device Tree - change the device tree to reflect your changes in the hardware design

 

Regards,

Mario.

irelectronic
Junior(0)
Thank you for your reply

Thank you for your reply

Can you guide me step by step to solve the problem?

I used the following platform and I am currently developing my project based on the "Video_cmd example" in Linux.

 

http://zedboard.org/sites/default/files/design/MZEMBV_PYTHON_SDSOC_2016_...

Hardware: Microzed Embedded Vision Kit with   Microzed7020 module.

Tool: SDSOC 2016.2

 

Regards

Masih

irelectronic
Junior(0)
The Corrected Download link