From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23517 invoked by alias); 23 May 2013 11:22:17 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 23497 invoked by uid 89); 23 May 2013 11:22:13 -0000 X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,RDNS_NONE,SPF_NEUTRAL autolearn=no version=3.3.1 Received: from Unknown (HELO gateway11.websitewelcome.com) (64.5.52.14) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Thu, 23 May 2013 11:22:01 +0000 Received: by gateway11.websitewelcome.com (Postfix, from userid 500) id 7A573DBD87063; Thu, 23 May 2013 06:21:53 -0500 (CDT) Received: from ham02.websitewelcome.com (unknown [173.192.111.51]) by gateway11.websitewelcome.com (Postfix) with ESMTP id 689FBDBD87033 for ; Thu, 23 May 2013 06:21:53 -0500 (CDT) Received: by ham02.websitewelcome.com (Postfix, from userid 666) id 6261886CC1880; Thu, 23 May 2013 06:21:53 -0500 (CDT) X-Spam-Flag2999: NO X-Spam-Level2999: X-Spam-Status2999: "No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.1 Received: from montecarlo.websitewelcome.com (montecarlo.websitewelcome.com [174.120.9.66]) by ham02.websitewelcome.com (Postfix) with ESMTP id 30E2086CC1810 for ; Thu, 23 May 2013 06:21:53 -0500 (CDT) Received: from [213.115.176.230] (port=50849 helo=[192.168.0.69]) by montecarlo.websitewelcome.com with esmtpsa (TLSv1:DHE-RSA-CAMELLIA256-SHA:256) (Exim 4.80) (envelope-from ) id 1UfTai-0003YJ-Mk; Thu, 23 May 2013 06:21:52 -0500 Message-ID: <519DFBCE.8050604@siva.com.mk> Date: Thu, 23 May 2013 11:22:00 -0000 From: Ilija Kocho User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 MIME-Version: 1.0 To: "yusuf.husainy" CC: ecos-discuss@ecos.sourceware.org References: <1369294035586-233012.post@n7.nabble.com> <519DD845.2010805@siva.com.mk> <1369304962433-233026.post@n7.nabble.com> In-Reply-To: <1369304962433-233026.post@n7.nabble.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BWhitelist: no X-Source-Sender: ([192.168.0.69]) [213.115.176.230]:50849 X-Source-Auth: ilijak+siva.mk X-Email-Count: 1 X-Source-Cap: c2l2YW1rO2JpYmltYW47bW9udGVjYXJsby53ZWJzaXRld2VsY29tZS5jb20= Subject: Re: [ECOS] Re: ecos configuration for LPC1769 X-SW-Source: 2013-05/txt/msg00045.txt.bz2 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