Return to Website   
Quantum Leaps Discussion Forum

Search the Forum for answers or post your questions to the
Quantum Leaps community



Return to Website

  Reply
  Forum

Subject:   Re: problems with AVR examples for QP/C
Name:   Miro Samek
Date Posted:   Jun 21, 08 - 6:22 PM
Email:   miro@quantum-leaps.com
Website:   http://www.quantum-leaps.com
Message:   It seems to me that the errors you encounter are caused by several inconsistencies.

First, you're apparently trying to use a QP port designed for QP v3.x with the new version QP v4.x. The major version of QP has been specifically incremented to indicate that the new version 4.x is *not* backwards compatible with the older ports for QP 3.x.

As you probably have noticed, the new QP Development Kits (QDKs) v4 for the Atmel AVR have been recently released (http://www.quantum-leaps.com/avr/), but these QDKs are for the WinAVR compiler (GNU compiler for AVR compiled for the Windows platform).

The QP v4 ports to the new IAR EWAVR 5.11 are planned, but have not been completed yet. The change in the major version number in the IAR toolset (from 4.x to 5.x) is the second source of inconsistencies for you. I have not used the IAR EWAVR 5.11 yet, but the migration from IAR version 4 to 5 for the ARM processor was quite involved. All elements of the IAR toolset, including the compiler, the assembler, and the linker have changed significantly. I suspect that similar nontrivial changes will be necessary to migrate AVR ports from version 4.x to 5.x of the IAR toolset.

If you are in a rush to get the QP v4 ported to AVR with the IAR toolset, I'd strongly recommend that you start with the QDK v4 for WinAVR and not the older QDK v3 for IAR. That way you will avoid most of the errors. Otherwise you can just wait a bit (perhaps a few weeks) for the official QDK v4 for AVR with the latest IAR toolset 5.11.

Miro
Replies:    
Re: problems with AVR examples for QP/C by Brendan Fox · Jul 1, 08 - 2:51 PM
Re: problems with AVR examples for QP/C by Miro Samek · Jul 2, 08 - 8:43 AM


  Reply
  Forum


powered by Powered by Bravenet bravenet.com