2 # Ethernut 3 board configuration file
4 # http://www.ethernut.de/en/hardware/enut3/
7 # AT91R40008-66AU ARM7TDMI Microcontroller
9 source [find target/at91r40008.cfg]
12 # AT49BV322A-70TU NOR Flash
13 # 2M x 16 mode at address 0x10000000
14 # Common flash interface supported
16 set _FLASHNAME $_CHIPNAME.flash
17 flash bank $_FLASHNAME cfi 0x10000000 0x400000 2 2 $_TARGETNAME
20 # Micrel MIC2775-29YM5 Supervisor
21 # Reset output will remain active for 280ms (maximum)
23 adapter_nsrst_delay 300
27 arm7_9 fast_memory_access enable
28 arm7_9 dcc_downloads enable
34 $_TARGETNAME configure -event reset-init { board_init }
36 # Initialize board hardware
45 proc board_remap {{VERBOSE 0}} {
51 mww 0xffe00000 0x1000212d
53 # CS1: Ethernet controller
59 mww 0xffe00004 0x20003025
66 mww 0xffe00008 0x21002026
73 mww 0xffe00010 0x22002e3e
77 mww 0xffe00020 0x00000001
81 echo "0x10000000 Flash"
82 echo "0x20000000 Ethernet"
83 echo "0x21000000 CPLD"
84 echo "0x22000000 Expansion"