2410959_en-US

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

2410959_en-US

2410959_en-US

The MCUXpresso Secure Provisioning Tool cannot connect to the target board via USB.

Hi NXP,

I have a question:

Development board: MIMXRT1170-EVKB, unable to connect using MCUXpresso Secure Provisioning Tool, as shown in the image:

hayden178_0-1788428456159.pnghayden178_0-1788428456159.pnghayden178_0-1788428456159.pnghayden178_0-1788428456159.pnghayden178_0-1788428456159.pnghayden178_0-1788428456159.png

The computer's Device Manager displays the following:

hayden178_1-1788428566738.pnghayden178_1-1788428566738.pnghayden178_1-1788428566738.pnghayden178_1-1788428566738.pnghayden178_1-1788428566738.pnghayden178_1-1788428566738.png

The development board's DIP switches are shown in the figure:

hayden178_2-1788428637373.pnghayden178_2-1788428637373.pnghayden178_2-1788428637373.pnghayden178_2-1788428637373.pnghayden178_2-1788428637373.pnghayden178_2-1788428637373.png


I've downloaded and debugged the program using an IDE without any issues. How can I troubleshoot this? Thank you.


Re: MCUXpresso Secure Provisioning Tool无法通过USB连接目标板

Hi @hayden178 ,

Thank you for your question!

I checked the DIP switch configuration and power options you provided, and there are no issues. USB OTG1 was also selected without any problems.

Therefore, it's suspected that some anomaly might be preventing the flashloader from loading data into SRAM promptly via the USB port. We suggest you try using a UART interface first. If the UART interface works fine, then switch to the USB interface. At this point, the flashloader should be running, and the USB port should also be working correctly.

If the UART port also has a problem, you need to check the specific output. The detailed commands are listed in gen_scripts/init_flashloader_win.bat in the working directory. Before re-running the test, delete the previous log and check the new log to see which step failed.


Best regards,
Gavin

Re: MCUXpresso Secure Provisioning Tool无法通过USB连接目标板

Hi @Gavin_Jia ,

Thank you for your support!

I switched to UART to connect the MIMXRT1170-EVKB, and the problem was solved.

I've encountered a new problem; could you please help me figure out where the problem lies?

The built-in example in the MCUXpresso Secure Provisioning Tool fails to run mcuboot_opensource&ota_mcuboot, resulting in a consistent reset, as shown in the image.

hayden178_0-1789004746339.pnghayden178_0-1789004746339.pnghayden178_0-1789004746339.pnghayden178_0-1789004746339.png

The project configuration is as follows:

hayden178_1-1789004822575.pnghayden178_1-1789004822575.pnghayden178_1-1789004822575.pnghayden178_1-1789004822575.png

hayden178_2-1789004848902.pnghayden178_2-1789004848902.pnghayden178_2-1789004848902.pnghayden178_2-1789004848902.png

hayden178_4-1789005368832.pnghayden178_4-1789005368832.pnghayden178_4-1789005368832.pnghayden178_4-1789005368832.png


hayden178_3-1789005332451.pnghayden178_3-1789005332451.pnghayden178_3-1789005332451.pnghayden178_3-1789005332451.png

I've successfully run both projects using the IDE, but downloading the generated bin files to the board using SPSP results in the same reset issue.

hayden178_5-1789005846515.pnghayden178_5-1789005846515.pnghayden178_5-1789005846515.pnghayden178_5-1789005846515.png



Re: MCUXpresso Secure Provisioning Tool无法通过USB连接目标板

Hi @hayden178 ,

Thanks for sharing the good news. I'm glad the first SPT connection issue has been resolved.

Regarding the mcuboot operation process, which guide did you refer to? Could you please share it? I've always used Python scripts and imgtool for signing before, and I haven't tried this SPT solution.

Regarding this new question, you are welcome to create a new ticket to keep the topic consistent across all threads.

Thank you for your understanding and cooperation!


Best regards,
Gavin

タグ(1)
評価なし
バージョン履歴
最終更新日:
1週間前
更新者: