I'm having problems interfacing a 16-bit SDRAM on the k65.
The SDRAM being used is an MT48LC4M16
The SDRAM is connected as in the picture attached.
The problem I get is when I try to access the SDRAM, with an 32 bit access not with 16 or 8 bit, and writing the prechargeall command I get some sort of exception and landing at 0x10066958.
When accessing with 16/8 bit I won't get any information to the SDRAM, writing and reading all result in 0x0 in values.
Anyone had similar problems?
Original Attachment has been moved to: Sdram.cpp.zip