AVR CPU detection

Technical Note 78930

Architectures:

AVR

Component:

debugger

Updated:

11/6/2015 10:36 AM

Introduction

When debugging a project with an ATmega88A and IAR Embedded Workbench for AVR version 6.11 or older, the following error might appear:

FATAL ERROR Wrong CPU was detected. It is not a ATmega88A device,(Found device Atmega88P,id0x930) session aborted!

Background

IAR Embedded Workbench for AVR version 6.11 or older uses only JTAGID to identify a chip connected via Atmel AVR JTAGICE mkII or JTAGICE3.

In cases where there are multiple devices with the same JTAGID, some devices will not be accepted.

List of the involved devices: ATmega1284, ATmega164A , ATmega165, ATmega165A, ATmega168A,ATmega169A,ATmega16HVA2, ATmega324A, ATmega3250A ATmega325A, ATmega328, ATmega329A ATmega48A, ATmega644A, ATmega6450A, ATmega645A, ATmega6490A, ATmega649A and ATmega88A

Solution

Select the correct device and ignore the signature using the option:

 --drv_ignore_signature 

.. at Project > Options > JTAGICE mkII > Extra options.

 

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

We do no longer support Internet Explorer. To get the best experience of iar.com, we recommend upgrading to a modern browser such as Chrome or Edge.