hello,all
I'm new to u-boot, now I am working on MPC8541, I use DUART1 as my serial port,
I want to do loopback test on DUART1, but it isn't working, so I want to know
how to do loopback test on DUART1.Can you help me?
below is my processing steps:
1) set UCLR1=0x00 (close DLAB)
2) set UIER1=0x00 (disable interrupt)
3) set UMCR1=0x12 (allow loopback)
4) set UTHR1=0x5a (sending a char)
5) get the loopback value from URBR1 (but I always get value 0)
best regards
leo
-------------------------------------------------------------------
每天一晒每天一个幸运儿,你的梦想KFC来买单(
http://d1.sina.com.cn/sina/limeng3/mail_zhuiyu/2008/mail_zhuiyu_20080205.html )
===================================================================
注册新浪2G免费邮箱(http://mail.sina.com.cn/)
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users