KL25 series can support ISP or IAP download?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

KL25 series can support ISP or IAP download?

ソリューションへジャンプ
1,582件の閲覧回数
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 解決策
1,197件の閲覧回数
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 返答(返信)
1,198件の閲覧回数
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 件の賞賛
返信
1,197件の閲覧回数
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 件の賞賛
返信
1,197件の閲覧回数
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 件の賞賛
返信