Where is the flash swap demo program

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

Where is the flash swap demo program

1,059 Views
barrypurtymun
Contributor II

Support,

I am trying to implement a bootloader for a K60 chip.  I am interested in using the flash swap feature.  It seems like everyone out there is just using the flash swap demo program that I still can't find.  Could you point me to this application?  I would really like to write it from scratch, but I can find things like "what register do I write the flash swap indicators to?....etc."  I know what addresses are appropriate, but the indicator address is passed to the flash swap demo "initialization" function, so I can't really tell where it is being written to.  

Thank you.

0 Kudos
2 Replies

438 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi Barry:

There is also one flash_swap demo shows how to use flash swap feature in KSDK.

SDK_2.2_MK60DN512xxx10\boards\twrk60d100m\driver_examples\flash\pflash_swap

I hope it helps.

Regards

Daniel

0 Kudos

438 Views
mjbcswitzerland
Specialist V

Hi Barry

See the following:
https://community.nxp.com/message/586326

There is a swap block based loader in the Open Source uTasker project (see links below), including Flash controller emulation so you can see how it works internally if you run it in Visual Studio.
The swap-driver can be found in the file kinetis_FLASH.h.

Regards

Mark


Kinetis: http://www.utasker.com/kinetis.html
Kinetis K22, K60, K61, K64, K66:
- http://www.utasker.com/kinetis/FRDM-K22F.html
- http://www.utasker.com/kinetis/TWR-K22F120M.html
- http://www.utasker.com/kinetis/BLAZE_K22.html
- http://www.utasker.com/kinetis/tinyK22.html
- http://www.utasker.com/kinetis/TWR-K60N512.html
- http://www.utasker.com/kinetis/TWR-K60D100M.html
- http://www.utasker.com/kinetis/TWR-K60F120M.html
- http://www.utasker.com/kinetis/ELZET80_NET-KBED.html
- http://www.utasker.com/kinetis/ELZET80_NET-K60.html
- http://www.utasker.com/kinetis/EMCRAFT_K61F150M.html
- http://www.utasker.com/kinetis/FRDM-K64F.html
- http://www.utasker.com/kinetis/TWR-K64F120M.html
- http://www.utasker.com/kinetis/TEENSY_3.5.html
- http://www.utasker.com/kinetis/Hexiwear-K64F.html
- http://www.utasker.com/kinetis/TWR-K65F180M.html
- http://www.utasker.com/kinetis/FRDM-K66F.html
- http://www.utasker.com/kinetis/TEENSY_3.6.html

Free Open Source solution: https://github.com/uTasker/uTasker-Kinetis
Working project in 15 minutes video: https://youtu.be/K8ScSgpgQ6M

For better, faster, cheaper product developments consider the uTasker developer's version, professional Kinetis support, one-on-one training and complete fast-track project solutions to set you apart from the herd : http://www.utasker.com/support.html

0 Kudos