Has anyone used the AT90CAN32 with the Arduino bootloader?
I have used the AT90CAN128 for several years now, and would like to use the AT90CAN32 now. I have tried to make a new bootloader using the AT90CAN128 and changing the specifics form AT90CAN128 to AT90CAN32 in the "Makefile" and the Atmega_168_BOOT.c file and get an error.
avr-gcc -g -Wall -O2 -mmcu=at90can32 -DF_CPU=16000000L '-DMAX_TIME_COUNT=F_CPU>
4' '-DNUM_LED_FLASHES=2' -c -o AT90CAN_BOOT.o AT90CAN_BOOT.c
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccRV4OHF.s: Assembler messages:
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/ccRV4OHF.s:998: Error: illegal opcode elpm for mcu at90can32
make: *** [AT90CAN_BOOT.o] Error 1
Hope someone can help.
Thanks
--Tim