RT1015 USB1 Download and LPUART1 Download

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

RT1015 USB1 Download and LPUART1 Download

跳至解决方案
1,294 次查看
kensu
Contributor V

Hi,

I am using RT1015 EVK, I found two condition.

Condition 1:

If I connect USB1(J9) and set the switch to download mode, after power on LPUART1(J41) cannot upgrade.

Condition 2:

If I don't connect USB1(J9) and set the switch to download mode, after power on LPUART1(J41) can upgrade.

I guess RT1015 download mode will check if USB is detect or not, if detect USB, RT1015 will enable USB download only?

Is my understanding correct?

PS: I check with MCUBootUtility tool.

pastedImage_1.png

Regards

Ken

标签 (1)
标记 (3)
1 解答
1,240 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Ken Su,

  Thanks for your updated information.

   Your thought is totally correct.

   After POR or reset, the chip will detect the UART or the HID, which is detected, then the related interface is active.

   Your situation is the HID is detected at first, then the flashloader thinks you already select the HID as the download interface, the UART interface will be not selected.

   In fact, I also do this test:

  1. Not connect the HID at first, just connect the UART and power on the board

  2. Send any data to the UART, don't need to connect it, then the flashloader will select the UART interface, even you choose the HID again without the reset or POR, connect the HID cable, your PID and VID will not be detected.

   So, you are right, which interface is first detect and give response, then select which one as the download interface.

Wish it helps you!

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

Best Regards,

Kerry

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
------------------------------------------------------------------------------

在原帖中查看解决方案

3 回复数
1,240 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Ken Su,

  I tried USB1(J9) and set the switch to download mode, after power on LPUART1(J41), I can connect to the MIMXRT1015-EVK board.

pastedImage_1.png

If you have issues, you can plug the J41 at first, then plug the J9, set the serial download mode, and press the reset button, and try it again, do you still have issues?

After you connect the J9, you can find the VID and PID is detected, then you can USB HID to connect and download the code.

Wish it helps you!

Best Regards,

Kerry

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
------------------------------------------------------------------------------

0 项奖励
回复
1,240 次查看
kensu
Contributor V

Hi Kerry

Thanks for reply,

Actually, I don't have issue for this.

I just want to confirm my understanding is correct or not.

With my evaluation,

"If USB is connected with PC" and set to download mode, after power reset,

RT1015 will enable USB download mode only, the UART download mode will be not available".

Regards

Ken

0 项奖励
回复
1,241 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Ken Su,

  Thanks for your updated information.

   Your thought is totally correct.

   After POR or reset, the chip will detect the UART or the HID, which is detected, then the related interface is active.

   Your situation is the HID is detected at first, then the flashloader thinks you already select the HID as the download interface, the UART interface will be not selected.

   In fact, I also do this test:

  1. Not connect the HID at first, just connect the UART and power on the board

  2. Send any data to the UART, don't need to connect it, then the flashloader will select the UART interface, even you choose the HID again without the reset or POR, connect the HID cable, your PID and VID will not be detected.

   So, you are right, which interface is first detect and give response, then select which one as the download interface.

Wish it helps you!

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

Best Regards,

Kerry

 

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

 

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
------------------------------------------------------------------------------