I am using a FRDM-K22F for a school project. The instructor is adamant that we do not use processor expert. I am not very familiar with KSDK and am having issues importing APIs for flash memory programming.
I created to processor expert project to test the APIs but have no idea how to get them into my baremetal project that isn't PE. I have browsed around for more information but nothing has really seemed to help.
Hi Alex
Just get the uTasker open source project from https://github.com/uTasker/uTasker-Kinetis
which allows building projects for your board with any IDE.
Its Flash API is described in chapter 6 of http://www.utasker.com/docs/uTasker/uTaskerFileSystem_3.PDF
and you can run the project in Visual Studio and emulate the Flash operations for learning purposes.
If you need to change to any other part later you just define the alternative board/part used and the complete project adapts itself automatically so you won't need to go through porting to different processors or exchanging the flash drivers etc.
Leave the old fashion techniques to the others in your class and show them how to do it efficiently instead ;-)
Regards
Mark
Kinetis: http://www.utasker.com/kinetis.html
Kinetis K22:
- 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
Virtual memory mapping of flex data and serial devices video:
- https://youtu.be/Pe9A8qsefzQ
Hi Alex Colpitts
I would not recommend to take processor expert code and put it into a baremetal project, it would be difficult to find all the APIs and drivers that are managed by Processor Expert. It would get more complicated if you are using processor expert with KSDK1.3.
My recommendation is to check MCUXpresso SDK 2.x drivers, those drivers have fewer layers and can be easily used as a reference for a Baremetal project.
Welcome | MCUXpresso SDK Builder
Hope this could help
Best regards
Jorge Alcala