IAR Embedded Workbench for AVR 에서 디버깅이 되지 않는 이유는?

기술노트 27938

아키텍처:

AVR

컴포넌트:

debugger

업데이트:

2018-02-28 오전 1:55

Introduction

This Technical Note focues on failures to start an IAR Embedded Workbench for AVR debug session.

Message

When using IAR Embedded Workbench for AVR version 5.xx the following error might occur:

Failed to initialize USB driver: error 0x20000009 ("No valid license")

Situation 1 + Solution

If an old version of Atmel AVR Studio was installed before IAR Embedded Workbench for AVR version 5.xx was installed, then the above error might occur.

Both IAR Embedded Workbench for AVR v 5.11A and AVR Studio uses Jungo WinDriver to create USB drivers. The version of the driver installed by the old Atmel AVR Studio is not compatible with IAR Embedded Workbench for AVR version 5.xx.

To resolve the problem you can install the latest version of Atmel AVR Studio (v 4.14 at time of writing).

Situation 2 + Solution

After installing IAR Embedded Workbench for AVR 5.40 (or later), the above error might occur in versions older than 5.40.

Installing IAR Embedded Workbench for AVR 5.40 (or later) installs a new version of the Jungo driver.

To solve this, open any project in IAR Embedded Workbench for AVR 5.40 (or later), and start a C-SPY session. Now, the Jungo driver will be started. Exit IAR Embedded Workbench for AVR 5.40 (later).

After this, open your project in IAR Embedded Workbench for AVR older than 5.40. The Jungo driver is already started, and should now work.

Note that if you reboot your PC, the above has to be repeated, that is, to start the Jungo driver.

 

All product names are trademarks or registered trademarks of their respective owners.

죄송하지만, 당사 사이트에서는 Internet Explorer를 지원하지 않습니다.보다 편안한 사이트를 위해 Chrome, Edge, Firefox 등과 같은 최신 브라우저를 사용해 주시길 부탁드립니다.