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
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
Hi Mark,
I am using a DDR2 Ram. Do you have some examples for my first start?
Thanks,
Rui
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