Can I share bootloaders between MCUs?

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

Can I share bootloaders between MCUs?

938 Views
derekcook
Senior Contributor I

Hello, 

Is it possible to use a bootloader developed for the KV31 with the KV56?

0 Kudos
5 Replies

896 Views
derekcook
Senior Contributor I

I see RAM is at 0x0000 to 0x10000. Is this fixed? If so I guess my bootloader must be from 0x10000000 to 0x1000a000 and my application can start at 0x1000a000

derekcook_0-1655322896756.png

 

0 Kudos

858 Views
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @derekcook!

 

You are correct. The RAM address is fixed, but the code address starts at 0x1000_0000. Table 5-1 of the datasheet shows the Memory Map:

EdwinHz_0-1655742801339.png

 

BR,

Edwin.

 

0 Kudos

897 Views
derekcook
Senior Contributor I

I am following this document to port the KV58F220M bootloader to the KV56. https://www.nxp.com/docs/en/reference-manual/MCUBOOTRM.pdf

With the KV31 we had our bootloader load to flash at 0xA000. We can still load to the same flash location with KV56? I noticed the default location was 0x1000a000.

0 Kudos

898 Views
derekcook
Senior Contributor I

It looks like there is not a MCUBOOT specifically for the MKV56F512xxx24. However, there is a bootloader for the KV58F220M. I assume that's because this same bootloader works with the MKV56?

0 Kudos

905 Views
EdwinHz
NXP TechSupport
NXP TechSupport

Hi @derekcook 

I’m afraid this isn’t possible.

Even though they are both MCUs from the same series, the differences between these two MCUs wouldn’t allow them to share bootloaders.

 

BR,

Edwin.

0 Kudos