Porting Linux to MCF52223

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Porting Linux to MCF52223

2,846 Views
senthil
Contributor I
Hello All,

I am using MCF52223 coldfire for my work.Now I want to port uC OS to it for some application. MCF52223 has only 256KB of flash memory. How can I connect an External flash of size about 2 MB to an MCF52223 processor?

If I am correct the processor doesnot have Address and data lines !

looking for all your innovations and help.

Regards
Senthil
Labels (1)
0 Kudos
Reply
6 Replies

852 Views
Nouchi
Senior Contributor II
Hi,


The MCF52223 works in single chip mode only, so µClinux is not suitable for it,
take a look to RTOS with small footprint (only few Kbytes) like µC OS, FreeRTOS.org, CMX, threadX....
If you want to use external flash to have extra data storage, you can use SPI driving a serial flash or even SD memory card in SPI mode.....
have a look to this
http://www.freescale.com/files/32bit/doc/brochure/BRCOLDFIRESUM.pdf
I can help you to make the best device choice.

Emmanuel,
0 Kudos
Reply

852 Views
senthil
Contributor I
Hi
Thanks for your reply.

"If you want to use external flash to have extra data storage, you can use SPI driving a serial flash or even SD memory card in SPI mode....."

No I want the External flash to bes used for loading uC linux.is it possible to do it using MCF52223?

senthil
0 Kudos
Reply

852 Views
Nouchi
Senior Contributor II
hello,

I don't think that µClinux can run with a minimum of services on this device due to its lack of RAM.


Emmanuel,
0 Kudos
Reply

852 Views
senthil
Contributor I
Hi,

If so, is it possible to use "Free RTOS" for my application?How much memory does it need if I am loading it on SDRAM (256 KB ) available in MCF52223?

Senthil
0 Kudos
Reply

852 Views
Nouchi
Senior Contributor II
I already use freeRTOS with a MCF5213 which have the same amount of RAM(32kb) and flash(256Kb).
freeRTOS need about 8K compiled with CodeWarrior with maximal size optimization, and few hundreds of byte for the kernel plus 384 bytes (minimum) per task; My current application is composed by ten tasks (display, keyboard, CAN, UART etc..) and I think that I can easily add 3 or 4 additional tasks without problem.
Have a look to http://www.freertos.org/, a coldfire port exist for GCC compiler, I did my own for CodeWarrior.

Emmanuel

Message Edited by BugMan on 2006-10-1211:19 AM

0 Kudos
Reply

852 Views
senthil
Contributor I
Thanks for all your replies..Now I got an idea...Incase if I get any doubt/problem I will come back.

Thanks Emmanuelhttp://forums.freescale.com/freescale/board/post?board.id=CFCOMM&message.reply_to_id=937#
Submit Post
0 Kudos
Reply