How to program Internal flash from external memory

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

How to program Internal flash from external memory

642件の閲覧回数
jeffthompson
Contributor V

I want to upgrade my application in the MCU's internal flash from external memory accessed via SPI. Is there any example code showing this being done?

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

551件の閲覧回数
jeffthompson
Contributor V

I should have added that I'm using KDS 3.0.0 and KDS SDK 1.2.0.

0 件の賞賛
返信

551件の閲覧回数
mjbcswitzerland
Specialist V

Hi Jeff

See the following for updating application code from external SPI flash to internal Flash on any Kinetis part, with optional encryption/decryption for code protection:

http://www.utasker.com/docs/uTasker/uTasker_BM_Loader.pdf

Videos:
https://www.youtube.com/watch?v=Pe9A8qsefzQ&t=101s
https://www.youtube.com/watch?v=lm3M-ZlaFLQ&t=575s

Code for most Kinetis boards and parts (supporting Atmel AT45D, Macronix MX25L, Spansion S25FL1, SST, ST-Micro ST25PE, Winbond W25Q SPI flash devices) is available in the open source uTasker project on GITHUB (use the uTasker Bare-minimum loader target), including simulation of the internal/external Flash devices and updating process.

It includes a KDS project. If you prefer to use SDK interfaces instead this is possible by replacing the HAL interfaces (description of routines in the first document) but will lose all simulation capability.

Regards

Mark


For professional requirements the supported uTasker version is available with customer HW configuration to ensure immediate operation and no project risks.

0 件の賞賛
返信