Hi ,
Is there any default boot loaders for kinetis MCU's ? I saw a lot of other boot loaders based on serial ,ether net ,USB etc.
If we are not including any boot loader and we just build and flash the code to MCU. How does it start executing? Is there any boot loader present? If yes which is that ? k52
Hi,
Customer could check below link, Freescale provides Kinetis Bootloader software:
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=KBOOT
As you also mentioned, there also includes many application notes about Kinetis bootloader application.
It need to use Kinetis programming tool to program software image to Kinetis internal Flash, such as Segger J-Link, P&E USB Multilink Universal and etc..
After image be programmed, the application will run after Kinetis boot up.
After the Kinetis boot run, the core will load instruction/code from Flash fixed address.
You could find Kinetis software includes vector table located in Flash, the Flash address 0x0000_0004 is Initial Program Counter, which guide core where to load instruction/code from.
The Kinetis compiler will auto compile code entry address to 0x0000_0004 Flash address.
Wish it helps.
best regards
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------