NXP Kinetis Bootloader 2.0.0 with KDS code size question

cancel
Showing results for 
Search instead for 
Did you mean: 

NXP Kinetis Bootloader 2.0.0 with KDS code size question

619 Views
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 Replies

167 Views
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 Kudos

167 Views
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 Kudos