jtag issues debugging

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • jtag issues debugging

      i have the new nrf91 thingy

      i can flash it and it runs
      i can attach the debugger

      but when i try to run the debugger it stops with generic error

      and this is the trace

      SEGGER J-Link V6.46h DLL LogDLL Compiled: Jun 28 2019 17:11:51Logging started @ 2019-08-08 11:34T2630 4488:763 JLINK_DEVICE_GetIndex(sDeviceName = nRF9160) returns 1863T2630 4488:765 JLINK_DEVICE_GetIndex(sDeviceName = nRF9160) returns 1863T2630 4488:765 JLINK_DEVICE_GetInfo(DeviceIndex = 1863) returns 0T2630 4488:765 JLINK_TIF_Select(JLINKARM_TIF_SWD) returns 0x00T2630 4488:766 JLINK_SWO_Control(JLINKARM_SWO_CMD_GET_SPEED_INFO, ...) returns 0x00T2630 4488:766 JLINK_SetSpeed(4000)T2630 4488:907 JLINK_ReadMemU32(0xE000EFB8, 0x0001 Items, ...) - Data: FF 00 00 00T2630 4488:907 JLINK_WriteU32(0xE0000FB0, 0xC5ACCE55) - ITM_LOCKACCESST2630 4489:901 JLINK_ReadMemU32(0xE0001004, 0x0001 Items, ...) - Data: 12 34 0F 17 - DWT_CYCCNTT2630 4490:897 JLINK_ReadMemU32(0xE0001004, 0x0001 Items, ...) - Data: 12 34 0F 17 - DWT_CYCCNTT2630 4491:935 JLINK_ReadMemU32(0xE0001004, 0x0001 Items, ...) - Data: 12 34 0F 17 - DWT_CYCCNTT2630 4492:900

      JLINK_ReadMemU32(0xE0001004, 0x0001 Items, ...) - Data: 12 34 0F 17 - DWT_CYCCNTT2630 4540:912 JLINK_ReadMemU32(0xE0001004, 0x0001 Items, ...) - Data: 12 34 0F 17 - DWT_CYCCNTT2630 4541:913 JLINK_ReadMemU32(0xE0001004, 0x0001 Items, ...) - Data: 12 34 0F 17 - DWT_CYCCNTT2630 4542:913 JLINK_ReadMemU32(0xE0001004, 0x0001 Items, ...) - Data: 12 34 0F 17 - DWT_CYCCNTT2630 4543:914 JLINK_ReadMemU32(0xE0001004, 0x0001 Items, ...) - Data: 12 34 0F 17 - DWT_CYCCNTT2630 4544:914 JLINK_ReadMemU32(0xE0001004, 0x0001 Items, ...) - Data: 12 34 0F 17 - DWT_CYCCNTT2630 4545:914 JLINK_ReadMemU32(0xE0001004, 0x0001 Items, ...) - Data: 12 34 0F 17 - DWT_CYCCNTT2630 4546:913 JLINK_ReadMemU32(0xE0001004, 0x0001 Items, ...) - Data: 12 34 0F 17 - DWT_CYCCNTT2630 4547:913 JLINK_ReadMemU32(0xE0001004, 0x0001 Items, ...) - Data: 12 34 0F 17 - DWT_CYCCNTT2630 4548:915 JLINK_ReadMemU32(0xE0001004, 0x0001 Items, ...) - Data: 12 34 0F 17 - DWT_CYCCNTT2630 4549:913 JLINK_ReadMemU32(0xE0001004, 0x0001 Items, ...) - Data: 12 34 0F 17 - DWT_CYCCNTT2630 4550:914 JLINK_ReadMemU32(0xE0001004, 0x0001 Items, ...) - Data: 12 34 0F 17 - DWT_CYCCNTT2630 4551:922 JLINK_ReadMemU32(0xE0001004, 0x0001 Items, ...) - Data: 12 34 0F 17 - DWT_CYCCNTT2630 4552:913 JLINK_ReadMemU32(0xE0001004, 0x0001 Items, ...) - Data: 12 34 0F 17 - DWT_CYCCNTT2630 4553:913 JLINK_ReadMemU32(0xE0001004, 0x0001 Items, ...) - Data: 12 34 0F 17 - DWT_CYCCNTT2630 4554:912 JLINK_ReadMemU32(0xE0001004, 0x0001 Items, ...) - Data: 12 34 0F 17 - DWT_CYCCNTT2630 4555:913 JLINK_ReadMemU32(0xE0001004, 0x0001 Items, ...) - Data: 12 34 0F 17 - DWT_CYCCNTT2630 4557:982 JLINK_Reset() -- Type: 0T2630 4558:422 JLINK_ReadRegs(NumRegs = 1, Indexes: 0) -- R0=0x00 returns 0x00T2630 4558:424 JLINK_ReadRegs(NumRegs = 1, Indexes: 1) -- R1=0x00 returns 0x00T2630 4558:424 JLINK_ReadRegs(NumRegs = 1, Indexes: 2) -- R2=0x200242A8 returns 0x00T2630 4558:424 JLINK_ReadRegs(NumRegs = 1, Indexes: 3) -- R3=0x00 returns 0x00T2630 4558:424 JLINK_ReadRegs(NumRegs = 1, Indexes: 4) -- R4=0x01 returns 0x00T2630 4558:424 JLINK_ReadRegs(NumRegs = 1, Indexes: 5) -- R5=0x200284F8 returns 0x00T2630 4558:424 JLINK_ReadRegs(NumRegs = 1, Indexes: 6) -- R6=0x00 returns 0x00T2630 4558:424 JLINK_ReadRegs(NumRegs = 1, Indexes: 7) -- R7=0x00 returns 0x00T2630 4558:424 JLINK_ReadRegs(NumRegs = 1, Indexes: 8) -- R8=0x00 returns 0x00T2630 4558:424 JLINK_ReadRegs(NumRegs = 1, Indexes: 9) -- R9=0x00 returns 0x00T2630 4558:424 JLINK_ReadRegs(NumRegs = 1, Indexes: 10) -- R10=0x00 returns 0x00T2630 4558:424 JLINK_ReadRegs(NumRegs = 1, Indexes: 11) -- R11=0x00 returns 0x00T2630 4558:424 JLINK_ReadRegs(NumRegs = 1, Indexes: 12) -- R12=0x00 returns 0x00T2630 4558:424 JLINK_ReadRegs(NumRegs = 1, Indexes: 13) -- R13 (SP)=0x2002CED0 returns 0x00T2630 4558:424 JLINK_ReadRegs(NumRegs = 1, Indexes: 14) -- R14=0x2D2E1 returns 0x00T2630 4558:424 JLINK_ReadRegs(NumRegs = 1, Indexes: 15) -- R15 (PC)=0x15424 returns 0x00T2630 4558:424 JLINK_ReadRegs(NumRegs = 1, Indexes: 16) -- XPSR=0x61000000 returns 0x00T2630 4558:424 JLINK_ReadRegs(NumRegs = 1, Indexes: 17) -- MSP=0x2002D6E0 returns 0x00T2630 4558:424 JLINK_ReadRegs(NumRegs = 1, Indexes: 18) -- PSP=0x2002CED0 returns 0x00T2630 4558:424 JLINK_ReadRegs(NumRegs = 1, Indexes: 20) -- CFBP=0x2000000 returns 0x00T2630 4558:424 JLINK_ReadRegs(NumRegs = 1, Indexes: 66) -- MSP_NS=0x2002D6E0 returns 0x00T2630 4558:424 JLINK_ReadRegs(NumRegs = 1, Indexes: 67) -- PSP_NS=0x2002CED0 returns 0x00T2630 4558:424 JLINK_ReadRegs(NumRegs = 1, Indexes: 68) -- MSP_S=0x200026A8 returns 0x00T2630 4558:424 JLINK_ReadRegs(NumRegs = 1, Indexes: 69) -- PSP_S=0x20001CD0 returns 0x00T2630 4558:424 JLINK_ReadRegs(NumRegs = 1, Indexes: 70) -- MSPLIM_S=0x00 returns 0x00T2630 4558:424 JLINK_ReadRegs(NumRegs = 1, Indexes: 71) -- PSPLIM_S=0x00 returns 0x00T2630 4558:424 JLINK_ReadRegs(NumRegs = 1, Indexes: 72) -- MSPLIM_NS=0x00 returns 0x00T2630 4558:424 JLINK_ReadRegs(NumRegs = 1, Indexes: 73) -- PSPLIM_NS=0x00 returns 0x00T2630 4558:424 JLINK_ReadRegs(NumRegs = 1, Indexes: 74) -- CFBP_S=0x2000000 returns 0x00T2630 4558:424 JLINK_ReadRegs(NumRegs = 1, Indexes: 75) -- CFBP_NS=0x2000000 returns 0x00T2630 4558:424 JLINK_ReadMemU32(0xE000ED04, 0x0001 Items, ...) - Data: 00 50 C2 00T2630 4558:424 JLINK_ReadMemU32(0xE000EE08, 0x0001 Items, ...) - Data: 00 00 02 00 - DSCSRT2630 4558:424 JLINK_ReadMemU32(0xE000EDFC, 0x0001 Items, ...) - Data: 00 00 10 01 - DEMCRT2630 4558:424 JLINK_ReadMemU32(0xE0001000, 0x0001 Items, ...) - Data: 01 00 00 40 - DWT_CTRLT2630 4558:425 JLINK_WriteU32(0xE0001004, 0x00000000) - DWT_CYCCNTT2630 4558:636 JLINK_WriteMem(0x00000000, 0x8000 Bytes, ...) - Data: 68 1D 00 20 D5 1B 00 00 ... - In flashT2630 4558:660 JLINK_WriteMem(0x0000C000, 0x19000 Bytes, ...) - Data: A0 CD 02 20 25 5A 01 00 ... - In flashT2630 4558:661 JLINK_WriteMem(0x00025000, 0x19000 Bytes, ...) - Data: 0C 06 32 46 08 46 FD F7 ... - In flashT2630 4558:662 JLINK_WriteMem(0x0003E000, 0x5604 Bytes, ...) - Data: 6E 6E 65 6C 20 21 3D 20 ... - In flashhope this helpsthx sean
    • Hello,

      Thank you for your inquiry.
      Such an issue is not known to us.
      What exactly does the error message say? Which version of Embedded Studio are you using?
      From the log we can not see any issues.
      Could you provide an example project for reproduction purposes?

      Best regards,
      Nino
      Please read the forum rules before posting: Forum Rules

      Keep in mind, this is not a support forum. Its main purpose is user to user interaction.
      Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
      Should you be entitled to support contact us per e-mail.
      Alternatively our support system can be used as well: segger.com/ticket/