Go Down

Topic: Making a Bootloader for the AT90CAN32 (Read 1 time) previous topic - next topic

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>
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.



Coding Badly

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. 



Coding Badly


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 ?


Accelerate to 88 miles per hour.


Yes please same here , can you share the Bootloader?
"Real Men can Accomplish  Anything"

- skype : nishants5  

ਫ਼ਤੇਹ ਕਰੁਂ!

Go Up