EmbDev.net

Forum: ARM programming with GCC/GNU tools minicom is not detecting the target board


von Ashutosh M. (Company: student) (ashutoshmahto)


Rate this post
useful
not useful
I am using ARM 1020TDMI development board.I have burned the bootloader 
using JTAG.I have set up a minicom at terminal ttyS0.However on powering 
up the device,the minicom is not able to access the board.it does not 
show any error message and neither the target board does not boot.
please send detailed steps of configuring the minicom and enabling the 
serial port for accessing the board.
thanks in advance.

von Heiko (Guest)


Rate this post
useful
not useful
I know of one typical problem concerning serial port setup - which is 
flow control. Many PC terminal programs use flow control by default, 
many embedded projects don't - so you need to turn off flow control.

Just a quick guess,

Heiko

von Ashutosh M. (Company: student) (ashutoshmahto)


Rate this post
useful
not useful
thanks for the reply but i have already done that without any 
improvement.

von Clifford S. (clifford)


Rate this post
useful
not useful
This could be caused by any number of problems, but you seem to be 
blaming the least likely cause.  Most issues would be down to your code 
running on your target.  Since you have a JTAG device, you should use 
that to inspect the UART registers on the target to determine whether it 
is correctly set up, and to see whether the UART is receiving any data 
(send a single byte and inspect the Rx data register). You should also 
use the JTAG with GDB to debug the bootloader code.

A common error is an incorrect baud rate generator configuration.  You 
might use an oscilloscope to test the bit/character width. If you have 
an incorrect PLL configuration, the UART may not be running at the rate 
you intended either.

A useful tool you can use at the PC end is Portmon; this sits between 
the serial port driver and the terminal emulator, and provides 
information of exactly what data is being transmitted and received as 
well as what ports are opened and othe OS calls to the driver.  It is 
essential for serial comms debugging.  Portmon may not work with some 
USB serial port adapters; if this is the case you cab use "HDD Free 
Serial Port Monitor", this is less flexible that Portmon, but works in 
more cases.  Once HDD is monitoring a port, it is sometimes possible to 
then attach Portmon where it does not work when connected directly to 
the device driver.


http://technet.microsoft.com/en-us/sysinternals/bb896644.aspx
http://www.serial-port-monitor.com/

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.