Can not Compile usbdrvasm18-crc.inc in IAR Compiler

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
Apple

Can not Compile usbdrvasm18-crc.inc in IAR Compiler

Post by Apple » Sat Apr 09, 2011 7:16 am

I Compile V-USB In IAR Compiler whit 12Mhz ,work fine. but Can not Compile with 18mHz and CRC be enabled.

Sorry for my bad english,Please Help me.


.balign 256
usbCrcTableLow:
.byte 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41
.byte 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40
.byte 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40
.byte 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41
.byte 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40
.byte 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41...



Error[41]: Bad label D:\Work\Device\IAR\usbdrv\usbdrvasm18-crc.inc 637
Error[40]: Bad instruction D:\Work\Device\IAR\usbdrv\usbdrvasm18-crc.inc 637
Error[42]: Duplicate label:'usbCrcTableLow' D:\Work\Device\IAR\usbdrv\usbdrvasm18-crc.inc 638
Error[41]: Bad label D:\Work\Device\IAR\usbdrv\usbdrvasm18-crc.inc 639
Error[40]: Bad instruction D:\Work\Device\IAR\usbdrv\usbdrvasm18-crc.inc 639
Error[41]: Bad label D:\Work\Device\IAR\usbdrv\usbdrvasm18-crc.inc 640
Error[40]: Bad instruction D:\Work\Device\IAR\usbdrv\usbdrvasm18-crc.inc 640

Post Reply