NXP Kinetis Bootloader 2.0.0 with KDS code size question

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

NXP Kinetis Bootloader 2.0.0 with KDS code size question

1,264 次查看
kriske
Contributor II

I import the Bootloader 2.0.0 with MKL25Z4 bootloader.

Why are the Code size so big?

If it need 69kb flash size, it means that customer can't choose less than 128k flash MCU?

未命名.png

BTW, does have bootloader of KDS with processor expert version?

2 回复数

812 次查看
mjbcswitzerland
Specialist V

Hi

Trying enabling code size optimisation.

If max. application size is important there is also the uTasker KBOOT implementation that is compatible:

http://www.utasker.com/kinetis/FRDM-KL25Z.html

This allows KBOOT UART, KBOOT USB and also USB-MSD (all enabed together) to fit in about 19k when built with KDS (GCC). KBOOT UART compatibility requires around 8k if only UART is needed.

When built with IAR it is about 5..10% smaller.

Regards

Mark

0 项奖励
回复

812 次查看
kevinlfw
Contributor III

FWIW, I built the MKL25Z4 freedom_bootloader project in IAR EWARM, with all peripherals enabled, and I'm seeing the image size is less than 40k.  Disabling all peripherals but UART and I'm seeing an image size of about 19k.

0 项奖励
回复