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
Solved! Go to Solution.
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
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
Thanks Jorge for your detailed explanation...
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
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
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
Ohh, sorry, I misunderstood your question.
Yes, a bootloader would be the best option for firmware update.
Regards!
Jorge Gonzalez
Ok. Thanks Jorge. I am going ahead with Bootloader.