PowerPC assembly instruction set for Uart Transmitter

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

PowerPC assembly instruction set for Uart Transmitter

跳至解决方案
908 次查看
vinothkumars
Senior Contributor IV

Hi,

I want the specific instruction to access uart transmitter to print char in console in u-boot. I don't to know what specific command want to use for this.

steps,

1. Load register to UART transmit address

2. Store the char in the register

3. Print the char when uboot-debugging

Regards, VinothS

Regards,
Vinothkumar Sekar
0 项奖励
1 解答
716 次查看
Pavel
NXP Employee
NXP Employee

Look at the Section 3.4.3.2 of the e6500 Core Reference Manual:

https://www.nxp.com/docs/en/reference-manual/E6500RM.pdf

 

See also the Chapter 5.6.1.2.1 of the EREF:

https://www.nxp.com/webapp/Download?colCode=EREF_RM&location=null

 

See also u-boot readme file:

https://git.denx.de/?p=u-boot.git;a=blob_plain;f=README;hb=HEAD

 

Find the " "Hello World" Demo:" in this file. This example contains printing from u-boot.

Have a great day,
Pavel Chubakov

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
2 回复数
717 次查看
Pavel
NXP Employee
NXP Employee

Look at the Section 3.4.3.2 of the e6500 Core Reference Manual:

https://www.nxp.com/docs/en/reference-manual/E6500RM.pdf

 

See also the Chapter 5.6.1.2.1 of the EREF:

https://www.nxp.com/webapp/Download?colCode=EREF_RM&location=null

 

See also u-boot readme file:

https://git.denx.de/?p=u-boot.git;a=blob_plain;f=README;hb=HEAD

 

Find the " "Hello World" Demo:" in this file. This example contains printing from u-boot.

Have a great day,
Pavel Chubakov

 

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
716 次查看
vinothkumars
Senior Contributor IV

Hi Pavel,

Thank you for your reply.

But, I am working on the fresh board. We flashed u-boot alone with hard-coded RCW  and we start u-boot debugging. 

Please checkout this thread,

Lauterbach Trace32 Debugger with T4160RDB-64b 

Thanks & Regards,

VinothS

Regards,
Vinothkumar Sekar
0 项奖励