Attached is a document that explains how to use Kinetis Design Studio to debug both a bootloader and application at the same time, this will be done using GDB commands to specify an additional symbol file to be used in the debug session.
The bootloader used for this example is the project for the FRDM-K64F board provided in the KBOOT 1.2.0 named freedom_bootloader and the application is a bareboard led demo that was adapted to work with this bootloader by following the steps described in this document:
The document was created using the MK64FN1M0VLL12 MCU like the one in the FRDM-K64F board, but the same principles are applicable to any Kinetis MCU.
The steps described in this document are valid for the following versions of the software tools:
- KDS v3.2.0
- KBOOT v1.2.0
1. Overview and concepts.
1.1 Kinetis Bootloader.
1.2 GDB Server.
2. Flashing Bootloader and Application.
2.1 Flashing freedom_bootloader project.
2.2 Loading demo application using the Kinetis Updater.
2.3 Flashing demo application and bootloader using the P&E advanced programming options.
3. Debugging Bootloader and Application.
3.1 Debugging bootloader and demo application projects using the P&E interface.
3.2 Debugging bootloader and demo application projects using the Segger interface.
Appendix A - References.
I hope you can benefit from this post, if you have questions please let me know.
Original Attachment has been moved to: K64F12_Led_Demo.zip