2013年12月6日 星期五

安裝 IAR EWAVR-6.2.13後 debugging projec 出現 error 0x2000001c

                                                                                                       Author : 一心の流 (Alex Chung)
安裝 IAR  EWAVR- 6.2.13 後 debugging project出現 : 
  "Failed to initialize USB driver: error 0x2000001c "

問題 :
  • 已經有Debugger : USB JTAGICE MKII
  • 當安裝好EWAVR-6213, When debugging my projectt the following error appears: 
         "Failed to initialize USB driver: error 0x2000001c ",("Incorrect WinDriver version installed")
解決方案 :
  •   如果是升級到 EWAVR- 5.40以後的版本 : 
    • 這些版本使用新版的 Jungo driver v (10.1.00). 當你安裝 EWAVR- 5.400以後的版本必須安裝新版的driver.
    • 參考原文 web page  : csavr-jtagicemkii.htm.
  • 如果是升級到 EWAVR- 5.40 ~ EWAVR-v6.10, 請在安裝的目錄下: XXX\avr\driver\ 裏面有batch files ,執行 "install.bat" 便自動安裝driver.
  • 如果是升級到 EWAVR v 6.11 以後的版本, 請執行 "AVRJungoUSB.exe"  (安裝的目錄下\ avr\drivers\Atmel).
  • 如果是使用 64-bits OS :
    •  版本EWAVR-5.40 中的 " JTAGICE mkII driver : 適用於 "Windows Vista" ," Windows 7" 但不適用於 64-bit XP.
    • 如果你安裝" AVR Studio Version 4.18" + "Service packs 1"+"Service packs 2",  升級" USB driver" 和升級 JTAGICE MKII 的 "firmware"." IAR Embedded Workbench for AVR 5.40" 將可在 Windows XP/64 bits 上執行.


reference  :

USB driver for Atmel JTAGICE mkII

EW targets:AVR
EW component:C-SPY debugger
Last update:October 29, 2012
Problem:
When debugging a project the following error appears:
Sun Jan 31 22:00:48 2010: Failed to initialize USB driver: error 0x2000001c ("Incorrect WinDriver version installed")
Solution:
If you have upgraded to version 5.40 or later:
These versions use a new version of the Jungo driver v (10.1.00). You should install the new version of this driver when you install the version 5.40 as it is recommended in the "csavr-jtagicemkii.htm".
For EWAVR v 5.40 to v6.10, please run the batch file "install.bat" by double-clicking on it. The bat-file is located in the directory avr\drivers in the product installation.
For EWAVR v 6.11 and later, please run the AVRJungoUSB.exe installer (located in avr\drivers\Atmel).
If you are using 64-bit XP:
The JTAGICE mkII driver can from version 5.40 be used on 64-bit versions of Windows Vista and Windows 7 but not 64-bit XP. If you install the AVR Studio Version 4.18, with Service packs 1 and 2, this will update the USB drivers, and the firmware in the JTAGICE MKII. IAR Embedded Workbench for AVR 5.40 will then work on Windows XP64 system.


EWAVR-6213簡介及下載

IAR Embedded Workbench for Atmel AVR

IAR Embedded Workbench provides extensive support for devices in all AVR families.

Key components:

  • Integrated development environment with project management tools and editor
  • Highly optimizing C and C++ compiler for AVR
  • Automatic checking of MISRA C rules for safety-critical applications
  • Configuration files for all AVR Classic, ATmega and FPSLIC families, including devices with the enhanced core
  • Extensive hardware debugger support
  • Run-time libraries
  • Relocating AVR assembler
  • Linker and librarian tools
  • C-SPY® debugger with AVR simulator and support for RTOS-aware debugging on hardware
  • Example projects for AVR and code templates
  • User and reference guides in PDF format
  • Context-sensitive online help

C-SPY target system support:

  • Simulator
  • AVR ICE200
  • AVR JTAGICE
  • AVR JTAGICE mkII
  • AVR JTAGICE3
  • AVR® ONE!
  • AVR Dragon
  • AVR Crypto Controller ROM-monitor for the Atmel Smart Card Development Board (SCDB) and the Voyager development system (optional add-ons, order separately)
  • AVR Studio via compatible output format (full support for Atmel ICE via the Atmel debugger interface)

RTOS support:

  • OSEK Run Time Interface (ORTI) support included
  • Micrium µC/OS-II Kernel Awareness Plugin included
Each RTOS plugin installs a number of new windows in C-SPY, most importantly the task or thread list windows where task-specific breakpoints can be specified and task-specific steps executed. Different inspector windows display the contents of the internal data structures of the RTOS such as timers, queues, semaphores, resources and mailboxes.

Supported devices:

CategoryModelNote
AVR XMEGA
megaAVR
tinyAVR
Automotive AVR
Battery management
Wireless
Smartcard reader
FPSLICC
Other
Mature
Note: Our partners frequently release new devices and the latest ones may not be listed here. We continually add support to new devices. Please contact IAR Systems to find out whether your new device is already supported or when it will become available.
直接下載Link:

沒有留言:

張貼留言

注意:只有此網誌的成員可以留言。