[En-Nut-Discussion] Ethernut on AT91SAM9260 with 16 bits SDRAM

Harald Kipp harald.kipp at egnite.de
Tue Sep 9 15:05:03 CEST 2008


Simon Franck wrote:
> I would like to try Ethernut 4.6.0 on my AT91SAM9260ek with 16 bits 
> SDRAM. I saw I must define EBI_HAS_CSA but I don't where I must define 
> that ?

Hi Simon,

Probably in include/arch/arm/at91sam9260.h. Or, if you don't want to 
modify system files, you can add

   HWDEF+=-DEBI_HAS_CSA

in UserConf.mk of your build directory. However, be aware, that the 
SDRAM must be initialized before using it, typically in

   nut/arch/arm/init/crtat91sam9260_*.S

You can find a sample in crtat91sam7se512_rom.S.

Harald






More information about the En-Nut-Discussion mailing list