EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

at91rm9200 not booting from internal boot loader

Started by ms February 5, 2009
hi all,
we have designed a at91rm9200 based board. when we connect it to
hyperterminal( on PC) on DBUG port with BMS pulled HIGH, nothing comes
on hyperterminal where as atmel datsheet says, it should load from
internal boot rom and char "C" should come on hyperterminal. we have
checked the settings of hyperterminal ("115200 8 N 1") matching as per
data sheet.
we have also observed following.

1. all the power supplies to processr ar OK
2. reset is going perfecty, low for some time and then high( we have
use a MAX reset controller)
3.on XIN and XOUT of 32.768( low freq oscillator) as weel as 18MHz
osciolloatr, no waveform is coming, it is a DC signal of few mV only.
Pl. suggest how to upload the Uboot to the board.

Hi,

Try this,
Change crystal to 16.36766MHz, instead of 18MHz.

Regards,
Kiran

----- Original Message -----
From: ms
To: A...
Sent: Thursday, February 05, 2009 10:54 AM
Subject: [AT91SAM] at91rm9200 not booting from internal boot loader
hi all,
we have designed a at91rm9200 based board. when we connect it to
hyperterminal( on PC) on DBUG port with BMS pulled HIGH, nothing comes
on hyperterminal where as atmel datsheet says, it should load from
internal boot rom and char "C" should come on hyperterminal. we have
checked the settings of hyperterminal ("115200 8 N 1") matching as per
data sheet.
we have also observed following.

1. all the power supplies to processr ar OK
2. reset is going perfecty, low for some time and then high( we have
use a MAX reset controller)
3.on XIN and XOUT of 32.768( low freq oscillator) as weel as 18MHz
osciolloatr, no waveform is coming, it is a DC signal of few mV only.

Pl. suggest how to upload the Uboot to the board.
On Thu, Feb 05, 2009 at 11:40:21AM +0530, Kiran wrote:
> Hi,
>
> Try this,
> Change crystal to 16.36766MHz, instead of 18MHz.

Not sure about 18Mhz, but different xtals are supported.
I'm using 16MHz and the specs define allowed xtals.
Nevertheless this is not the problem, xince it is not even starting this
oscillator.
The controller starts with slow clock and then software enables
everything else.
One of the problems with RM9200 is the long length of the required reset
pulse, which has to be long enough for the 32.768kHz oscillator to swing
up.
Since it is not oscilating the pulse might be too short.
You might want to replace the xtal/caps for one to swing up faster or
increase the length of the reset pulse.
You can apply a manual reset as a first test.

> ----- Original Message -----
> From: ms
> To: A...
> Sent: Thursday, February 05, 2009 10:54 AM
> Subject: [AT91SAM] at91rm9200 not booting from internal boot loader
> hi all,
> we have designed a at91rm9200 based board. when we connect it to
> hyperterminal( on PC) on DBUG port with BMS pulled HIGH, nothing comes
> on hyperterminal where as atmel datsheet says, it should load from
> internal boot rom and char "C" should come on hyperterminal. we have
> checked the settings of hyperterminal ("115200 8 N 1") matching as per
> data sheet.
> we have also observed following.
>
> 1. all the power supplies to processr ar OK
> 2. reset is going perfecty, low for some time and then high( we have
> use a MAX reset controller)
> 3.on XIN and XOUT of 32.768( low freq oscillator) as weel as 18MHz
> osciolloatr, no waveform is coming, it is a DC signal of few mV only.
>
> Pl. suggest how to upload the Uboot to the board.
>

--
B.Walter http://www.bwct.de
Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.
thanks kiran and Bernd.
there was a problem with low freq. oscillator. it is working now
--- In A..., Bernd Walter wrote:
>
> On Thu, Feb 05, 2009 at 11:40:21AM +0530, Kiran wrote:
> > Hi,
> >
> > Try this,
> > Change crystal to 16.36766MHz, instead of 18MHz.
>
> Not sure about 18Mhz, but different xtals are supported.
> I'm using 16MHz and the specs define allowed xtals.
> Nevertheless this is not the problem, xince it is not even starting this
> oscillator.
> The controller starts with slow clock and then software enables
> everything else.
> One of the problems with RM9200 is the long length of the required reset
> pulse, which has to be long enough for the 32.768kHz oscillator to swing
> up.
> Since it is not oscilating the pulse might be too short.
> You might want to replace the xtal/caps for one to swing up faster or
> increase the length of the reset pulse.
> You can apply a manual reset as a first test.
>
> > ----- Original Message -----
> > From: ms
> > To: A...
> > Sent: Thursday, February 05, 2009 10:54 AM
> > Subject: [AT91SAM] at91rm9200 not booting from internal boot loader
> >
> >
> > hi all,
> > we have designed a at91rm9200 based board. when we connect it to
> > hyperterminal( on PC) on DBUG port with BMS pulled HIGH, nothing
comes
> > on hyperterminal where as atmel datsheet says, it should load from
> > internal boot rom and char "C" should come on hyperterminal. we have
> > checked the settings of hyperterminal ("115200 8 N 1") matching
as per
> > data sheet.
> > we have also observed following.
> >
> > 1. all the power supplies to processr ar OK
> > 2. reset is going perfecty, low for some time and then high( we have
> > use a MAX reset controller)
> > 3.on XIN and XOUT of 32.768( low freq oscillator) as weel as 18MHz
> > osciolloatr, no waveform is coming, it is a DC signal of few mV
only.
> >
> > Pl. suggest how to upload the Uboot to the board.
> >
> >
> >
>
> --
> B.Walter http://www.bwct.de
> Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.
>


The 2024 Embedded Online Conference