-
Notifications
You must be signed in to change notification settings - Fork 2
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
Comments
Hi, I'm not able to reproduce the error, but few things:
C:\Users\ZhangRo.mcuxpressotools.venv\Scripts\activate.bat
Regards, |
Hi @rong613 , Please let us know, thank you |
Hi Derek:
I am in US. I have re-imported zephyr repository successfully. It looks
network issue. Thanks.
But I have another issue. I cannot flash the MIMXRT1170EVK. Error is
verification failure. I attach the log file for your rereview.
I can flash the same board using MCUXpressioIDE.
Thanks
Rong
On Wed, Jul 17, 2024 at 10:39 AM Derek Snell ***@***.***> wrote:
Hi @rong613 <https://github.com/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
—
Reply to this email directly, view it on GitHub
<#47 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BJ4TXQ7FMFOWYJQRL2Z5ONLZMZ6YVAVCNFSM6AAAAABK6WTQFKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZTGQ4DSMRZGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
[2024-07-18T09:47:14.060] [proc] [info] Cmd: C":\Program Files\SEGGER\JLink\JLinkGDBServerCL.exe" -listprobes USB
[2024-07-18T09:47:15.121] [proc] [info] Cmd: C:\NXP\LinkServer_1.5.30\LinkServer.exe probes --json
[2024-07-18T09:47:22.420] [proc] [info] Cmd: C:\Users\ZhangRo\zephyr-sdk-0.16.8\arm-zephyr-eabi\bin\arm-zephyr-eabi-objcopy.exe -O ihex c:\Users\ZhangRo\zephyrproject\bootloader\mcuboot\samples\zephyr\hello-world\build\zephyr\zephyr.elf zephyr.hex
[2024-07-18T09:47:23.588] [proc] [info] Cmd: C":\Program Files\SEGGER\JLink\JLink.exe" -if SWD -speed auto -commanderscript c:\Users\ZhangRo\zephyrproject\bootloader\mcuboot\samples\zephyr\hello-world\script.jlink -device MIMXRT1176xxxA_M7 -SelectEmuBySN 753003254
[2024-07-18T09:47:25.714] [proc] [error] C:\Program Files\SEGGER\JLink\JLink.exe exited with code 1
[2024-07-18T09:47:25.714] [proc] [error] SEGGER J-Link Commander V7.96c (Compiled Apr 2 2024 12:35:23)
DLL version V7.96c, compiled Apr 2 2024 12:34:28
J-Link Command File read successfully.
Processing script file...
J-Link>ExitOnError 1
J-Link Commander will now exit on Error
J-Link>r
J-Link connection not established yet but required for command.
Connecting to J-Link via USB...O.K.
Firmware: J-Trace PRO V3 Cortex-M compiled Mar 29 2024 01:02:55
Hardware version: V3.00
J-Link uptime (since boot): 0d 01h 12m 43s
S/N: 753003254
License(s): RDI, FlashBP, FlashDL, JFlash, GDB
USB speed mode: Super speed (5 GBit/s)
IP-Addr: DHCP (no addr. received yet)
Emulator has RAWTRACE capability
VTref=3.297V
Target connection not established yet but required for command.
Device "MIMXRT1176XXXA_M7" selected.
Connecting to target via SWD
Found SW-DP with ID 0x6BA02477
DPIDR: 0x6BA02477
CoreSight SoC-400 or earlier
Scanning AP map to find all available APs
AP[3]: Stopped AP scan as end of AP map has been reached
AP[0]: AHB-AP (IDR: 0x84770001)
AP[1]: AHB-AP (IDR: 0x24770011)
AP[2]: APB-AP (IDR: 0x54770002)
Iterating through AP map to find AHB-AP to use
AP[0]: Core found
AP[0]: AHB-AP ROM base: 0xE00FD000
CPUID register: 0x411FC272. Implementer code: 0x41 (ARM)
Cache: L1 I/D-cache present
Found Cortex-M7 r1p2, Little endian.
FPUnit: 8 code (BP) slots and 0 literal slots
CoreSight components:
ROMTbl[0] @ E00FD000
[0][0]: E00FE000 CID B105100D PID 000BB4C8 ROM Table
ROMTbl[1] @ E00FE000
[1][0]: E00FF000 CID B105100D PID 000BB4C7 ROM Table
ROMTbl[2] @ E00FF000
[2][0]: E000E000 CID B105E00D PID 000BB00C SCS-M7
[2][1]: E0001000 CID B105E00D PID 000BB002 DWT
[2][2]: E0002000 CID B105E00D PID 000BB00E FPB-M7
[2][3]: E0000000 CID B105E00D PID 000BB001 ITM
[1][1]: E0041000 CID B105900D PID 001BB975 ETM-M7
[1][2]: E0042000 CID B105900D PID 004BB906 CTI
[0][1]: E0043000 CID B105900D PID 001BB908 CSTF
I-Cache L1: 32 KB, 512 Sets, 32 Bytes/Line, 2-Way
D-Cache L1: 32 KB, 256 Sets, 32 Bytes/Line, 4-Way
Memory zones:
Zone: "Default" Description: Default access mode
Cortex-M7 identified.
Reset delay: 0 ms
Reset type NORMAL: Resets core & peripherals via SYSRESETREQ & VECTRESET bit.
Reset: Halt core after reset via DEMCR.VC_CORERESET.
Reset: Reset device via AIRCR.SYSRESETREQ.
Core did not halt after reset, halting it manually.
AfterResetTarget() start
Valid application detected. Setting PC / SP manually.
Booting from FlexSPI1.
AfterResetTarget() end - Took 53.5ms
J-Link>h
PC = 00223104, CycleCnt = 00000000
R0 = 40CAC0B0, R1 = 0A000000, R2 = 80000000, R3 = 0000F000
R4 = E000ED00, R5 = 0022946D, R6 = 001640CD, R7 = 00207DC8
R8 = 2024AE80, R9 = 2024AE84, R10= 00211C0C, R11= 000000F0
R12= 00000000
SP(R13)= 20241D98, MSP= 20241D98, PSP= 00000000, R14(LR) = 002015F3
XPSR = 81000000: APSR = Nzcvq, EPSR = 01000000, IPSR = 000 (NoException)
CFBP = 00000001, CONTROL = 00, FAULTMASK = 00, BASEPRI = 00, PRIMASK = 01
FPS0 = 00000000, FPS1 = 00000000, FPS2 = 00000000, FPS3 = 00000000
FPS4 = 00000000, FPS5 = 00000000, FPS6 = 00000000, FPS7 = 00000000
FPS8 = 00000000, FPS9 = 00000000, FPS10= 00000000, FPS11= 00000000
FPS12= 00000000, FPS13= 00000000, FPS14= 00000000, FPS15= FFFFFFFF
FPS16= 00000000, FPS17= 00000000, FPS18= 00000000, FPS19= 00000000
FPS20= 00000000, FPS21= 00000000, FPS22= 00000000, FPS23= 00000000
FPS24= 00000000, FPS25= 00000000, FPS26= 00000000, FPS27= 00000000
FPS28= 00000000, FPS29= 00000000, FPS30= 00000000, FPS31= FFFFFFFF
FPSCR= 00000000
J-Link>loadfile c:\Users\ZhangRo\zephyrproject\bootloader\mcuboot\samples\zephyr\hello-world\build\zephyr\zephyr.hex
'loadfile': Performing implicit reset & halt of MCU.
Reset: Halt core after reset via DEMCR.VC_CORERESET.
Reset: Reset device via AIRCR.SYSRESETREQ.
Reset: Core did not halt after reset, trying to disable WDT.
Reset: Halt core after reset via DEMCR.VC_CORERESET.
Reset: Reset device via AIRCR.SYSRESETREQ.
Core did not halt after reset, halting it manually.
AfterResetTarget() start
Valid application detected. Setting PC / SP manually.
Booting from FlexSPI1.
AfterResetTarget() end - Took 55.2ms
Downloading file [c:\Users\ZhangRo\zephyrproject\bootloader\mcuboot\samples\zephyr\hello-world\build\zephyr\zephyr.hex]...
J-Link: Flash download: Bank 0 @ 0x30000000: 1 range affected (65536 bytes)
J-Link: Flash download: Total: 1.162s (Prepare: 0.239s, Compare: 0.231s, Erase: 0.112s, Program: 0.252s, Verify: 0.203s, Restore: 0.123s)
J-Link: Flash download: Program speed: 254 KB/s
****** Error: Verification failed @ address 0x30020000
Error while programming flash: Verify failed.
Script processing completed.
2024-07-18T09:48:45.188] [proc] [info] Cmd: C":\Program Files\SEGGER\JLink\JLinkGDBServerCL.exe" -listprobes USB
[2024-07-18T09:48:46.267] [proc] [info] Cmd: C:\NXP\LinkServer_1.5.30\LinkServer.exe probes --json
[2024-07-18T09:48:56.774] [proc] [info] Cmd: C:\Users\ZhangRo\zephyr-sdk-0.16.8\arm-zephyr-eabi\bin\arm-zephyr-eabi-objcopy.exe -O ihex c:\Users\ZhangRo\zephyrproject\bootloader\mcuboot\samples\zephyr\hello-world\build\zephyr\zephyr.elf zephyr.hex
[2024-07-18T09:48:57.941] [proc] [info] Cmd: C":\Program Files\SEGGER\JLink\JLink.exe" -if SWD -speed auto -commanderscript c:\Users\ZhangRo\zephyrproject\bootloader\mcuboot\samples\zephyr\hello-world\script.jlink -device MIMXRT1176xxxA_M7 -SelectEmuBySN 722319602
[2024-07-18T09:49:00.124] [proc] [error] C:\Program Files\SEGGER\JLink\JLink.exe exited with code 1
[2024-07-18T09:49:00.124] [proc] [error] SEGGER J-Link Commander V7.96c (Compiled Apr 2 2024 12:35:23)
DLL version V7.96c, compiled Apr 2 2024 12:34:28
J-Link Command File read successfully.
Processing script file...
J-Link>ExitOnError 1
J-Link Commander will now exit on Error
J-Link>r
J-Link connection not established yet but required for command.
Connecting to J-Link via USB...O.K.
Firmware: J-Link LPCXpresso V2 compiled May 2 2023 17:39:56
Hardware version: V1.00
J-Link uptime (since boot): 0d 00h 47m 03s
S/N: 722319602
VTref=3.300V
Target connection not established yet but required for command.
Device "MIMXRT1176XXXA_M7" selected.
Connecting to target via SWD
Found SW-DP with ID 0x6BA02477
DPIDR: 0x6BA02477
CoreSight SoC-400 or earlier
Scanning AP map to find all available APs
AP[3]: Stopped AP scan as end of AP map has been reached
AP[0]: AHB-AP (IDR: 0x84770001)
AP[1]: AHB-AP (IDR: 0x24770011)
AP[2]: APB-AP (IDR: 0x54770002)
Iterating through AP map to find AHB-AP to use
AP[0]: Core found
AP[0]: AHB-AP ROM base: 0xE00FD000
CPUID register: 0x411FC272. Implementer code: 0x41 (ARM)
Cache: L1 I/D-cache present
Found Cortex-M7 r1p2, Little endian.
Cortex-M: The connected J-Link (S/N 722319602) uses an old firmware module: V1 (current is 2)
FPUnit: 8 code (BP) slots and 0 literal slots
CoreSight components:
ROMTbl[0] @ E00FD000
[0][0]: E00FE000 CID B105100D PID 000BB4C8 ROM Table
ROMTbl[1] @ E00FE000
[1][0]: E00FF000 CID B105100D PID 000BB4C7 ROM Table
ROMTbl[2] @ E00FF000
[2][0]: E000E000 CID B105E00D PID 000BB00C SCS-M7
[2][1]: E0001000 CID B105E00D PID 000BB002 DWT
[2][2]: E0002000 CID B105E00D PID 000BB00E FPB-M7
[2][3]: E0000000 CID B105E00D PID 000BB001 ITM
[1][1]: E0041000 CID B105900D PID 001BB975 ETM-M7
[1][2]: E0042000 CID B105900D PID 004BB906 CTI
[0][1]: E0043000 CID B105900D PID 001BB908 CSTF
I-Cache L1: 32 KB, 512 Sets, 32 Bytes/Line, 2-Way
D-Cache L1: 32 KB, 256 Sets, 32 Bytes/Line, 4-Way
Memory zones:
Zone: "Default" Description: Default access mode
Cortex-M7 identified.
Reset delay: 0 ms
Reset type NORMAL: Resets core & peripherals via SYSRESETREQ & VECTRESET bit.
Reset: Halt core after reset via DEMCR.VC_CORERESET.
Reset: Reset device via AIRCR.SYSRESETREQ.
Core did not halt after reset, halting it manually.
AfterResetTarget() start
Valid application detected. Setting PC / SP manually.
Booting from FlexSPI1.
AfterResetTarget() end - Took 54.2ms
J-Link>h
PC = 00223104, CycleCnt = 00000000
R0 = 40CAC0B0, R1 = 0A000000, R2 = 80000000, R3 = 0000F000
R4 = E000ED00, R5 = 0022946D, R6 = 001640CD, R7 = 00207DC8
R8 = 2024AE80, R9 = 2024AE84, R10= 00211C0C, R11= 000000F0
R12= 00000000
SP(R13)= 20241D98, MSP= 20241D98, PSP= 00000000, R14(LR) = 002015F3
XPSR = 81000000: APSR = Nzcvq, EPSR = 01000000, IPSR = 000 (NoException)
CFBP = 00000001, CONTROL = 00, FAULTMASK = 00, BASEPRI = 00, PRIMASK = 01
FPS0 = 00000000, FPS1 = 00000000, FPS2 = 00000000, FPS3 = 00000000
FPS4 = 00000000, FPS5 = 00000000, FPS6 = 00000000, FPS7 = 00000000
FPS8 = 00000000, FPS9 = 00000000, FPS10= 00000000, FPS11= 00000000
FPS12= 00000000, FPS13= 00000000, FPS14= 00000000, FPS15= FFFFFFFF
FPS16= 00000000, FPS17= 00000000, FPS18= 00000000, FPS19= 00000000
FPS20= 00000000, FPS21= 00000000, FPS22= 00000000, FPS23= 00000000
FPS24= 00000000, FPS25= 00000000, FPS26= 00000000, FPS27= 00000000
FPS28= 00000000, FPS29= 00000000, FPS30= 00000000, FPS31= FFFFFFFF
FPSCR= 00000000
J-Link>loadfile c:\Users\ZhangRo\zephyrproject\bootloader\mcuboot\samples\zephyr\hello-world\build\zephyr\zephyr.hex
'loadfile': Performing implicit reset & halt of MCU.
Reset: Halt core after reset via DEMCR.VC_CORERESET.
Reset: Reset device via AIRCR.SYSRESETREQ.
Reset: Core did not halt after reset, trying to disable WDT.
Reset: Halt core after reset via DEMCR.VC_CORERESET.
Reset: Reset device via AIRCR.SYSRESETREQ.
Core did not halt after reset, halting it manually.
AfterResetTarget() start
Valid application detected. Setting PC / SP manually.
Booting from FlexSPI1.
AfterResetTarget() end - Took 56.0ms
Downloading file [c:\Users\ZhangRo\zephyrproject\bootloader\mcuboot\samples\zephyr\hello-world\build\zephyr\zephyr.hex]...
J-Link: Flash download: Bank 0 @ 0x30000000: 1 range affected (65536 bytes)
J-Link: Flash download: Total: 1.193s (Prepare: 0.252s, Compare: 0.231s, Erase: 0.114s, Program: 0.261s, Verify: 0.203s, Restore: 0.129s)
J-Link: Flash download: Program speed: 245 KB/s
****** Error: Verification failed @ address 0x30020000
Error while programming flash: Verify failed.
Script processing completed.
|
Hi @rong613 , 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 |
closing issue |
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 text was updated successfully, but these errors were encountered: