HOW TO USE KBOOT v2

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

HOW TO USE KBOOT v2

938 Views
vdavi81_cefla
Contributor I

I'm developing a K22 microcontroller software. I need to have a bootloader, and i saw KBOOT version 2.00. I downloaded a copy on my pc, but I can't understand how to use it.

Somebody, Can give me some tips?

Where I can found a documentations  abaut it?

Are there, some kind of example, where it is possible to see I KBOOT works? 

0 Kudos
5 Replies

917 Views
ErichStyger
Senior Contributor V
0 Kudos

919 Views
vdavi81_cefla
Contributor I

I have another question.

I would like to have a one project for bootloader a one project for an application. At the end I like to merge both .axf file. bootloader.axf + application.axf. How Can I do that operations?

0 Kudos

915 Views
ErichStyger
Senior Contributor V

The normal approach for this is to create binary or S19 files and then merge them, for example as shown in https://mcuoneclipse.com/2016/02/26/merging-s19-files/

You don't need to merge the files if you want to debug it, see https://mcuoneclipse.com/2020/11/03/debugging-bootloader-and-application-with-one-debug-session/

If you *really* want to merge two applications (again, I don't think you need this), I wrote about this here:

https://mcuoneclipse.com/2018/01/27/converting-a-raw-binary-file-into-an-elf-dwarf-file-for-loading-...

 

I hope this helps,

Erich

0 Kudos

924 Views
vdavi81_cefla
Contributor I

I have already downloaded KBOOT v2. My question is how to use it? How to create new project to implements a bootloader? And at the end How to include bootloader in a project?

I saw the documentation, but I didn't find an example of bootloader implemented with KBOOT.

0 Kudos

932 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi vdavi81_cefla,

Please select MCU_Boot when build SDK. The documents can be found in ...\SDK_2_12_0_MK22FN512xxx12\docs\mcu-boot

Build SDK for MK22FN512xxx12.pngDownload SDK Archive including documentation.pngflashloader_loader mcu-boot docs.png


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos