Quality RTOS & Embedded Software

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




Loading

New port for Keil

Posted by Nobody/Anonymous on February 26, 2007
I am trying to learning how the Freertos works. After seeing the instruction, I downloaded the Keil development kits,but it seems not to work with Keil port(I mean Philips ARM7 with the Keil development tools). So could you give me a updated version of this port, I will be very appreciate for the help.

PS: the problem now is when I tried to build target of the project, the development kit displayed the error message:can't execute 'C:\Keil\ARM\BIN\CA'

Thanks a lot

RE: New port for Keil

Posted by Richard on February 26, 2007
The Keil demo uses the Keil compiler - which is now defunct. Keil ship the ARM compiler in its place. This unfortunately requires different syntax.

Send me an email to r (dot) barry [at] freertos.org, and I can send you a third party demo that was created for the Keil/ARM combo.

Regards.

RE: New port for Keil

Posted by Jokke on March 7, 2007
Is there any plan for adding the Realview port to the distro? Can I help somehow?

If the "third party demo" mentioned is the one I sent to Richard, here is a correction to make in the sam7.s file:

__user_initial_stackheap

LDR R0, = Heap_Mem
LDR R1, =(Stack_Mem + USR_Stack_Size + SVC_Stack_Size); start in SVC mode!
LDR R2, = (Heap_Mem + Heap_Size)
LDR R3, = Stack_Mem
BX LR

(It works anyway, but the stack sizes will be mixed up if this is not fixed.)

Regards

RE: New port for Keil

Posted by Richard on March 7, 2007
Hi - yes it is my intention to include it in the distribution. I was so busy on the SafeRTOS project for the last few months my todo list got a bit out of hand! I will be releasing a new WEB server demo soon so can include it then.

The Keil/ARM debugger (whatever it is called now) has a major disadvantage in that the evaluation edition only permits a total data size (ROM + RAM) of 16K. This limits the heap size that can be allocated unless using the full version. The Cortex M3 Keil demo gets around this by allocating the heap simply as a pointer at the end of the data section (this was an idea sent in by a contributor, maybe you?) rather than as an array. This gets around the data size limit but means there is no warning if you run out of heap, unless you change the heap_x.c files to have an absolute memory check.

I would be grateful if you could send me the zip file again with the above fix included to make sure I have everything straight. I appreciate your contribution to the project.

Regards.

RE: New port for Keil

Posted by Richard on March 7, 2007
Sorry - just read your fix in the post. It mentions the heap_mem thing is covered already.

Regards.

RE: New port for Keil

Posted by Jokke on March 8, 2007
I just sent the zip file by mail.

Since I have a full version I did not notice the limit you mentioned. It will be a very limited demo to stay within those limits!

regards

RE: New port for Keil

Posted by Richard on March 8, 2007
Got it - thanks ;-)

Regards.

RE: New port for Keil

Posted by megcyc on September 6, 2007
Hi,

I'm new to the FreeRTOS and would really need help here.
I'm been trying out on the FreeRTOS with the Keil uVision 3 Realview Arm compiler on the demo Arm7 LPC2129 Keil and I've had great difficulties getting the compilation through.

The last message I had was this

compiling main.c...
c:\FreeRTOS\Source\include\..\..\Source\portable\Keil\ARM7\portmacro.h(94): error: #52: expected a macro parameter name
.....

and
assembling Startup.s...
Startup.s(1): error: A1167E: Invalid line start
....

Can anyone help me on this?

Thanks

RE: New port for Keil

Posted by Richard on September 6, 2007
The Keil port in the FreeRTOS.org download is configured to use the Keil ARM compiler - which is not defunct. If you have a new version of the Keil tools then you will have, not the Keil compiler (that would be too obvious), but the RVDS compiler. This is not compatible.

If you send me an email to r (_dot_) barry =at_ freertos.org then I can send you a SAM7 project that is configured to use the RVDS compiler, but is rather out of date.

Regards.

RE: New port for Keil

Posted by megcyc on September 6, 2007
Received ok. Will go and try out now.

RE: New port for Keil

Posted by megcyc on September 6, 2007
Hi,

Compilation looks good except for this statement

compiling USBSample.c...
USB\USBSample.c(1169): error: #20: identifier "AT91C_AIC_SRCTYPE_INT_LEVEL_SENSITIVE" is undefined

Can't seem to find the above identifier anywhere in the project folder. Could you help on that?

Thanks

RE: New port for Keil

Posted by megcyc on September 6, 2007
Ok,

I manage to get it working with the at91sam7s64.h file... Thanks

RE: New port for Keil

Posted by Karel on October 4, 2007
Hello, where dit you put this file to get the project working???

thanks


[ 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