Bootloader in MQX 4.0

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

Bootloader in MQX 4.0

2,196 Views
mehdikarimibiuk
Contributor V

1- I need to know where is the Bootloader in MQX 4.0 RTOS?

How it is configured and what is its name?

2- What is the difference between BSP, PSP, and bootloader in MQX 4.0 RTOS? I keep hearing and reading about these, but, if someone can let me know how to cross line between each of these to be able to differentiate and better understand their need for MQX project.

I know these general information only: BSP is board support package configuring IOs between the board and the processor, and psp is processor support package (but is it configuring between the mqx software and the processor?), but what are each of these configuring exactly... Also about the Bootloader?

3- If I have a custom board, what are the files in BSP and PSP that I have to change? How about the Bootloader? Is there anything called Bootloader and do I have to edit it if I have a custom board?

5 Replies

743 Views
Luis_Garabo
NXP TechSupport
NXP TechSupport

The bootloader is a separated project. In the appnote AN4367 (http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4367.pdf) you'll find an example for a bootloader architecture. You can base in the AN2295 and modify for SPI. This appnote clarifies the changes in linker files and projects to be used with the bootloader, like MQX projects. Take a look to these appnotes. They are very good to understand the bootloader world.

You will also find interesting that Freescale is workin gin a Unified bootloader for kinetis families. This document will tell you more
http://cache.freescale.com/files/training/doc/dwf/DWF13_AMF_ENT_T1031_Ottawa.pdf

Regards,

Garabo

743 Views
williamely
Contributor IV

Garabo, do you know when this Unified bootloader will be released? Also, the link to the document is broken.

0 Kudos

743 Views
Luis_Garabo
NXP TechSupport
NXP TechSupport

Hi Ely,

We might see some news in Q2 this year.


Regards,
Garabo

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

743 Views
m4l490n
Contributor V

Garabo‌ where can I find this bootloader?

0 Kudos

743 Views
Luis_Garabo
NXP TechSupport
NXP TechSupport

Hi Mehdi,

You are using MQX for a kinetis I guess. The bootloader that is included with MQX is for the next families:

TWR-MPC5125 with NAND flash support

TWR-MCF54418 with NAND flash support

M5329EVB with NOR flash support

M53015EVB with NOR flash support

M54455EVB with NOR flash support

For more details take a look to the document in C:\Freescale\Freescale_MQX_4_0\mqx\examples\bootloader\MQXBLDUG.pdf

I don't believe this will be helpful for your kinetis project. We do not have official released serial bootloader for Kinetis K10 product. Here is a list of different bootloaders that we provide and can be used to implement it in K10 with just understanding the memory map and modifying linker files:

http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4655.pdf

http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4655SW.zip

http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4368.pdf

http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4368SW.zip

http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4370.pdf

http://www.freescale.com/webapp/sps/download/license.jsp?colCode=AN4370SW

http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4379.pdf

http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4379SW.zip

http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4367.pdf

http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4367SW.zip

http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4605.pdf

http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4605SW.zip

This appnote makes reference to K10 and might be the most useful for you:

http://cache.freescale.com/files/microcontrollers/doc/app_note/AN2295.pdf

http://cache.freescale.com/files/microcontrollers/doc/app_note/AN2295SW_Rev1.Zip

Best Regards,

Garabo

0 Kudos