Simulink® Coder™ Support Package for NXP™ FRDM-K64F Board enables you to create and run Simulink® models on an NXP FRDM-K64F board. The support package includes a library of Simulink blocks for configuring and accessing NXP FRDM-K64F peripherals and communication interfaces.
This support package is functional for R2016a and beyond.
If you have download or installation issues, please contact Technical Support: www.mathworks.com/contact_ts
I am experiencing some problems when setting up the support package, the last step, when doing the confirm I got this error:
unable to create Kinetis SDK platform library for FRDM-K64F board. You may not have write permissions to the folder:
could please help me with this issue
I am experiencing some issues regarding the serial communication. Anyone can help? I am just able to transmit data toward the computer but not receive
Is it possible to install this on Linux? 3 Years ago someone asked but still no support. What is blocking it? Any "hacks" to install it and use it without official support? Please I really need this
I removed line 116
.enableClockOutput = RTC_CLK_OUTPUT_ENABLE_CONFIG,
from board.c and then I was able to buld the sample.
This error pops ''There was a problem downloading the third-party software. To resolve this issue, contact Technical Support''
If you have issues during setup try to:
- uninstall the support package
- manually delete the folder in C:\ProgramData\MATLAB\SupportPackages\R2018a\toolbox\target\supportpackages
- go to folder C:\ProgramData\MATLAB and manually add the write permissions (I choose Everyone just to be sure)
- finally try ti install again the support package
Sorry for the double post, but I was able get it to install by placing the completed download at the following location:
@jak - Could you try logging in as administrator and also run MATLAB in admin mode.
having problems setting up the firmware for the k64 using SEGGER, i got the two validations however it gives an error on the last step to confirm. This is the Error:
Unable to create Kinetis SDK platform library for FRDM-K64F board. You may not have write permissions to the folder : C:\MATLAB\R2017a\toolbox\target\SUPPOR~1\FREEDO~1\src\KSDK_A~1\bm
The following error was thrown during library creation:
arm-none-eabi-gcc.exe: fatal error: no input files
gmake: *** [fsl_os_abstraction_bm.o] Error 1
Please help asap.
The 17b Version support package is out.
- SD Card logging
- TCP/ IP Send and Receive Blocks
- New Hardware Setup Screens
@bjk - You could use the below generic command to find the BuildConfigurationforFreescaleFRDMK64FDeployer.xml file.
Other than the method suggested above, you could also develop a K66F target using the steps mentioned in the below link.
@bjk - You can execute the below command on MATLAB Command Prompt to find theBuildConfigurationforFreescaleFRDMK64FDeployer.xml file.
You can edit the target specific things such as AssemblyFlags, CompileFlags, LinkFlags, Defines, IncludePaths, SourceFiles etc, to suit the support package to K66F board.
However, please note that you need to have a valid Embedded Coder license to be able to edit the above files. Also, editing the above files, to suit a different target, are not tested and hence you may have to solve any issues that may come up after the above changes.
Thank you for your answer. Do you have a tip for me, which files I need to modify?
The K66F board cannot be used directly with the 'Simulink Coder Support Package for NXP FRDM-K64F Board', as the support package is specifically made for FRDM-K64F board. However, if you have Embedded Coder Toolbox, you can modify a few files in the current support package (like updating the linker /compiler flags), to get it working on K66F board.
Can I use the FRDM-K66F board with this support package?
@ Marco - no it is not supported in Linux. Complete platform support is shown here:
Please feel free to let us know any details on the Linux use case - and we will consider for future.
does it work on linux?