Flash memory Swap Feature for K10

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

Flash memory Swap Feature for K10

Jump to solution
1,263 Views
renjithvamanan
Contributor III

Hi,

This is my first question :smileyhappy:

Does MK10DX128VLH7 part of Kinetis series support flash memory swap feature for firmware update?

I went through the family ref manual, but couldn't find the support,.Still just wanted to confirm once....

Regards,

Renjith

Labels (1)
0 Kudos
1 Solution
738 Views
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello Renjith:

The MK10DX128VLH7 does not support swap feature.

:smileyinfo: The condition for a Kinetis K device to support swap feature, is to have *at least* 2 program flash (P-Flash) memory blocks, disregarding of Flex Memory.

Here are some examples:

:smileycheck: MK60DN512 <- 2 x 256 KB p-flash blocks. Supports swap.

:smileycheck: MK60FX512 <- 2 x 256 KB p-flash blocks. Supports swap and has Flex memory.

:smileycheck: MK60FN1M0 <- 4 x 256 KB p-flash blocks. Supports swap.

:smileyx: MK60DX256 <- 1 x 256 KB p-flash block. No swap support.

I hope this clarifies your doubt.

Regards!

Jorge Gonzalez

View solution in original post

0 Kudos
7 Replies
739 Views
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello Renjith:

The MK10DX128VLH7 does not support swap feature.

:smileyinfo: The condition for a Kinetis K device to support swap feature, is to have *at least* 2 program flash (P-Flash) memory blocks, disregarding of Flex Memory.

Here are some examples:

:smileycheck: MK60DN512 <- 2 x 256 KB p-flash blocks. Supports swap.

:smileycheck: MK60FX512 <- 2 x 256 KB p-flash blocks. Supports swap and has Flex memory.

:smileycheck: MK60FN1M0 <- 4 x 256 KB p-flash blocks. Supports swap.

:smileyx: MK60DX256 <- 1 x 256 KB p-flash block. No swap support.

I hope this clarifies your doubt.

Regards!

Jorge Gonzalez

0 Kudos
739 Views
renjithvamanan
Contributor III

Thanks Jorge for your detailed explanation...

0 Kudos
739 Views
renjithvamanan
Contributor III

Hi,

I have one more question related to this.

So what would be the best option for the firmware update of MK10DX128VLH7.

A boot loader based approach as mentioned in AN2295-Developer’s Serial Bootloader or AN4370-DFU-Bootloader?

Thanks,

Renjith

0 Kudos
739 Views
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello:

Not really sure, but I think it depends on your needs. USB is a more robust protocol and as such it will take more space from your device memory. Also many of the latest PC/laptops do not have a serial port anymore, that is why there are more USB bootloaders nowadays.

Regards!

Jorge Gonzalez

0 Kudos
739 Views
renjithvamanan
Contributor III

Hello Jorge,

Thanks for the reply.

Sorry that my question was not to select the method of boot loader to choose.

I wanted to confirm that if swap feature is not available, Is there any other option in MK10DX series than writing a normal boot loader based internal flash update?

Thanks,

Renjith

0 Kudos
739 Views
Jorge_Gonzalez
NXP Employee
NXP Employee

Ohh, sorry, I misunderstood your question.

Yes, a bootloader would be the best option for firmware update.

Regards!

Jorge Gonzalez

0 Kudos
739 Views
renjithvamanan
Contributor III

Ok. Thanks Jorge. I am going ahead with Bootloader.

0 Kudos