Copy protection and legacy command line compilation

Technical Note 26271

Targets:
All

Component:
Licensing

Updated:
1/28/2011 1:35 PM

Introduction

The compiler fails with a copy protection error when compiling from the command line. When compiling in the IAR Embedded Workbench IDE there is no such error.

This Technical Note only applies to IAR Embedded Workbench products using License Management System version 1 (LMS1), and the specific versions listed below.

This Technical Note applies to the following versions:

Product:
M16C
X96
740
SH
H8
6812
COP8
78000
V850
SAM8
430
Z80

Version(s):
1.32A to 1.36A
6.00 to 6.02
2.12 to 2.17
1.12
1.52D to 1.53
2.43 to 2.44
1.20 to 1.31
3.32 to 3.34
2.11
1.50B to 1.52
1.23 to 1.26
4.06

Product:
AVR
PIC
7700
H8300
6811
6816
CR16
78400
65K
MK5
6502
EZ80

Version(s):
2.25 to 2.28
2.12 to 2.21
1.33 to 1.34
4.20 to 4.21
4.46
2.11
1.42 to 1.43
1.31 to 1.33
2.10 to 2.11
1.21 to 1.25
2.13
1.15

Product:
8051

Version(s):
5.51 to 5.52

Background

The compiler fails when any of the names in the path is not a simple name. (The IAR Embedded Workbench IDE helps the compiler to handle this situation when compiling in the IDE, thus this error do not occur when compiling in the IDE).

Solution

Use simple paths in the command line. Use these simple paths for all references. With simple paths we mean:

  • Directory names with maximum 8 characters.
  • Use only A to Z and/or a to z and/or 0 to 1 as characters in the directory names.
  • Do not use 'space' or any other 'white space characters' in the directory names.
  • An example of a simple path is:
    C:\IAR\M16C\exe\ICCM16c.exe

 

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

Related Tech Notes

© IAR Systems 1995-2016 - All rights reserved.