Remotely Upgrading Firmware?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Remotely Upgrading Firmware?

1,171 次查看
TravisHidlay
Contributor III

I have a general question about whether or not it's possible to remotely install brand new firmware on a Kinetis micro.

 

The processor would be programmed for use in a product before shipping, but I'd like to be able to add the possibility of remotely reprogramming it over a network, using just the kinetis as the processor.

 

Any ideas on how this could be accomplished in the K60?  I noticed a section on page 104 of the K60P144 Reference Manual that mentions a feature for swapping the starting address of the program flash blocks between block 0 and block 1.  Would it be possible to store a new binary to block 1 or 0 and switch the starting address, then reboot into the new firmware?

 

 

0 项奖励
2 回复数

712 次查看
mjbcswitzerland
Specialist V

Hi

 

See the following: http://www.utasker.com/docs/uTasker/uTaskerBoot_003.PDF

 

This works also on the Kinetis and allows Ethernet (including encrypted) firmware uploading via Ethernet (typically FTP or HTTP from a web browser).

 

It involves installing a boot loader (varying in size from about 2k to about 20k if a standalone web server based loader is required.

 

If local firmware uploads are required also serial and USB can be used - see http://www.youtube.com/watch?v=H4TYM9jY2-g

 

I don't think that there are any advantages of switching Flash blocks as part of the loader sequence.

 

Regards

 

Mark

 

0 项奖励

712 次查看
TravisHidlay
Contributor III

Thanks Mark, I'll take a look at this.

0 项奖励