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?
I should have added that I'm using KDS 3.0.0 and KDS SDK 1.2.0.
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.