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?
I wrote a tutorial here:
and that one might be of interest too:
https://mcuoneclipse.com/2018/03/05/tutorial-crc32-checksum-with-the-kboot-bootloader/
I hope this helps,
Erich
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?
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:
I hope this helps,
Erich
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.
Hi vdavi81_cefla,
Please select MCU_Boot when build SDK. The documents can be found in ...\SDK_2_12_0_MK22FN512xxx12\docs\mcu-boot
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.
-------------------------------------------------------------------------------