KL25 series can support ISP or IAP download?

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

KL25 series can support ISP or IAP download?

跳至解决方案
916 次查看
liuliaoyuan
Contributor I


I know the KL25 series support SWD Debug but I can't make sure if it support ISP or IAP download.

标签 (1)
标记 (1)
0 项奖励
1 解答
531 次查看
kai_liu
Senior Contributor I

Obviously, you have to develop ISP/IAP according to FSL's application note for bootloader. So far you can find following reference designs from FSL.

  • UART based serial bootloader (AN2295), as regular serial device
  • USB MSD host bootloader (AN4368), as USB host, you can put firmware on USB stick,
  • USB DFU device bootloader (AN4370), as Device Firmware Upgrade class, however you must implement other classes such as HID/CDC with DFU, which I personally verified it on KL25Z, and it works.
  • USB MSD device bootloader (AN4379), as USB stick, you can copy firmware to emulated USB stick.
  • USB MSD device/host secure bootloader (AN4605)

The bootloader takes some user code space. Furthermore, user code has move its ISR to RAM. I prefer FSL can follows NXP's implementation, which has on board ISP, and it is separated from user space.

在原帖中查看解决方案

0 项奖励
3 回复数
532 次查看
kai_liu
Senior Contributor I

Obviously, you have to develop ISP/IAP according to FSL's application note for bootloader. So far you can find following reference designs from FSL.

  • UART based serial bootloader (AN2295), as regular serial device
  • USB MSD host bootloader (AN4368), as USB host, you can put firmware on USB stick,
  • USB DFU device bootloader (AN4370), as Device Firmware Upgrade class, however you must implement other classes such as HID/CDC with DFU, which I personally verified it on KL25Z, and it works.
  • USB MSD device bootloader (AN4379), as USB stick, you can copy firmware to emulated USB stick.
  • USB MSD device/host secure bootloader (AN4605)

The bootloader takes some user code space. Furthermore, user code has move its ISR to RAM. I prefer FSL can follows NXP's implementation, which has on board ISP, and it is separated from user space.

0 项奖励
531 次查看
adamb
Contributor I

Hi Kai Liu,

Can you give me some tips how to run USB bootloader on KL25z? You wrote that you have ported AN4370 application note. Maybe can you share your project?

Adam

0 项奖励
531 次查看
kai_liu
Senior Contributor I

Just FYI,

I am still stuck on serial bootloader now, I put USB MSD bootloader after that. So I can not offer anything at this moment. Sorry.

0 项奖励