Hi all,
I'm looking for some code example to upload firmware to the K60 (through web preferably) and update the active flash image with this new image using swap feature. I use IAR with MQX.
I looked through the example AN4533, but this is not enough for me. I'm a bit new to Freescale programming, so any help will appreciated.
Thanks in advance.
已解决! 转到解答。
Hi,
Some suggestions...
There is a great thread here on how firmware update bootloader using flash swap can be added to MQX 4.0.
Using flashx io_ioctl FLASH_IOCTL_SWAP_FLASH_AND_RESET for bootloader
There is an ethernet bootloader example available within MQX at /mqx/examples/bootloader/. It uses TFTP to transfer a new firmware image over a network to program in memory.
Should be able to piece together elements to implement an ethernet bootloader that uses the swapable flash blocks.
hope that helps.
Mac
Hi,
Some suggestions...
There is a great thread here on how firmware update bootloader using flash swap can be added to MQX 4.0.
Using flashx io_ioctl FLASH_IOCTL_SWAP_FLASH_AND_RESET for bootloader
There is an ethernet bootloader example available within MQX at /mqx/examples/bootloader/. It uses TFTP to transfer a new firmware image over a network to program in memory.
Should be able to piece together elements to implement an ethernet bootloader that uses the swapable flash blocks.
hope that helps.
Mac