EmbeddedRelated.com
Forums

Elm-chan LPC23xx example compile for LPC2468

Started by "Harshad (Madhav)" December 8, 2012
Hello,

I have Elm-chan Sample code for LPC23xx Download Link :
http://elm-chan.org/fsw/ff/ffsample.zip

I want to convert this project for LPC2468. From where can I find
LPC2468.ld file ? What other settings do I need to set for LPC2468?


An Engineer's Guide to the LPC2100 Series

I would suggest starting with the LPC23xx example, which targets the LPC2388. Which is in many ways similar to the LPC2468.
You might need to change the memory sizes, just use the one supplied and modify it.
Some pin settings might need to be changed as well, because you will probably not use the same dev-board the example used.

Apart from that it will most likely work as is.

--
Kevin

--- In l..., "Harshad (Madhav)" wrote:
>
> Hello,
>
> I have Elm-chan Sample code for LPC23xx Download Link :
> http://elm-chan.org/fsw/ff/ffsample.zip
>
> I want to convert this project for LPC2468. From where can I find
> LPC2468.ld file ? What other settings do I need to set for LPC2468?
>
>

>
> I want to convert this project for LPC2468. From where can I find
> LPC2468.ld file ? What other settings do I need to set for LPC2468?

Hellow Harshad. I am working with LPC2478/LPC2478 and LPC1768, so I put
some sources that connected to LPC24xx 23xx in my project

I want advice you to download CMAKE and use autogeneration by runnig
CMAKE with -DMCU=LPC2468 option -- this will automatically generate some
config files and LD script.

Also I took the latest ChaN FAT FS sources in my project with
Documentation on Three Languages (English Japan and Russian)

Also I want you to pay attention on
CMSIS\Device\NXP\Drivers\Examples\FAT32_ChaN_MThomas directory with
ported Mthomas USB HOST example It works on LPC2468 and LPC1766 MCUs
with USB host mode.
I had no chance to test will it work with SD card put I suppose any way
it will help you.

It will be good if you will use it and may be give me some information
about something wrong (find bug or just test it)



@ Kevin,

Thank you

--- In l..., "Kevin" wrote:
>
> I would suggest starting with the LPC23xx example, which targets the LPC2388. Which is in many ways similar to the LPC2468.
> You might need to change the memory sizes, just use the one supplied and modify it.
> Some pin settings might need to be changed as well, because you will probably not use the same dev-board the example used.
>
> Apart from that it will most likely work as is.
>
> --
> Kevin
>
> --- In l..., "Harshad (Madhav)" wrote:
> >
> > Hello,
> >
> > I have Elm-chan Sample code for LPC23xx Download Link :
> > http://elm-chan.org/fsw/ff/ffsample.zip
> >
> > I want to convert this project for LPC2468. From where can I find
> > LPC2468.ld file ? What other settings do I need to set for LPC2468?
> >
> >
> >
>

Hi Irtosadmin,

Thanks for help. I will download CMSIS and will try to make a sample code based on LPC2468.

Thanks again.

--- In l..., "irptos" wrote:
> >
> > I want to convert this project for LPC2468. From where can I find
> > LPC2468.ld file ? What other settings do I need to set for LPC2468?
> >
> > Hellow Harshad. I am working with LPC2478/LPC2478 and LPC1768, so I put
> some sources that connected to LPC24xx 23xx in my project
>
> I want advice you to download CMAKE and use autogeneration by runnig
> CMAKE with -DMCU=LPC2468 option -- this will automatically generate some
> config files and LD script.
>
> Also I took the latest ChaN FAT FS sources in my project with
> Documentation on Three Languages (English Japan and Russian)
>
> Also I want you to pay attention on
> CMSIS\Device\NXP\Drivers\Examples\FAT32_ChaN_MThomas directory with
> ported Mthomas USB HOST example It works on LPC2468 and LPC1766 MCUs
> with USB host mode.
> I had no chance to test will it work with SD card put I suppose any way
> it will help you.
>
> It will be good if you will use it and may be give me some information
> about something wrong (find bug or just test it)
>
>
>