How to record the external flash and run on the internal

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

How to record the external flash and run on the internal

817 Views
danilolima
Contributor II

Hi .
I wonder how can I send a program for an external flash, then I submit this program to the internal flash , which will be executed. There are 3 steps , if you can help me in one of them have to be very good . The steps are : recording on the external flash , external flash for indoor and running on the internal flash .

0 Kudos
5 Replies

705 Views
mjbcswitzerland
Specialist V


Hi

The uTasker project contains this as standard for all Kinetis parts and using SPI Flash (Atmel AT45DBxx, Spansion S25FL1xx, SST25xx, ST Miro ST25xxx, Winbind W25Qxx parts), or NAND Flash or SD card or internal SWAP Block or free area in internal data flash).


The new image can also be encrypted and it ensures a fail-safe transfer to internal flash:
http://www.utasker.com/docs/uTasker/uTasker_BM_Loader.pdf

Regards

Mark

Kinetis for professionals: http://http://www.utasker.com/kinetis.html

0 Kudos

705 Views
danilolima
Contributor II

I intend to use only the Kinetis to my program , if you know something that can help me I will be very grateful.

0 Kudos

705 Views
mjbcswitzerland
Specialist V

Hi

For FRDM-K64F you can find all that you need to do this at:
http://www.utasker.com/kinetis/FRDM-K64F.html

Maybe you could consider the Swap block method (see at the bottom of the page for a binary that you can test with)

Regards

Mark

Kinetis for professionals: http://http://www.utasker.com/kinetis.html

0 Kudos

705 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Danilo,

Can you tell me the part number you are using? I do not know why you want to save binary code into external Flash hooked on FlexBus and load code from external flash to internal flash and run in internal flash. Generally, you can download code to internal flash directly and run in internal flash directly, you can connect external flash or RAM, but they are used to save data instead of code.

For your requirement, you can complie your code as a library and treat the library as a binary array, use application code to save the binary code to external flash via FlexBus.

As an alternative, I think you can download code to external flash directly, but it is dependent on the tools you are using.

Hope it can help you.

BR

XiangJun Rong

0 Kudos

705 Views
danilolima
Contributor II

Hi Xiangjun.rong.
Thanks for your interest . I'm using FRDM K64F , and wish write to the external and the internal run because future this external memory will store a type of bootloader where if necessary I copy this program and place it in the internal flash which will run.

0 Kudos