i.MX RT1050 Custom Board Use OpenSDA Bootloader

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

i.MX RT1050 Custom Board Use OpenSDA Bootloader

ソリューションへジャンプ
1,682件の閲覧回数
haryanl
Contributor IV

Hi everyone,

i am making custom board based on RT1050-EVK
I also want to use OpenSDA IC MK20DX128VFM5
1.Bootloader already loaded? Or does the user have to download it on the first use?

2.If the user has to download it, how to do it? 
Is it through JTAG connector J34

haryanl_0-1622624350259.png

Looking forward to help

Thanks & BestRegards,

haryanl

ラベル(2)
タグ(1)
0 件の賞賛
1 解決策
1,666件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @haryanl 

   

2."If it is your own new K20 chip, yes, you need to use the external debugger to download the bl code to the K20 through the SWD interface, you are right, it is the J34, it is the K20 debugger interface."

-> Can I download Bootloader through LPC-Link2+MCUXpresso? Is there any guide for this?

In case of complexity, I would consider using an external debbuger

Answer: To the K20 bootloader downloading, you even don't need the MCUXPresso, just LPC-LINK2 is enough, LPC-LINK2 firmware with the Segger JLINK firmware, then use the JLINK commander: loaderfile xxx.bin addr, this is OK.

In fact, it is not the complexity issues, it is you don't need the debugger on the board if you design the customer board for the detail RT project, as you know, after the code is downloaded to the RT+QSPI flash, you don't need the debugger anymore for the production. So, you don't need to add debugger for each RT board. Debugger mainly used in the software design phase, you totally can use the external debugger.

 

Wish it helps you!

Best Regards,

Kerry

元の投稿で解決策を見る

0 件の賞賛
4 返答(返信)
1,670件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @haryanl 

  Thank you for your interest in the NXP MIMXRT product, I would like to provide service for you.

Answer your questions:

1.Bootloader already loaded? Or does the user have to download it on the first use?

Answer: To the NXP MIMXRT1050-EVKB board, the on board MK20DX128VFM5 is firmware with the bootloader.

But if you are using the new MK20DX128VFM5 chip, you need to download the firmware by yourself.

The firmware can be found here:

https://www.nxp.com/design/software/development-software/sensor-toolbox-sensor-development-ecosystem...

https://www.nxp.com/downloads/en/initialization-boot-device-driver-code-generation/k20dx_bl_crc.bin

 

2.If the user has to download it, how to do it? 
Is it through JTAG connector J34

Answer: If it is your own new K20 chip, yes, you need to use the external debugger to download the bl code to the K20 through the SWD interface, you are right, it is the J24, it is the K20 debugger interface.

BTW, if you just want to design the customer board, you totally don't need to add the on board debugger, you can use the external debugger, eg, MCU-LINK, LPC-linker 2, Segger JLINK, P&E Multilink, etc.

Wish it helps you!

If you still have questions about it, please kindly let me know.

Best Regards,

kerry

  

0 件の賞賛
1,669件の閲覧回数
haryanl
Contributor IV

Hi Kerry

Thank for your answer

1. I got it

2."If it is your own new K20 chip, yes, you need to use the external debugger to download the bl code to the K20 through the SWD interface, you are right, it is the J34, it is the K20 debugger interface."

-> Can I download Bootloader through LPC-Link2+MCUXpresso? Is there any guide for this?

In case of complexity, I would consider using an external debbuger

 

Thanks & BestRegards,

Haryanl

 

 

0 件の賞賛
1,667件の閲覧回数
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @haryanl 

   

2."If it is your own new K20 chip, yes, you need to use the external debugger to download the bl code to the K20 through the SWD interface, you are right, it is the J34, it is the K20 debugger interface."

-> Can I download Bootloader through LPC-Link2+MCUXpresso? Is there any guide for this?

In case of complexity, I would consider using an external debbuger

Answer: To the K20 bootloader downloading, you even don't need the MCUXPresso, just LPC-LINK2 is enough, LPC-LINK2 firmware with the Segger JLINK firmware, then use the JLINK commander: loaderfile xxx.bin addr, this is OK.

In fact, it is not the complexity issues, it is you don't need the debugger on the board if you design the customer board for the detail RT project, as you know, after the code is downloaded to the RT+QSPI flash, you don't need the debugger anymore for the production. So, you don't need to add debugger for each RT board. Debugger mainly used in the software design phase, you totally can use the external debugger.

 

Wish it helps you!

Best Regards,

Kerry

0 件の賞賛
1,664件の閲覧回数
haryanl
Contributor IV

Hi Kerry

Thank for you support

Yes, i got it

Thanks & Best Regards,

Haryanl

0 件の賞賛