public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Ilija Kocho <ilijak@siva.com.mk>
To: "yusuf.husainy" <yusuf.husainy@gmail.com>
Cc: ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] Re: ecos configuration for LPC1769
Date: Thu, 23 May 2013 11:22:00 -0000	[thread overview]
Message-ID: <519DFBCE.8050604@siva.com.mk> (raw)
In-Reply-To: <1369304962433-233026.post@n7.nabble.com>

On 23.05.2013 12:29, yusuf.husainy wrote:
> Hi Ilija Kocho,
>
> Thanks for the timely reply, i appreciate it.
>
> I will go through the documentation you have suggested. Also, as you said,
> LPC17xx porting will be easy, as it is supported, but the specific processor
> variant for LPC1769 is not supported. I was going through the
> lpc1766stk_misc.c file in the HAL of LPC17xx, and over there most of the
> macros used were 17xx type. Also, in the files, mlt_cortexm_lpc1766_rom.h
> and mlt_cortexm_lpc1766_rom.c, i just edited the end address of the flash to
> 0x00080000(512KB) from 0x00040000(256KB), as LPC1769 has 512KB flash
> compared to LPC1766, which has 256KB flash, rest all features are same,

You are on a good way. Typically it is necessary to adapt memory layout
files to what you have in your hardware.

> except also for the MAX clk hz(120MHz for 1769 and 100MHz for 1766), but I

Perhaps we could make a little update in for 120MHz. Thanks.

> am using 20MHz for my board design, so I don't think that would be a
> problem.

That's it. You can start using it. Serial port and Ethernet should work
out of box.
Just a bit about serial port. Please note that eCos has two kinds of
serial drivers: diagnostic (polled) and real device driver (interrupt
driven). In default setting the real serial driver is disabled so what
you see is diagnostic driver. It is good during development process, but
for the application (production) you should use the interrupt driven.
You shall find more about this in eCos documentation.

Ilija


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

      reply	other threads:[~2013-05-23 11:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-23  7:27 [ECOS] " yusuf.husainy
2013-05-23  8:50 ` Ilija Kocho
2013-05-23 10:29   ` [ECOS] " yusuf.husainy
2013-05-23 11:22     ` Ilija Kocho [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=519DFBCE.8050604@siva.com.mk \
    --to=ilijak@siva.com.mk \
    --cc=ecos-discuss@ecos.sourceware.org \
    --cc=yusuf.husainy@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).