EmbeddedRelated.com
Forums

LPC2138 Using IAR Compiler

Started by venu_95 June 11, 2008
Hi Friends,

I just stated on a new development using IAR 5.11 compiler and LPC2138
micro controller. And used the code provided by IAR
ARM/examples/NXP/LPC213x code to get started.

Could anyone please advise me on the following issues,

1. I was wondering whether can I the use the same files provided
under "ARM/examples/NXP/LPC213x/config" directory Flash.icf,
Flash.mac, RAM.ifc & AM.mac for my application OR better to modify it.

2. In that particular example "ARM/examples/NXP/LPC213x/" it uses a
generic startup file provided under \ARM\src\lib\arm\cstartup.s My
question is whether can I use the same cstartup.s file OR Is it
advisable to get a suitable cstartup.s file for LPC2138. If that is
the case is there any place to download it.

Thanks In Advance
Venu

An Engineer's Guide to the LPC2100 Series

Hi Friends,

I just stated on a new development using IAR 5.11 compiler and LPC2138
micro controller. And used the code provided by IAR
ARM/examples/NXP/LPC213x code to get started.

Could anyone please advise me on the following issues,

1. I was wondering whether can I the use the same files provided
under "ARM/examples/NXP/LPC213x/config" directory Flash.icf,
Flash.mac, RAM.ifc & AM.mac for my application OR better to modify it.

2. In that particular example "ARM/examples/NXP/LPC213x/" it uses a
generic startup file provided under \ARM\src\lib\arm\cstartup.s My
question is whether can I use the same cstartup.s file OR Is it
advisable to get a suitable cstartup.s file for LPC2138. If that is
the case is there any place to download it.
In case if I want to write my own startup.s for LPC2138 using IAR ,
where Can I get the informations.

Thanks In Advance
Ve

Hi mate,

in my project I use exactly the files from examples (startup code and
.ifc + .mac)

They work very fine.

--- In l..., "venu_95" wrote:
>
> Hi Friends,
>
> I just stated on a new development using IAR 5.11 compiler and LPC2138
> micro controller. And used the code provided by IAR
> ARM/examples/NXP/LPC213x code to get started.
>
> Could anyone please advise me on the following issues,
>
> 1. I was wondering whether can I the use the same files provided
> under "ARM/examples/NXP/LPC213x/config" directory Flash.icf,
> Flash.mac, RAM.ifc & AM.mac for my application OR better to modify it.
>
> 2. In that particular example "ARM/examples/NXP/LPC213x/" it uses a
> generic startup file provided under \ARM\src\lib\arm\cstartup.s My
> question is whether can I use the same cstartup.s file OR Is it
> advisable to get a suitable cstartup.s file for LPC2138. If that is
> the case is there any place to download it.
>
> Thanks In Advance
> Venu
>