Porting MCUBOOT of FRDM-K66F to own K66F Board

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

Porting MCUBOOT of FRDM-K66F to own K66F Board

913 次查看
rott
Contributor I

Anybody used the example code from the FRDM-K66F "freedom bootloader" to run the bootloader MCUBOOT on a own design K66F board?

I've tried the example "freedom bootloader" on my FRDM-K66F board with getting a connection via USB terminal and blhost software. Seems to work fine until I flash the example "led_demo_freedom_a000". After writing this application into the µC, the bootloader can not be reached anymore. Boot switch does not help.

If I try to port the bootloader to my own PCB with TQFP version - yes, i've changed the package in the project, boot pin as well - i get no access to the bootloader. Same USB1 as the frdm-k66f board and for other usb examples my board works perfectly fine.

Any idea???

Hardware

PC: Win10 or Ubuntu 18.04

Board: FRDM-K66F (K20 processor bricked - programming via SEGGER JLINK Plus on J9)

Own Board: LQFP version K66F MK66FN2M0VLQ18 - USB1 used for Bootloader - reference design of FRDM-K66F used

MCUXpresso 11.1.1

SDK 2.7

标签 (1)
2 回复数

811 次查看
mjbcswitzerland
Specialist V

Hi Philipp

See https://www.utasker.com/kinetis/FRDM-K66F.html
You can get open source code at the uTasker project on Git Hub that is already ported to all processors and can be simply configured for custom boards (FS or HS USB interfaces) to allow MCUBOOT operation. It give much smaller code that the SDK examples and can be used together with USB-MSD or various other loading techniques, plus the operation is simulated (on simulated Kinetis part) in Visual Studio.
For professional needs there is a supported version (adding AES256 encrypted protection to all modes, including MCUBOOT) where custom configuration is done for you too. Same is true for i.MX RT parts, where the same code can be used across Kinetis and i.MX RT projects.

See https://www.utasker.com/docs/uTasker/uTaskerSerialLoader.pdf and its appendix for details about ensuring application compatibility with the loaders.

Regards

Mark
[uTasker project developer for Kinetis and i.MX RT]

811 次查看
rott
Contributor I

Hi Mark,

thanks for your hint! I had a look on uTasker some years ago when the K60 cube came out... will try to get it running. Also your youtube video description was helpfull.

Thanks!

Philipp

0 项奖励
回复