اطلاعیه

Collapse
No announcement yet.

مشکل با پروگرامر jtag و برد LPC1768 فروشگاه

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

    مشکل با پروگرامر jtag و برد LPC1768 فروشگاه

    سلام دوستان. برای پروگرام کردن برد lpc1768 فروشگاه با jtag و نرم افزار iar چه کار باید بکنم. jtagهم سالمه چون داره lpc2138 رو به راحتی پروگرام میکنه .بردمم سالمه چون از طریق بوت به راحتی پروگرام میشه.
    ایا باید تو iar تنظیمات خاصی انجام بدم؟البته تنظمات اولیه که بشه 2138 رو پروگرام کرد رو انجام دادم ولی 1768 پروگرام نمیشه.
    لطفا راهنمایی کنید

    #2
    پاسخ : مشکل با پروگرامر jtag و برد LPC1768 فروشگاه

    سلام دوستان
    وقتی میخام برنامه با جی لینک روی 1768 دانلود کنم ارور زیر رو میده لطفا اگه راه حل رو میدونید بگین
    * JLink Info: Found SWD-DP with ID 0x2BA01477
    * JLink Info: TPIU fitted.
    * JLink Info: ETM fitted.
    * JLink Info: FPUnit: 6 code (BP) slots and 2 literal slots
    * JLink Info: Found SWD-DP with ID 0x2BA01477
    * JLink Info: TPIU fitted.
    * JLink Info: ETM fitted.
    * JLink Info: FPUnit: 6 code (BP) slots and 2 literal slots
    **JLink Warning: CPU did not halt after reset.
    **JLink Warning: CPU did not halt after reset.
    * JLink Info: CPU core locked up
    * JLink Info: CPU halted
    * JLink Info: Core did not halt after reset, trying to disable WDT.
    **JLink Warning: CPU did not halt after reset.
    * JLink Info: CPU core locked up
    * JLink Info: CPU halted
    * JLink Info: Core did not halt after reset, trying to disable WDT.
    **JLink Warning: CPU did not halt after reset.
    * JLink Info: CPU core locked up
    * JLink Info: CPU halted
    **JLink Warning: Could not set S_RESET_ST
    * JLink Info: Found SWD-DP with ID 0x2BA01477
    * JLink Info: Found SWD-DP with ID 0x2BA01477
    * JLink Info: SYSRESETREQ has confused core. Trying to reconnect and use VECTRESET.
    * JLink Info: Found SWD-DP with ID 0x2BA01477
    **JLink Warning: CPU did not halt after reset.
    **JLink Warning: CPU did not halt after reset.
    * JLink Info: CPU core locked up
    * JLink Info: CPU halted
    * JLink Info: Core did not halt after reset, trying to disable WDT.
    **JLink Warning: CPU did not halt after reset.
    * JLink Info: CPU core locked up
    * JLink Info: CPU halted
    * JLink Info: Core did not halt after reset, trying to disable WDT.
    **JLink Warning: CPU did not halt after reset.
    * JLink Info: CPU core locked up
    * JLink Info: CPU halted
    **JLink Warning: Could not set S_RESET_ST
    **JLink Warning: T-bit of XPSR is 0 but should be 1. Changed to 1.
    ***JLink Error: CPU not halted
    SWD-DP error: Could not write Ctrl/Stat register.


    Target info:
    ------------
    Device: LPC1768
    VTarget = 3.300V
    State of Pins:
    TCK: 0, TDI: 0, TDO: 0, TMS: 0, TRES: 1, TRST: 1
    * JLink Info: Found SWD-DP with ID 0x2BA01477
    * JLink Info: TPIU fitted.
    * JLink Info: ETM fitted.
    * JLink Info: FPUnit: 6 code (BP) slots and 2 literal slots
    Hardware-Breakpoints: 6
    Software-Breakpoints: 2048
    Watchpoints: 4
    JTAG speed: 4000 kHz
    ---
    * JLink Info: Found SWD-DP with ID 0x2BA01477
    * JLink Info: TPIU fitted.
    * JLink Info: ETM fitted.
    * JLink Info: FPUnit: 6 code (BP) slots and 2 literal slots
    * JLink Info: Core did not halt after reset, trying to disable WDT.
    **JLink Warning: CPU did not halt after reset.
    * JLink Info: CPU core locked up
    * JLink Info: CPU halted
    * JLink Info: Core did not halt after reset, trying to disable WDT.
    **JLink Warning: CPU did not halt after reset.
    * JLink Info: CPU core locked up
    * JLink Info: CPU halted
    **JLink Warning: Could not set S_RESET_ST
    * JLink Info: Found SWD-DP with ID 0x2BA01477
    * JLink Info: Found SWD-DP with ID 0x2BA01477
    * JLink Info: Core did not halt after reset, trying to disable WDT.
    **JLink Warning: CPU did not halt after reset.
    * JLink Info: CPU core locked up
    * JLink Info: CPU halted
    * JLink Info: Core did not halt after reset, trying to disable WDT.
    **JLink Warning: CPU did not halt after reset.
    * JLink Info: CPU core locked up
    * JLink Info: CPU halted
    **JLink Warning: Could not set S_RESET_ST
    **JLink Warning: T-bit of XPSR is 0 but should be 1. Changed to 1.
    Erase Failed!
    Load "E:\\electronic\\ARM\\ÂãæÒÔ\\program_Register\ \3-GPIO\\1_GPIO\\obj\\gpio_mzarkoob.AXF"
    Load "E:\\electronic\\ARM\\ÂãæÒÔ\\program_Register\ \3-GPIO\\1_GPIO\\obj\\gpio_mzarkoob.AXF"


    JLink info:
    -----------
    DLL: V4.11i, compiled Jan 28 2010 19:55:25
    Firmware: J-Link ARM-OB STM32 compiled Aug 22 2012 1904
    Hardware: V7.00
    Feature(s) : RDI,FlashDL,FlashBP,JFlash,GDBFull
    ---
    * JLink Info: Found SWD-DP with ID 0x2BA01477
    * JLink Info: TPIU fitted.
    * JLink Info: ETM fitted.
    * JLink Info: FPUnit: 6 code (BP) slots and 2 literal slots
    * JLink Info: Found SWD-DP with ID 0x2BA01477
    * JLink Info: TPIU fitted.
    * JLink Info: ETM fitted.
    * JLink Info: FPUnit: 6 code (BP) slots and 2 literal slots
    **JLink Warning: CPU did not halt after reset.
    **JLink Warning: CPU did not halt after reset.
    * JLink Info: CPU core locked up
    * JLink Info: CPU halted
    * JLink Info: Core did not halt after reset, trying to disable WDT.
    **JLink Warning: CPU did not halt after reset.
    * JLink Info: CPU core locked up
    * JLink Info: CPU halted
    * JLink Info: Core did not halt after reset, trying to disable WDT.
    **JLink Warning: CPU did not halt after reset.
    * JLink Info: CPU core locked up
    * JLink Info: CPU halted
    **JLink Warning: Could not set S_RESET_ST
    * JLink Info: Found SWD-DP with ID 0x2BA01477
    * JLink Info: Found SWD-DP with ID 0x2BA01477
    * JLink Info: SYSRESETREQ has confused core. Trying to reconnect and use VECTRESET.
    * JLink Info: Found SWD-DP with ID 0x2BA01477
    **JLink Warning: CPU did not halt after reset.
    **JLink Warning: CPU did not halt after reset.
    * JLink Info: CPU core locked up
    * JLink Info: CPU halted
    * JLink Info: Core did not halt after reset, trying to disable WDT.
    **JLink Warning: CPU did not halt after reset.
    * JLink Info: CPU core locked up
    * JLink Info: CPU halted
    * JLink Info: Core did not halt after reset, trying to disable WDT.
    **JLink Warning: CPU did not halt after reset.
    * JLink Info: CPU core locked up
    * JLink Info: CPU halted
    **JLink Warning: Could not set S_RESET_ST
    **JLink Warning: T-bit of XPSR is 0 but should be 1. Changed to 1.
    ***JLink Error: CPU not halted
    SWD-DP error: Could not write Ctrl/Stat register.


    Target info:
    ------------
    Device: LPC1768
    VTarget = 3.300V
    State of Pins:
    TCK: 0, TDI: 0, TDO: 0, TMS: 0, TRES: 1, TRST: 1
    * JLink Info: Found SWD-DP with ID 0x2BA01477
    * JLink Info: TPIU fitted.
    * JLink Info: ETM fitted.
    * JLink Info: FPUnit: 6 code (BP) slots and 2 literal slots
    Hardware-Breakpoints: 6
    Software-Breakpoints: 2048
    Watchpoints: 4
    JTAG speed: 4000 kHz
    ---
    * JLink Info: Found SWD-DP with ID 0x2BA01477
    * JLink Info: TPIU fitted.
    * JLink Info: ETM fitted.
    * JLink Info: FPUnit: 6 code (BP) slots and 2 literal slots
    * JLink Info: Core did not halt after reset, trying to disable WDT.
    **JLink Warning: CPU did not halt after reset.
    * JLink Info: CPU core locked up
    * JLink Info: CPU halted
    * JLink Info: Core did not halt after reset, trying to disable WDT.
    **JLink Warning: CPU did not halt after reset.
    * JLink Info: CPU core locked up
    * JLink Info: CPU halted
    **JLink Warning: Could not set S_RESET_ST
    * JLink Info: Found SWD-DP with ID 0x2BA01477
    * JLink Info: Found SWD-DP with ID 0x2BA01477
    * JLink Info: Core did not halt after reset, trying to disable WDT.
    **JLink Warning: CPU did not halt after reset.
    * JLink Info: CPU core locked up
    * JLink Info: CPU halted
    * JLink Info: Core did not halt after reset, trying to disable WDT.
    **JLink Warning: CPU did not halt after reset.
    * JLink Info: CPU core locked up
    * JLink Info: CPU halted
    **JLink Warning: Could not set S_RESET_ST
    **JLink Warning: T-bit of XPSR is 0 but should be 1. Changed to 1.
    Erase Failed!

    دیدگاه

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