PowerPC assembly instruction set for Uart Transmitter

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PowerPC assembly instruction set for Uart Transmitter

Jump to solution
877 Views
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 Kudos
1 Solution
685 Views
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!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
2 Replies
686 Views
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 Kudos
685 Views
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 Kudos