EmbeddedRelated.com
Forums

lpc2106 to lpc2138 for freeRTOS

Started by jagdishlpc2138 January 25, 2007
How Much change required for switching demo example from lpc2106 to
lpc2138?

i am using SignumEVB board.

An Engineer's Guide to the LPC2100 Series

----- Original Message -----
From: "jagdishlpc2138"
To:
Sent: Thursday, January 25, 2007 8:46 AM
Subject: [lpc2000] lpc2106 to lpc2138 for freeRTOS
>How Much change required for switching demo example from lpc2106 to
>lpc2138?

>i am using SignumEVB board.

I think this is just a matter of changing the linker script for the
different memory map, presuming the timer used to generate the tick on the
2106 part is also present on the 2138 part. There are demos for both these
processors albeit using different compilers, but looking into the respective
port.c files should quickly show up any differences.

You may also want to change the header file that defines the
register/peripheral locations if these are mapped differently between the
two parts.

Regards,
Richard.

+ http://www.FreeRTOS.org
+ http://www.SafeRTOS.com
for Cortex-M3, ARM7, ARM9, HCS12, H8S, MSP430
Microblaze, Coldfire, AVR, x86, 8051, PIC24 & dsPIC
.... and soon AVR32
I actually did a quick port to the lpc2148, which is very close to the
lpc2138 and based off the lpc2106 port. it is in the
files/Freertos/lpc2148_freertos.zip
I stripped of all the demo stuff, which is not suitable for upload to
the Freertos site.

--- In l..., "FreeRTOS.org Info" wrote:
> ----- Original Message -----
> From: "jagdishlpc2138"
> To:
> Sent: Thursday, January 25, 2007 8:46 AM
> Subject: [lpc2000] lpc2106 to lpc2138 for freeRTOS
> >How Much change required for switching demo example from lpc2106 to
> >lpc2138?
>
> >i am using SignumEVB board.
>
> I think this is just a matter of changing the linker script for the
> different memory map, presuming the timer used to generate the tick
on the
> 2106 part is also present on the 2138 part. There are demos for
both these
> processors albeit using different compilers, but looking into the
respective
> port.c files should quickly show up any differences.
>
> You may also want to change the header file that defines the
> register/peripheral locations if these are mapped differently
between the
> two parts.
>
> Regards,
> Richard.
>
> + http://www.FreeRTOS.org
> + http://www.SafeRTOS.com
> for Cortex-M3, ARM7, ARM9, HCS12, H8S, MSP430
> Microblaze, Coldfire, AVR, x86, 8051, PIC24 & dsPIC
> .... and soon AVR32
>
thanks richard,
FreeRTOS now working on my board. i am using GCC compiler for that
--- In l..., "FreeRTOS.org Info"
wrote:
> ----- Original Message -----
> From: "jagdishlpc2138"
> To:
> Sent: Thursday, January 25, 2007 8:46 AM
> Subject: [lpc2000] lpc2106 to lpc2138 for freeRTOS
> >How Much change required for switching demo example from lpc2106
to
> >lpc2138?
>
> >i am using SignumEVB board.
>
> I think this is just a matter of changing the linker script for
the
> different memory map, presuming the timer used to generate the
tick on the
> 2106 part is also present on the 2138 part. There are demos for
both these
> processors albeit using different compilers, but looking into the
respective
> port.c files should quickly show up any differences.
>
> You may also want to change the header file that defines the
> register/peripheral locations if these are mapped differently
between the
> two parts.
>
> Regards,
> Richard.
>
> + http://www.FreeRTOS.org
> + http://www.SafeRTOS.com
> for Cortex-M3, ARM7, ARM9, HCS12, H8S, MSP430
> Microblaze, Coldfire, AVR, x86, 8051, PIC24 & dsPIC
> .... and soon AVR32
>
Ok thanks
now FreeRTOS is working on my board,
but my i2c code is not working for ISR can you have a demo code for ISR i2c
Regards
Jagdish

sashi ono wrote:
I actually did a quick port to the lpc2148, which is very close to the
lpc2138 and based off the lpc2106 port. it is in the
files/Freertos/lpc2148_freertos.zip
I stripped of all the demo stuff, which is not suitable for upload to
the Freertos site.

--- In l..., "FreeRTOS.org Info" wrote:
> ----- Original Message -----
> From: "jagdishlpc2138"
> To:
> Sent: Thursday, January 25, 2007 8:46 AM
> Subject: [lpc2000] lpc2106 to lpc2138 for freeRTOS
> >How Much change required for switching demo example from lpc2106 to
> >lpc2138?
>
> >i am using SignumEVB board.
>
> I think this is just a matter of changing the linker script for the
> different memory map, presuming the timer used to generate the tick
on the
> 2106 part is also present on the 2138 part. There are demos for
both these
> processors albeit using different compilers, but looking into the
respective
> port.c files should quickly show up any differences.
>
> You may also want to change the header file that defines the
> register/peripheral locations if these are mapped differently
between the
> two parts.
>
> Regards,
> Richard.
>
> + http://www.FreeRTOS.org
> + http://www.SafeRTOS.com
> for Cortex-M3, ARM7, ARM9, HCS12, H8S, MSP430
> Microblaze, Coldfire, AVR, x86, 8051, PIC24 & dsPIC
> .... and soon AVR32
>

---------------------------------
It's here! Your new message!
Get new email alerts with the free Yahoo! Toolbar.
> Ok thanks
> now FreeRTOS is working on my board,
> but my i2c code is not working for ISR can you have a demo code for
> ISR i2c
> Regards
> Jagdish
Take a look at the LPC2106 WizNET demo (included in the download). This
includes an I2C link to the WizNET chip.
Regards,
Richard.

+ http://www.FreeRTOS.org
+ http://www.SafeRTOS.com
for Cortex-M3, ARM7, ARM9, HCS12, H8S, MSP430
Microblaze, Coldfire, AVR, x86, 8051, PIC24 & dsPIC
.... and soon AVR32