I'm newbie in 31f chip, I want to build freedom bootloader for MKV31f256. I have use sample from https://www.nxp.com/support/developer-resources/software-development-tools/mcuxpresso-software-and-t... (Bootloader 2.0) and make some change for my MKV31F chip. But when compile it's fail. Anyone can help me to create and build this boot loader.
Thanks!
now I complete my project with bootloader, thanks all!
Please download the new KSDK for FREEDOM-KV31. It has build the freedom_bootloader for you. dqfanfeedback
I's don't include bootloader for MKV31F256
Hi Nguyen,
It seems you want to build freedom bootloader on MCUXpresso. Now there is no need to do it by yourself. Please download the new KSDK for FREEDOM-KV31. It has build the freedom_bootloader for you.
Regards,
Jing
I want to build by my self not download binary file.
Hi
If you want to build it yourself download the open source uTasker project from GITHUB and configure its serial loader [config.h] with
#define FRDM_KV31F
#define SERIAL_INTERFACE
#define KBOOT_LOADER
and build with KDS, MCUXpresso, Keil, IAR, Green Hills, CooCox, GCC make file, Rowley or simulate the KV31 in Visual Studio.
Regards
Mark
Thanks, but can you give me the link to download? I have download SDK 2.5 for MKV31F256xxx12, but seem it not include sample bootloader for this series.
Hi,
You should add this component when make your own sdk. Please see the screenshot.
Thanks a lot. But I can not select MCU boot. it's require USB stack and my MKV31F is not available.
Hi,
Please select MKV31F512 or FRDM-KV31F. They have mcu-boot.
Almost done, but I have error when change from KV31f512 to KV31f256. It's may be not enough memory or something like this.
Hi,
There is no need to change mkv31f512 to mkv31f256. Because they are only different in flash size.
Did you replace MKV31Fxxx_feature.h and MKV31Fxxx12.h?
yes, i did. I have change all file in folder MKV31F25612
There are some defined symbol need to be change in properties->C/C++build->Settings->preprocessor, like CPU_MKV31F512VLL12. Didi you modify them?
Or can you send me your project?
yes. I know I change all depend 512 to 256. I have update zip file. you can check it. It's successfully build. but seem some thing wrong. when I flash chip is secure.