Hi Marco Aurelio P.Coelho,
I have tried the KL25 KDS project on my side, and it works ok with FRDM-KL26, I have attached the KDS KBOOT2.0 flash bootloader project for your reference.
Please follow my following step try it on your side again:
1. open bootloader_config.h
Add code :
#define BL_TARGET_FLASH 1

I find the KDS IDE already add this define int he IDE options, but from the code, it seems not defined, you please add the code define like me.
After you add the code, and build the code, you can find the relocate address is BL_APP_VECTOR_TABLE_ADDRESS in vector_table_info.h.

This is very important, it will relocate the APP to address 0X8000, take care, not 0XA000, your 0XA000 is the K22 flash bootloader code.
2. Undefine the other peripheral: I2C, SPI, USB_HID, USB_MSC, just to minimize the code size.
Still the bootloader_config.h:

3. build the code in release mode, it will save the code size.
Take care, the bootloader code size can't exceed 0X8000, because 0X8000 already the app address.

After build, you can find the code size in console:

0X496C is not exceed 0X8000, so it can be used.
4. Download it to your FRDM-KL26 chip.
5. Actually, still like the process in my first reply for IAR project.


Please try again.
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------