Making a Bootloader for the AT90CAN32

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

Is the ELPM instruction listed in the at90can32 datasheet?

Yes, the ELPM instructions are listed. I am able to use the makefile now and get the bootloader in the chip.

Thanks

--Tim

What did you have to change?

I want to use the AT90CAN32 with Arduino, too.
Nothing special. Just playing with som CAN frames.
Do you see a chance to share the bootloader ?

I'm with pioca here

Yes please same here , can you share the Bootloader?