اطلاعیه

Collapse
No announcement yet.

مشکل من با jlink

Collapse
X
 
  • فیلتر
  • زمان
  • Show
Clear All
new posts

    مشکل من با jlink

    من مدار jlink رو برای lpc1788 و lpc4357 و stm32f107 کشیدم و راه انداختم و بخوبی هم کار میکنه
    قبلا سعی کرده بودم برای sam7s64 و sam7x256 راه بندازم و نشده بود
    جدیدا یه برد برای s64 و x256 زدم و دوباره مدار jlink رو کشیدم
    s64 رو هنوز مونتاژ نکردم ولی باز برای x256 کار نمی کنه

    نه پروگرام میکنه و نه تریس البته وارد صفحه تریس میشه ولی تریس نمی کنه
    این هم چیزایی که میگه
    کسی سر در میاره :
    کد:
    ProjectFile = E:\Projects\Kiel\AVAL\JLinkArm_Sam7X256.ini
    Device = AT91SAM7X256
    Info: Device "AT91SAM7X256" selected (256 KB flash, 64 KB RAM).
    VTarget = 2.730V
    Info: TotalIRLen = 4, IRPrint = 0x01
    Info: RTCK seems to be bridged with TCK
    Info: Auto JTAG speed: 3200 kHz
    Info: Failed to program ICE breaker before Reset, using default reset strategy.
    ***JLink Error: Write memory error @ address 0x00200000, word access: Memory access timeout.
    Bad JTAG communication: Write to IR: Expected 0x1, got 0x0 (TAP Command : 2) @ Off 0x5.
    
    DLL version V4.54, compiled Sep 11 2012 18:32:59
    Firmware: J-Link ARM V8 compiled Nov 28 2014 13:44:46
    Hardware: V8.00
    Info: Resetting target using RESET pin
    ***JLink Warning: RESET (pin 15) high, but should be low. Please check target hardware.
    Info: Resetting TRST
    ***JLink Error: Bad JTAG communication: Write to IR: Expected 0x1, got 0x3 (TAP Command : 12) @ Off 0x13.
    
    JTAG speed: 1000 kHz
    Load "E:\\Projects\\Kiel\\AVAL\\AVAL.axf" 
    ***JLink Error: Read memory error @ address 0x002003C0, word access: Core error.
    Failed to verify RAMCode for CPU clock frequency detection!
    
    ***JLink Error: Failed to measure CPU clock frequency
    Bad JTAG communication: Write to IR: Expected 0x1, got 0x3 (TAP Command : 12) @ Off 0x100.
    
    JTAG speed: 1000 kHz
    ***JLink Error: Read memory error @ address 0x00101B80, word access: Core error.
    Cannot read memory
    Cannot read memory
    Cannot read memory
    ***JLink Error: CPU is not halted
    ***JLink Error: Can not read register 0 (R0) while CPU is running
    ***JLink Error: Can not read register 1 (R1) while CPU is running
    ***JLink Error: Can not read register 2 (R2) while CPU is running
    ***JLink Error: Can not read register 3 (R3) while CPU is running
    ***JLink Error: Can not read register 4 (R4) while CPU is running
    ***JLink Error: Can not read register 5 (R5) while CPU is running
    ***JLink Error: Can not read register 6 (R6) while CPU is running
    ***JLink Error: Can not read register 7 (R7) while CPU is running
    ***JLink Error: Can not read register 9 (R15 (PC)) while CPU is running
    ***JLink Error: Can not read register 8 (CPSR) while CPU is running
    ***JLink Error: Can not read register 10 (R8_USR) while CPU is running
    ***JLink Error: Can not read register 11 (R9_USR) while CPU is running
    ***JLink Error: Can not read register 12 (R10_USR) while CPU is running
    ***JLink Error: Can not read register 13 (R11_USR) while CPU is running
    ***JLink Error: Can not read register 14 (R12_USR) while CPU is running
    ***JLink Error: Can not read register 15 (R13_USR) while CPU is running
    ***JLink Error: Can not read register 16 (R14_USR) while CPU is running
    ***JLink Error: Can not read register 18 (R8_FIQ) while CPU is running
    ***JLink Error: Can not read register 19 (R9_FIQ) while CPU is running
    ***JLink Error: Can not read register 20 (R10_FIQ) while CPU is running
    ***JLink Error: Can not read register 21 (R11_FIQ) while CPU is running
    ***JLink Error: Can not read register 22 (R12_FIQ) while CPU is running
    ***JLink Error: Can not read register 23 (R13_FIQ) while CPU is running
    ***JLink Error: Can not read register 24 (R14_FIQ) while CPU is running
    ***JLink Error: Can not read register 17 (SPSR_FIQ) while CPU is running
    ***JLink Error: Can not read register 32 (R13_IRQ) while CPU is running
    ***JLink Error: Can not read register 33 (R14_IRQ) while CPU is running
    ***JLink Error: Can not read register 31 (SPSR_IRQ) while CPU is running
    ***JLink Error: Can not read register 26 (R13_SVC) while CPU is running
    ***JLink Error: Can not read register 27 (R14_SVC) while CPU is running
    ***JLink Error: Can not read register 25 (SPSR_SVC) while CPU is running
    ***JLink Error: Can not read register 29 (R13_ABT) while CPU is running
    ***JLink Error: Can not read register 30 (R14_ABT) while CPU is running
    ***JLink Error: Can not read register 28 (SPSR_ABT) while CPU is running
    ***JLink Error: Can not read register 35 (R13_UND) while CPU is running
    ***JLink Error: Can not read register 36 (R14_UND) while CPU is running
    ***JLink Error: Can not read register 34 (SPSR_UND) while CPU is running
    ***JLink Error: CPU is not halted
    ***JLink Error: Can not read register 0 (R0) while CPU is running
    ***JLink Error: Can not read register 1 (R1) while CPU is running
    ***JLink Error: Can not read register 2 (R2) while CPU is running
    ***JLink Error: Can not read register 3 (R3) while CPU is running
    ***JLink Error: Can not read register 4 (R4) while CPU is running
    ***JLink Error: Can not read register 5 (R5) while CPU is running
    ***JLink Error: Can not read register 6 (R6) while CPU is running
    ***JLink Error: Can not read register 7 (R7) while CPU is running
    ***JLink Error: Can not read register 9 (R15 (PC)) while CPU is running
    ***JLink Error: Can not read register 8 (CPSR) while CPU is running
    ***JLink Error: Can not read register 10 (R8_USR) while CPU is running
    ***JLink Error: Can not read register 11 (R9_USR) while CPU is running
    ***JLink Error: Can not read register 12 (R10_USR) while CPU is running
    ***JLink Error: Can not read register 13 (R11_USR) while CPU is running
    ***JLink Error: Can not read register 14 (R12_USR) while CPU is running
    ***JLink Error: Can not read register 15 (R13_USR) while CPU is running
    ***JLink Error: Can not read register 16 (R14_USR) while CPU is running
    ***JLink Error: Can not read register 18 (R8_FIQ) while CPU is running
    ***JLink Error: Can not read register 19 (R9_FIQ) while CPU is running
    ***JLink Error: Can not read register 20 (R10_FIQ) while CPU is running
    ***JLink Error: Can not read register 21 (R11_FIQ) while CPU is running
    ***JLink Error: Can not read register 22 (R12_FIQ) while CPU is running
    ***JLink Error: Can not read register 23 (R13_FIQ) while CPU is running
    ***JLink Error: Can not read register 24 (R14_FIQ) while CPU is running
    ***JLink Error: Can not read register 17 (SPSR_FIQ) while CPU is running
    ***JLink Error: Can not read register 32 (R13_IRQ) while CPU is running
    ***JLink Error: Can not read register 33 (R14_IRQ) while CPU is running
    ***JLink Error: Can not read register 31 (SPSR_IRQ) while CPU is running
    ***JLink Error: Can not read register 26 (R13_SVC) while CPU is running
    ***JLink Error: Can not read register 27 (R14_SVC) while CPU is running
    ***JLink Error: Can not read register 25 (SPSR_SVC) while CPU is running
    ***JLink Error: Can not read register 29 (R13_ABT) while CPU is running
    ***JLink Error: Can not read register 30 (R14_ABT) while CPU is running
    ***JLink Error: Can not read register 28 (SPSR_ABT) while CPU is running
    ***JLink Error: Can not read register 35 (R13_UND) while CPU is running
    ***JLink Error: Can not read register 36 (R14_UND) while CPU is running
    ***JLink Error: Can not read register 34 (SPSR_UND) while CPU is running
    ***JLink Error: CPU is not halted
    ***JLink Error: Can not read register 0 (R0) while CPU is running
    ***JLink Error: Can not read register 1 (R1) while CPU is running
    ***JLink Error: Can not read register 2 (R2) while CPU is running
    ***JLink Error: Can not read register 3 (R3) while CPU is running
    ***JLink Error: Can not read register 4 (R4) while CPU is running
    ***JLink Error: Can not read register 5 (R5) while CPU is running
    ***JLink Error: Can not read register 6 (R6) while CPU is running
    ***JLink Error: Can not read register 7 (R7) while CPU is running
    ***JLink Error: Can not read register 9 (R15 (PC)) while CPU is running
    ***JLink Error: Can not read register 8 (CPSR) while CPU is running
    ***JLink Error: Can not read register 10 (R8_USR) while CPU is running
    ***JLink Error: Can not read register 11 (R9_USR) while CPU is running
    ***JLink Error: Can not read register 12 (R10_USR) while CPU is running
    ***JLink Error: Can not read register 13 (R11_USR) while CPU is running
    ***JLink Error: Can not read register 14 (R12_USR) while CPU is running
    ***JLink Error: Can not read register 15 (R13_USR) while CPU is running
    ***JLink Error: Can not read register 16 (R14_USR) while CPU is running
    ***JLink Error: Can not read register 18 (R8_FIQ) while CPU is running
    ***JLink Error: Can not read register 19 (R9_FIQ) while CPU is running
    ***JLink Error: Can not read register 20 (R10_FIQ) while CPU is running
    ***JLink Error: Can not read register 21 (R11_FIQ) while CPU is running
    ***JLink Error: Can not read register 22 (R12_FIQ) while CPU is running
    ***JLink Error: Can not read register 23 (R13_FIQ) while CPU is running
    ***JLink Error: Can not read register 24 (R14_FIQ) while CPU is running
    ***JLink Error: Can not read register 17 (SPSR_FIQ) while CPU is running
    ***JLink Error: Can not read register 32 (R13_IRQ) while CPU is running
    ***JLink Error: Can not read register 33 (R14_IRQ) while CPU is running
    ***JLink Error: Can not read register 31 (SPSR_IRQ) while CPU is running
    ***JLink Error: Can not read register 26 (R13_SVC) while CPU is running
    ***JLink Error: Can not read register 27 (R14_SVC) while CPU is running
    ***JLink Error: Can not read register 25 (SPSR_SVC) while CPU is running
    ***JLink Error: Can not read register 29 (R13_ABT) while CPU is running
    ***JLink Error: Can not read register 30 (R14_ABT) while CPU is running
    ***JLink Error: Can not read register 28 (SPSR_ABT) while CPU is running
    ***JLink Error: Can not read register 35 (R13_UND) while CPU is running
    ***JLink Error: Can not read register 36 (R14_UND) while CPU is running
    ***JLink Error: Can not read register 34 (SPSR_UND) while CPU is running
    ***JLink Error: CPU is not halted
    ***JLink Error: Can not read register 0 (R0) while CPU is running
    ***JLink Error: Can not read register 1 (R1) while CPU is running
    ***JLink Error: Can not read register 2 (R2) while CPU is running
    ***JLink Error: Can not read register 3 (R3) while CPU is running
    ***JLink Error: Can not read register 4 (R4) while CPU is running
    ***JLink Error: Can not read register 5 (R5) while CPU is running
    ***JLink Error: Can not read register 6 (R6) while CPU is running
    ***JLink Error: Can not read register 7 (R7) while CPU is running
    ***JLink Error: Can not read register 9 (R15 (PC)) while CPU is running
    ***JLink Error: Can not read register 8 (CPSR) while CPU is running
    ***JLink Error: Can not read register 10 (R8_USR) while CPU is running
    ***JLink Error: Can not read register 11 (R9_USR) while CPU is running
    ***JLink Error: Can not read register 12 (R10_USR) while CPU is running
    ***JLink Error: Can not read register 13 (R11_USR) while CPU is running
    ***JLink Error: Can not read register 14 (R12_USR) while CPU is running
    ***JLink Error: Can not read register 15 (R13_USR) while CPU is running
    ***JLink Error: Can not read register 16 (R14_USR) while CPU is running
    ***JLink Error: Can not read register 18 (R8_FIQ) while CPU is running
    ***JLink Error: Can not read register 19 (R9_FIQ) while CPU is running
    ***JLink Error: Can not read register 20 (R10_FIQ) while CPU is running
    ***JLink Error: Can not read register 21 (R11_FIQ) while CPU is running
    ***JLink Error: Can not read register 22 (R12_FIQ) while CPU is running
    ***JLink Error: Can not read register 23 (R13_FIQ) while CPU is running
    ***JLink Error: Can not read register 24 (R14_FIQ) while CPU is running
    ***JLink Error: Can not read register 17 (SPSR_FIQ) while CPU is running
    ***JLink Error: Can not read register 32 (R13_IRQ) while CPU is running
    ***JLink Error: Can not read register 33 (R14_IRQ) while CPU is running
    ***JLink Error: Can not read register 31 (SPSR_IRQ) while CPU is running
    ***JLink Error: Can not read register 26 (R13_SVC) while CPU is running
    ***JLink Error: Can not read register 27 (R14_SVC) while CPU is running
    ***JLink Error: Can not read register 25 (SPSR_SVC) while CPU is running
    ***JLink Error: Can not read register 29 (R13_ABT) while CPU is running
    ***JLink Error: Can not read register 30 (R14_ABT) while CPU is running
    ***JLink Error: Can not read register 28 (SPSR_ABT) while CPU is running
    ***JLink Error: Can not read register 35 (R13_UND) while CPU is running
    ***JLink Error: Can not read register 36 (R14_UND) while CPU is running
    ***JLink Error: Can not read register 34 (SPSR_UND) while CPU is running
    ***JLink Error: CPU is not halted
    ***JLink Error: Can not read register 0 (R0) while CPU is running
    ***JLink Error: Can not read register 1 (R1) while CPU is running
    ***JLink Error: Can not read register 2 (R2) while CPU is running
    ***JLink Error: Can not read register 3 (R3) while CPU is running
    ***JLink Error: Can not read register 4 (R4) while CPU is running
    ***JLink Error: Can not read register 5 (R5) while CPU is running
    ***JLink Error: Can not read register 6 (R6) while CPU is running
    ***JLink Error: Can not read register 7 (R7) while CPU is running
    ***JLink Error: Can not read register 9 (R15 (PC)) while CPU is running
    ***JLink Error: Can not read register 8 (CPSR) while CPU is running
    ***JLink Error: Can not read register 10 (R8_USR) while CPU is running
    ***JLink Error: Can not read register 11 (R9_USR) while CPU is running
    ***JLink Error: Can not read register 12 (R10_USR) while CPU is running
    ***JLink Error: Can not read register 13 (R11_USR) while CPU is running
    ***JLink Error: Can not read register 14 (R12_USR) while CPU is running
    ***JLink Error: Can not read register 15 (R13_USR) while CPU is running
    ***JLink Error: Can not read register 16 (R14_USR) while CPU is running
    ***JLink Error: Can not read register 18 (R8_FIQ) while CPU is running
    ***JLink Error: Can not read register 19 (R9_FIQ) while CPU is running
    ***JLink Error: Can not read register 20 (R10_FIQ) while CPU is running
    ***JLink Error: Can not read register 21 (R11_FIQ) while CPU is running
    ***JLink Error: Can not read register 22 (R12_FIQ) while CPU is running
    ***JLink Error: Can not read register 23 (R13_FIQ) while CPU is running
    ***JLink Error: Can not read register 24 (R14_FIQ) while CPU is running
    ***JLink Error: Can not read register 17 (SPSR_FIQ) while CPU is running
    ***JLink Error: Can not read register 32 (R13_IRQ) while CPU is running
    ***JLink Error: Can not read register 33 (R14_IRQ) while CPU is running
    ***JLink Error: Can not read register 31 (SPSR_IRQ) while CPU is running
    ***JLink Error: Can not read register 26 (R13_SVC) while CPU is running
    ***JLink Error: Can not read register 27 (R14_SVC) while CPU is running
    ***JLink Error: Can not read register 25 (SPSR_SVC) while CPU is running
    ***JLink Error: Can not read register 29 (R13_ABT) while CPU is running
    ***JLink Error: Can not read register 30 (R14_ABT) while CPU is running
    ***JLink Error: Can not read register 28 (SPSR_ABT) while CPU is running
    ***JLink Error: Can not read register 35 (R13_UND) while CPU is running
    ***JLink Error: Can not read register 36 (R14_UND) while CPU is running
    ***JLink Error: Can not read register 34 (SPSR_UND) while CPU is running

    #2
    پاسخ : مشکل من با jlink

    کسی مشکل نداره؟
    برای همه به خوبی و خوشی کار میکنه؟
    برای من با jlink نه از داخل کیل میشه پروگرام کرد و نه با samba
    دوستان اگه کسب اطلاعاتی داره بگه

    دیدگاه


      #3
      پاسخ : مشکل من با jlink

      گرچه اینجا شده تالار مردگان ولی چه کنم مینویسم اگه حل شد و کسی دیگه ای هم مشکل داشت لااقل زود مشکلش حل شده
      ارور بالا الان شده این

      cannot load flash programming algorithm

      تو توضیحات پایین هم اینو مینویسه :

      کد:
      Load "E:\\Projects\\Kiel\\AVAL\\AVAL.axf" 
      ProjectFile = E:\Projects\Kiel\AVAL\JLinkArm_Sam7X256.ini
      Device = AT91SAM7X256
      Info: Device "AT91SAM7X256" selected (256 KB flash, 64 KB RAM).
      VTarget = 2.730V
      Info: TotalIRLen = 4, IRPrint = 0x01
      ***JLink Error: Bad JTAG communication: Write to IR: Expected 0x1, got 0x3 (TAP Command : 12) @ Off 0xD4.
      ***JLink Warning: RESET (pin 15) high, but should be low. Please check target hardware.
      ***JLink Warning: PC of target system has unexpected value of 0xFFFFFFD8 after reset.
      DLL version V4.54, compiled Sep 11 2012 18:32:59
      Firmware: J-Link ARM V8 compiled Nov 28 2014 13:44:46
      Hardware: V8.00
      Hardware-Breakpoints: 2
      Software-Breakpoints: 8192
      Watchpoints:     0
      Found 1 JTAG device, Total IRLen = 4:
       Id of device #0: 0x3F0F0F0F
      ARM7 identified.
      JTAG speed: 1000 kHz
      Info: RTCK seems to be bridged with TCK
      Info: Auto JTAG speed: 4000 kHz
      ***JLink Warning: RESET (pin 15) high, but should be low. Please check target hardware.
      Info: Core does not stop after Reset, setting WP to stop it.
      Info: Failed to halt CPU core after Reset (BP@0), using default reset strategy.
      Info: Resetting target using RESET pin
      ***JLink Warning: RESET (pin 15) high, but should be low. Please check target hardware.
      Info: Resetting TRST
      ***JLink Error: Bad JTAG communication: Write to IR: Expected 0x1, got 0x3 (TAP Command : 12) @ Off 0x13.
      JTAG speed: 1000 kHz
      ***JLink Error: Write memory error @ address 0x00200118, word access: Memory access timeout.
      Erase Failed!
      Cannot read memory
      Error: Flash Download failed - ARM7TDMI
      ***JLink Error: Bad JTAG communication: Write to IR: Expected 0x1, got 0x0 (TAP Command : 15) @ Off 0x5.

      دیدگاه


        #4
        پاسخ : مشکل من با jlink

        با سلام
        تا حالا با jlink مشکل نداشتم اما در مورد این اررور اخر، برو تو تنظیمات پروژه، تب اخر، و گزینه setting، بعد میکرو رو پاک کن و بعد دوباره ادش کن
        The healthy human mind doesn't wake up in the morning thinking this is his last day on earth.

        دیدگاه


          #5
          پاسخ : مشکل من با jlink

          نوشته اصلی توسط hessam2013
          با سلام
          تا حالا با jlink مشکل نداشتم اما در مورد این اررور اخر، برو تو تنظیمات پروژه، تب اخر، و گزینه setting، بعد میکرو رو پاک کن و بعد دوباره ادش کن
          ممنون از جوابت
          چند بار این کار رو کردم دو نوع میکرو برای 256 هستش هر دو مدل رو انتخاب کردم هر بار یه اروری میده
          میشه مدارتون رو بزارین قسمت jtag ش رو
          من پایه های jtag رو بیرون کشیدم و روی برد برد مدارش رو بستم البته با stm32 و lpc مشکل jtag نداشتم

          دیدگاه


            #6
            پاسخ : مشکل من با jlink

            متاسفانه التیوم نصب ندارم، همون شماتیک مورد استفاده در بردهای اموزشی هست
            The healthy human mind doesn't wake up in the morning thinking this is his last day on earth.

            دیدگاه


              #7
              پاسخ : مشکل من با jlink

              من هدر برد x256 رو دارم تو جعبش به کاغذ بود شماتیک داشت که گم کردم
              ولی خب پایه ها نظیر به نظیر وصل میشن و البته پول پ میشن که من با 10 کیلو پول پ کردم

              دیدگاه

              لطفا صبر کنید...
              X