is it possible to run code from nand flash in kinetis k70?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

is it possible to run code from nand flash in kinetis k70?

1,434件の閲覧回数
RuiFaria
Contributor III

Hi,

I am using Kinetis K70, MQX 4.0.2 and Codewarrior 10.5 and i want to run my code from a external flash like nand flash, Is it possible?

Thanks,

Rui Faria

ラベル(1)
0 件の賞賛
返信
3 返答(返信)

1,020件の閲覧回数
mjbcswitzerland
Specialist V

Hi

NAND Flash is serial Flash and so can not be addresses linearly by the processor (it needs a SW layer between it to map its memory blocks and manage bad blocks etc.).

Code in NAND Flash is normally loaded to the processor's RAM and executed from there.

It is possible to run program from external parallel Flash or (SD)RAM connected to the FlexBus. Typically to run large code the code is copied from NAND Flash to SDRAM and executed there.

Regards

Mark

0 件の賞賛
返信

1,020件の閲覧回数
RuiFaria
Contributor III

Hi Mark,

I am using a DDR2 Ram. Do you have some examples for my first start?

Thanks,

Rui

0 件の賞賛
返信

1,020件の閲覧回数
mjbcswitzerland
Specialist V

Hi

I have NAND and SDRAM code but this is not used in the context that you would like it for. There is also Freescale reference code for configuring these devices.

Possibly the best for you would be to check out emCraft's U-boot for Linux for the K70 - http://www.emcraft.com/

since that is effectvely doing what you want. I think all code is available there.

Regards

Mark

0 件の賞賛
返信