Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT




Loading

ARM7_LPC2368_Keil port...

Posted by Roland Beuker on April 22, 2008
In the C:\FreeRTOS\Demo tree I only see a LPC2368 port for Eclipse (ARM7_LPC2368_Eclipse) and Rowley (ARM7_LPC2368_Rowley). Has anyone already ported this demo projects for use with Keil uVision3/ARM RealView/? The target board is MCB2300 with the LPC2368.


RE: ARM7_LPC2368_Keil port...

Posted by Richard on April 22, 2008
I don't have specific code for the 2368, but I am in possession of some LPC projects that use the Keil compiler. I you send me an email to r _dot_ barry [at] freertos.org I can send something over that might make a good starting point for you. Don' use a SourceForge email address as attachments will get stripped.

Regards.

RE: ARM7_LPC2368_Keil port...

Posted by Roland Beuker on April 23, 2008
Hello Barry,

Thanks I'll send you an email for the examples ;-)

About specific 2368 example; The Eclipse demo (ARM7_LPC2368_Eclipse) contains a lot of Keil hacking (for example in emac.c "Keil: Module modified for use with Philips LPC2378 EMAC Ethernet controller"). So I was/am suprised they didn't deliver a port for their own good old Keil compiler...

Regards,

Roland Beuker

ARM7_LPC2368_Keil_RVD

Posted by Roland Beuker on April 25, 2008
I got a ARM7_LPC2138_Keil_RVD example project from Barry. The project builds with Keil uVision3 and the RealView compiler (with Device LPC2368 selected). From my point of view now I just can transfer the demo files from ARM7_LPC2368_Eclipse (FreeRTOS\Demo\ARM7_LPC2368_Eclipse\RTOSDemo) to my new created ARM7_LPC2368_Keil_RVD. The only problem seems the port from boot.s (ARM7_LPC2138_Keil_RVD) to Startup.s (ARM7_LPC2368_Keil_RVD). Is there an easy way to port assembler files from gnu to realview?

Are more people interested in this ARM7_LPC2368_Keil_RVD port?

Regards,

Roland

RE: ARM7_LPC2368_Keil_RVD

Posted by std-logic on May 3, 2008
Yes, I'm interesting in ARM7_LPC2368_Keil_RVD port... Previously I worked with IAR and ported freeRTOS for LPC2468 (based on LPC2129 - it was not difficult) But now it's problem for me to modify any existing projects to Keil_RVD environment... Could you please send me some examples of project files for Keil?

RE: ARM7_LPC2368_Keil port...

Posted by Roland Beuker on May 6, 2008
See above messages; I got some Keil example code, but I didn't had time to port the "FreeRTOS\Demo\ARM7_LPC2368_Eclipse\RTOSDemo" project (for the time being I work with Eclipse/GNU). Next to the examples from Barry, the InsidersGuide LPC2300_book_v2_prn.pdf (http://www.hitex.co.uk/arm/index.html) contains a FreeRTOS port to LPC2300. I already got the example files for this document, but the FreeRTOS part is missing (only Keil RTX examples) :-( I'm waiting for a mail from Hitex about this. May be we can work together on this port action and add this to the FreeRTOS tree... For a start, send me an email at roland [dot] beuker [at] xs4all [dot] nl and I send you the example files from Barry.

Regards,

Roland

The Insider's Guide To The NXP LPC2300/2400 B

Posted by Roland Beuker on May 8, 2008
The examples from the document LPC2300_book_v2_prn.pdf (The Insider's Guide To The NXP LPC2300/2400 Based Microcontrollers)are hard to get/find... I was one the phone with Hitex United Kingdom, Hitex Germany and Hitex USA but I'm still looking for the LPC2300 code examples... Doen anyone have this code exmamples (or where to get these)?

Regards,

Roland

RE: ARM7_LPC2368_Keil port...

Posted by Roland Beuker on September 18, 2008
Hello Tiago Prado Lone,

Next week I'll make a start with the LPC2368 port for Keil RealView. Did you already started with a port? Distribution FreeRTOSV5.0.3 contains an unsupported demo for the LPC2138;

C:\temp\FreeRTOSV5.0.3\FreeRTOS\Demo\Unsupported_Demos\LPC2138_Keil_RVDS_MCB2130_FD.zip

Maybe this is a good starting point...

Regards,

Roland Beuker

Tiago Prado Lone wrote:

> Hello,
>
> I found you e-mail in one of your posts in FreeRTOS support forum. I saw that you was working in a port of FreeRTOS to LPC2368, using Keil RealView compiler.
> I am interested in this port too. Have you had some progress in it? If you need, I can try to help you in this port.
>
> Thank you
>
> Tiago Prado Lone

RE: ARM7_LPC2368_Keil port...

Posted by Roland Beuker on September 19, 2008
Hello Roland Beuker,

Thank you for your e-mail. I have used exactly this demo as start point to make my port. It is working now, I have modified just a little the original demo and LPC2368 startup code from Keil. I am sending you the port files as attach. If you need, I can send you a working project. This port have just one "problem", the macros "portSAVE_CONTEXT" and "portRESTORE_CONTEXT" are implemented in assembly and can be used just in assembly files, so to call an interruption that can cause a context switch, it is necessary to create a assembly wrapper. As a example, I am sending you the file serialISRE.s, from the original demo.
I am not using these macros in my project now, and it works the way it was implemented, but I think that I will try to modify it when I need to use them. I don't now yet if it can be done, the author of the demo made it this way because the RealView compiler have some restrictions in the assembly code that can be used inline in the C code.
One last commentary about the port, I didnĀ“t test it in THUMB mode.

I hope that this files help you save some time, and if you find some bug or have some idea of how to implement "portSAVE_CONTEXT" and "portRESTORE_CONTEXT" as inline assembly, please send me a e-mail.

Regards,
Tiago Prado Lone

RE: ARM7_LPC2368_Keil port...

Posted by Roland Beuker on September 19, 2008
Hello Tiago Prado Lone,

Thanks for the example! And yes, I'm interested in the working project. Next week I'll give it a try, and of course you will be informed about bugs and updates.

Regards,

Roland Beuker

RE: ARM7_LPC2368_Keil port...

Posted by sile Bleriot on October 14, 2008
I am new with freeRTOS.In the C:\FreeRTOS\Demo tree I only see a LPC2368 port for Eclipse (ARM7_LPC2368_Eclipse) and Rowley (ARM7_LPC2368_Rowley). Has anyone already ported this demo projects for use with Keil uVision3/ARM RealView/? The target board is MCB2300 with the LPC2368.please help me my mail adress is bleriots@yahoo.fr

RE: ARM7_LPC2368_Keil port...

Posted by Dave on October 14, 2008
You will find some lpc21138 Keil code here
http://www.freertos.org/RTOS-contributed-ports.html

ARM7_LPC2368_Keil port...

Posted by sile Bleriot on October 15, 2008
Hello Roland Beuker,


please can you send me the Working project from Prago Thiago Lone.
Thanks and best regards.


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS