This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: serial driver
- From: "Michael Anburaj" <embeddedeng at hotmail dot com>
- To: satish at bvt dot sc dot sanyo dot co dot jp, ecos-discuss at sources dot redhat dot com
- Date: Fri, 18 Jul 2003 10:28:56 +0000
- Subject: Re: [ECOS] serial driver
- Bcc:
Hi,
btw, how can i debug the serial driver..? to track the bug..!!
<a generic embedded debug issue> If you have a JTAG probe connected to the
board, then you can look at the memory contents at the SFR register
locations for the UART & make sure that you have written the right values.
If you are sure about register values <like control, baud_div & other UART
setup registers>, then simply supply those values from the memory window of
AXD or ADW. After this you can write into the UART_TX SFR location some hex
number, like 0x41 & make sure the char appears on the serial terminal
connected to the UART port. If this does not work, then you should work on a
small project --writing ROMable code for you board & adding support like
LEDs & serial stuff <without the MMU>.
FYI: Prior to this you should make sure you have turned off WDT (if any),
interrupts, configure BUS parameters, Clock control & other board
requirements.
-Mike.
_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss