public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Question About "Clock Hardware Initialization Value" Option?
@ 2001-04-23  2:47 Huang Qiang
  2001-04-23  5:45 ` [ECOS] Question About "Clock Hardware Initialization Value" Gary Thomas
  0 siblings, 1 reply; 2+ messages in thread
From: Huang Qiang @ 2001-04-23  2:47 UTC (permalink / raw)
  To: eCos

Hi all:
   I am configuring the tick time for the ecos. I met with a clock hardware
initialization value option in the ecos configuration tool. It recommend to
refer to the hardware reference. Does it mean the target platform or the
microprocessor's manual? I am currently using the ARM Evaluator7T Board for
developing. What is this value used to do?

Thanks all
james

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: [ECOS] Question About "Clock Hardware Initialization Value"
  2001-04-23  2:47 [ECOS] Question About "Clock Hardware Initialization Value" Option? Huang Qiang
@ 2001-04-23  5:45 ` Gary Thomas
  0 siblings, 0 replies; 2+ messages in thread
From: Gary Thomas @ 2001-04-23  5:45 UTC (permalink / raw)
  To: Huang Qiang; +Cc: eCos

On 23-Apr-2001 Huang Qiang wrote:
> Hi all:
>    I am configuring the tick time for the ecos. I met with a clock hardware
> initialization value option in the ecos configuration tool. It recommend to
> refer to the hardware reference. Does it mean the target platform or the
> microprocessor's manual? I am currently using the ARM Evaluator7T Board for
> developing. What is this value used to do?

The answer to this depends on the actual hardware platform.  Sometimes the
hardware (registers, timers, etc) used for the tick timer are on the processor
(in the case of the Evaluator), other times it is implemented in separate
logic on the target board.

In your case, look at the E7T documentation on the internal timers to figure
out what the value should be.  You can probably get some idea from seeing the
current value.

Specifically for the Evaluator, the timer is clocked by the system clock, so
the "period" value is simply the system clock divided by the timer rate.  In
the current CDL, these values are calculated, so in order to change them you'll
have to edit the CDL file directly.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-04-23  5:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-23  2:47 [ECOS] Question About "Clock Hardware Initialization Value" Option? Huang Qiang
2001-04-23  5:45 ` [ECOS] Question About "Clock Hardware Initialization Value" Gary Thomas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).