I am using an AT90CAN128 to replace an ATmega128 in an existing design. The hardware compromises 32KB of external memory and a RealTek NIC at 0x8300. The OS used is uIP and Nut/OS.
I am experiencing problems which I haven't been able to track down but it relates to the AT90CAN128 chip. Code compiled with the I/O header files for atmega128 runs on atmega128. Same code compiled with the I/O header file for at90can128 crashes after a while. Same hardware. Tried gcc and icc compiler, same result.I scrutinised the code for all access to registers and we always use the menmonics from the I/O header files.
The issue can relate to hardware, software, compiler or the new chip. Of course it will be very likley the software but I like to ask the question if anybody else has experienced stability problems when using the AT90CAN128?