Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import zephye repository fail #47

Closed
rong613 opened this issue Jul 16, 2024 · 5 comments
Closed

Import zephye repository fail #47

rong613 opened this issue Jul 16, 2024 · 5 comments

Comments

@rong613
Copy link

rong613 commented Jul 16, 2024

I install NXP zephyr IDE following below link instruction.
"Zephyr Lab Installation and Preparation · nxp-mcuxpresso/vscode-for-mcux Wiki · GitHub"
But I fail when import zephyre remository. I got below error message. How to fix it?

*** Executing task: C:\Users\ZhangRo.mcuxpressotools.venv\Scripts\activate.bat && python -m west init -m https://github.com/zephyrproject-rtos/zephyr --mr v3.6.0 c:\Users\ZhangRo\zephyrproject

=== Initializing in c:\Users\ZhangRo\zephyrproject

--- Cloning manifest repository from https://github.com/zephyrproject-rtos/zephyr, rev. v3.6.0

Cloning into 'c:\Users\ZhangRo\zephyrproject.west\manifest-tmp'...

remote: Enumerating objects: 1079526, done.

remote: Counting objects: 100% (336/336), done.

remote: Compressing objects: 100% (144/144), done.

error: RPC failed; curl 56 Recv failure: Connection was resetiB/s

error: 3334 bytes of body are still expected

fetch-pack: unexpected disconnect while reading sideband packet

fatal: early EOF

fatal: fetch-pack: invalid index-pack output

FATAL ERROR: command exited with status 128: git clone --branch v3.6.0 https://github.com/zephyrproject-rtos/zephyr 'c:\Users\ZhangRo\zephyrproject.west\manifest-tmp'

  • The terminal process "cmd /d /c C:\Users\ZhangRo.mcuxpressotools.venv\Scripts\activate.bat && python -m west init -m https://github.com/zephyrproject-rtos/zephyr --mr v3.6.0 c:\Users\ZhangRo\zephyrproject" terminated with exit code: 128.**
@cristitep-nxp
Copy link
Contributor

Hi,

I'm not able to reproduce the error, but few things:

  1. Are the 2 commands invoked on your case working in a separate command line console?

C:\Users\ZhangRo.mcuxpressotools.venv\Scripts\activate.bat
west init -m https://github.com/zephyrproject-rtos/zephyr --mr v3.6.0 c:\Users\ZhangRo\zephyrproject

  1. What curl/libcurl versions do you have on your machine? (curl --version)

  2. Do you have any proxy/firewall/antivirus installed? If yes, is there any chance to try once by disabling them?

Regards,
Cristian

@DerekSnell
Copy link

Hi @rong613 ,
Just checking, are you based in China? I have seen others in China, including our coworkers, sometimes have Git connection issues with GitHub. It seems this is a common issue there, and there are many workarounds listed on the web.

Please let us know, thank you

@rong613
Copy link
Author

rong613 commented Jul 18, 2024 via email

@DerekSnell
Copy link

Hi @rong613 ,
I am glad you were able to import the Zephyr repo and resolved this issue.

The verification failure is a known issue with the Segger JLink debug probe and the flash on the MIMXRT1170-EVK. Zephyr Project has this open issue reported on the MIMXRT1160-EVK (also reported against MIMXRT1170-EVK). Segger is aware of this issue.

The error occurs during verifcation, but the flash programming succeeds. After programming, if you reset the MIMXRT1170-EVK, the app will boot and run from flash. But the verification error does interfere with JLink debugging in VS Code.

Since your original issue is resolved, if you would like to discuss new topics or this JLink issue, please create a new post. Thank you

@DerekSnell
Copy link

closing issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants