Home

Ethernut 3.0 Rev-E Hardware User`s Manual

image

Contents

1. 9 S 2 4 T b p 199US ana ano 61 86 2 9802 20 98 21607 19598 fAtddng damog ar egginue g g Hawg asemzos aruba gt i Sa ee al se sf SS Sik SIP Sle SR 85 S se ANS Su Sle SE SF SS ang ON9 ano ang T N Ig ana coon mr MOSZTOTINTEZ ano 8 ji MOSZIOTINI 2 SUOI Zy o31 MS 5151 ana emn K 4 z sean fg an9 ZUI CI 2 Z MOBEITINW Z4 mm sio wl ONON SS a Pat ano 100 ET 4 158 ONS 2 J 1 E 0 39N G ano 0133n EZ _ am ON9 01930 1 154 29 57 ano onn SH Tesrutene uu TOSCYTENTE ang ornan 82 31 TS NO 990 Foz i y EE 3 se se 37 ci DIOL Xbb TSGIX ano 85 RNS SIX Sis INEbZEXUH 991 99n iL a OND da Six tasrelewie ONO 499N 2 33n 26 ZE baa OND ON9 ILAZ BZCENA8H LY NV Ng L 4531 7
2. 5 e 2 T 23989US 92814910 901 ang 35013 SUI Teay soyessuag DOTI ZZ00IX 6T 8Z 9T 900Z 20 90 92811910 TEZS ENED NdI SI SHIX egeinus 3 4 13 9 IGLX t Hqug suemzos yub i suy t eo 1019 ji 14117 I gt gl OLE j 8 s S0 8 4 1 d SWL n x I lt eeu GS3 ZZ9 d eno aoe eha sae a of tae AN no B Ss Ga 999 T24 620 ool pg S E 3 6 86 odlu 97 SUI g lt B 2S9 8 4 8 d XIL ere Tees pee T TOL a Hg t TS sT tsan ps a s ib aces rr are Sate ew ason Je SUSE RI Bray gs Ms OT ne Laz LIGMN 155 ALI 8 OL JJL T Liuz ote 30N 08N zg 130N gt a Mov 5 1S suv lt S A Sty 8NN THMN 22 Sui HES SUL TSO 3 lt ama z Zt E6 99n 5 OTa CET EI ANOOMN Gi WET ete DU Ze onda FETI Eson eed gatte ano ana lt ar e 9 TSIN 9Zd gg SD ano 7 ONON STA jeg 524 TBE 88 5 HT mal a 7 ed Fg Ee
3. ri rai 6 ita 6 Board E pui aus Ea lare ai ria ani 7 Using the Bootloader ua RE a 9 TEREP taie 10 rara RR 12 12 JTAG P r iii EEDD 12 Hardware EXPANSA ors net delie EAE E E ae 14 Expansion Polti 14 Troubleshooting i oppio ARRE 16 SICK EN MRE isn rien Ei eni 18 iO 20 About the Ethernut 3 0 Board About the Ethernut 3 0 Board Low cost Ethernet capability can be added to many embedded applications Since its introduction in the year 2000 Ethernut boards have been used to develop some of the most innovative products Using the hardware firmware software and tools developers have everything they need to develop leading networked devices rapidly and affordably The board is well suited for application development in a wide range of applications Some areas are E Networked sensors E Remote monitoring equipment E Alarm service providing E Remote diagnose and service E Industrial Ethernet applications E Home and building control Ethernut Features Ethernut 3 0 is a small 80 x 100 mm board combining Atmel s AT91R40008 RISC microcontroller with Davicom s DM9000E Ethernet controller The main features are m ARM7TDMI RISC microcontroller with up to 75 MIPS throughput E Full duplex IEEE 802 3 compliant 10 100 Mbps Eth
4. 1 3 Regulated 3 3V 2 VCC3 Regulated 3 3V 3 NC Not connected 4 Not connected 9 GND Signal ground 6 GND Signal ground 7 GND Signal ground 8 GND Signal ground 9 Reset input 10 DC Unregulated supply 11 NC Not connected 12 C Not connected 13 RD Memory read signal 14 WR Memory write signal 15 DO Data bus bit 0 16 DI Data bus bit 1 17 D2 Data bus bit 2 18 D3 Data bus bit 3 19 D4 Data bus bit 4 20 D5 Data bus bit 5 21 D6 Data bus bit 6 22 D7 Data bus bit 7 23 AO Address bus bit 0 24 Al Address bus bit 1 25 A2 Address bus bit 2 26 A3 Address bus bit 3 27 A4 Address bus bit 4 28 A5 Address bus bit 5 29 A6 Address bus bit 6 30 A7 Address bus bit 7 31 A8 Address bus bit 8 32 A9 Address bus bit 9 33 A10 Address bus bit 10 34 A11 Address bus bit 11 35 A12 Address bus bit 12 36 A13 Address bus bit 13 37 A14 Address bus bit 14 38 A15 Address bus bit 15 39 P15 UART 0 Receive 40 P14 UART 0 Transceive 41 P13 UART 0 Clock 42 P8 Timer 2 I O B 43 9 External IRQO 44 P27 Chip select 3 45 PIL External IRQ2 46 P12 Fast IRQ 47 PO Timer 0 Clock 48 Fi Timer 0 I O A 49 P2 Timer 0 I O B 50 P3 Timer 1 Clock 51 P4 Timer 1 I O A 52 P5 Timer 1 I O B 53 P6 Timer 2 Clock 54 P7 Timer 2 I O A 55 P17 GPIO 56 P16 GPIO 53 P22 UART 1 Receive 58 P21 UART 1 Transmit 59 P23 GPIO 60 P20 UART 1 Clock 61 P19 GPIO 62 P18 GPIO 63 NC Not connected 64 NC Not connected Important Note Pins 39 62 are not 5V tolerant
5. 9 2 E B E 67 86 21 9007 0 90 3IP 49 U YOUSUF agginua F Asy Q E MUJI Hqug auemzos aruba ni zz E01d9 zx 16 4911941055 NYI 0 95515 az oe 89 95514 0Id9 TX z DIN 05 He 53098 INIT SE WTO XL i 5 5333 axa 37 s2neubew 9501 3 oan ES SEY ZI ana 1033 OW8Z gt 19 ESSI di 0033 25 TE 073IHS ON DION ON ON zaxa SISI TOxd TOTI Lo 1S31 axa 198 E E1SIL EOXL ae SX 5 ZISaL ZOXL 55 E p SY TEI TOXL j N jF aans on 5 g CEREC 5 X ero E ou ae X 1 Di 0x1 709 e a 9 13l gg 583 X9d2 2MZ9N TOISINS NEDIN 3345 ed X9dZOZMZIN 4 L98 NIT 9 g LIUMOI T j pira Sla aria ro STO etos Anan ar 4 3 SE STR Gio ci S TP TOT mor 03 3 R lt Er ETOS aor 30 3 l lt ZIOH3 ee aig 3B 110S ISU Md Ogg 3 35 eras isu Te 60s INI arl 919 lt _80 gg 835 lt Za ET 15 Nay TSN lt __9G 908 885 NEJIN so a sas Bus sel aga 5 ano CET EOS 9 5 Te zos sus HE NEDA CI 44S da 00 eas uo y TZ 3000610 9 S E T 22 Schematic
6. 16 Problems Solution Ethernut doesn t respond to pings The yellow LED does not go on Configuring TCP IP looks generally simple after one has understood the principle but may still become confusing under some circumstances For example changing Ethernut s MAC address can disable a link which had been running fine before the change This happens because the PC remembers the MAC IP relations for some minutes Check your configuration again Make sure that Ethernut and the PC are located in the same network sharing the same IP mask and network IP address If you don t know what all this means check the WWW for some excellent TCP IP tutorials My application is working fine when uploaded by TFTP How to burn it into non volatile Flash The Starterkit came with a programming adapter called Turtelizer It works with the JTAG O MAT utility which is available on the Starterkit CD and at www ethernut de After reprogramming the CPLD my board stopped working You can change the contents but not without risk Anyway Ethernut 3 had been designed with user programmable CPLD in mind Just make sure that you never create output pins which may conflict with output or bidirectional pins of the CPU To re awake the board combine the JTAG jumper settings CPU JTAG and Internal JTAG and upload the XSVF Executor into the RAM by using the Turtelizer More details are available at www et
7. Se SE 50 7A SIP SH 1 8 jgz 3 o o lt Zid 5 15 ON lt L 35 8 a 8 q vas 1NI lt 88 819 gz SID 215 5 tai q 1980 0090 ZI zy 816 zz Bid CII Id zzl Ha g 29 asns zs jo ZSD TE 214 Ha LAIN 2079 30 MNOHS jr 301105 Sey new 9td 37 210 zz sy 8479 aS IT ap 2999 1950 rrinisorze BOXxd std ps Std SID Id 21 l YAI 1915 69 zz eu BUdEZTX ZA Sto sta QOXL 4Td gs td gt TA PBs 251 ema GI QUIS ET z Er YE B age SN TI eta 5 5 lt ZioH zoul ttd HAITI na ToOul atd g5 BID S oz 210 2081 64 gets J R lt _6o 8011 86 84 aut sd 4011 24 Es 99n 99n aan TH 20 31 94 a 94 IE 90 Ta011 Sd sa 54 TI sa TWOLL d ag Zezsy Jano Janod 9 40 073155 LIT jpa 64 lt CIGHNINS zz TOTH 1UNow pue Ssroway an LIT ed 8011 Zd le Lee NOT 32804 8 lt a e QvOIL Td lt Ga0NI Fa 4039804 lt 0 TH 01 er _ad gt rete aa asun jer L3SI00 gt 155 iosa nisa 3 9 CELERE ara TOT Qs Inocd tsaso Sil LNOZA zz zni ST S T lt IITIH nota nit ag 5 isa gq Z S19 9 lt dl09 NIEL 38 a NIZL INOZI i 5 Saj esie SII
8. and must not be connected to 5V logic without proper level translation Pins 13 38 are 5V tolerant For detailed specifications refer to the AT91R40008 and XC95144XL datasheets 15 Ethernut Hardware Manual Troubleshooting BootMon produces garbage BootMon was unable to detect a output and the yellow LED space characters at the required at the RJ45 goes on after baudrate The terminal emulator may a few seconds use a wrong baudrate not send any characters because of handshake settings or other RS 232 communication issues The red LED does not go The fuse may be blown Remove any on when applying power kind of attached hardware and remove all jumpers Make sure the board is placed on a non conductive surface like a piece of paper Replace the fuse 1A superfast and supply the board via the barrel connector J2 only with not more than 24V DC Best use a lab power supply with current control and carefully increase the voltage starting from 3V The board should not draw more than 150 milliamps The yellow LED at the The yellow LED will go on only if RJ45 connector does not Ethernut is connected to an go on after pressing the Ethernet network and the Ethernut reset button software properly initialized the LAN controller hardware on the Ethernut Load the board with BootMon image via JTAG Replace the Ethernet cable and try the same connection with your PC to make sure that the network link is working
9. clock generator IC5 The microcontroller clock is configured at 73 728 MHz while the Ethernet Controller runs from a 25 MHz clock signal Two additional clocks are available for the CPLD but are not used in the standard configuration A second crystal Y2 with 32 768 kHz drives the on board RTC chip IC7 WARNING Note that changing any frequency will alter the Ethernut board s EMC characteristics and require re testing Static RAM The AT91R40008 CPU provides 256 kBytes of high speed 32 bit on chip SRAM which can be used for code execution and data storage Flash ROM The AT91R40008 provides no on chip flash memory An external flash memory chip had been added to permanently store program code and read only data This memory is organized as 4 Mb x 8 bits and can be re programmed by the CPU To achive this a simple flash utility is programmed into the CPU RAM and started via the JTAG interface This utility will then communicate via the JTAG adapter and burn the received flash image into the external memory chip About the Ethernut 3 0 Board EEPROM The Xicor X1286 Realtime Clock Calendar chip has a integrated 32 kByte EEPROM typically used for configuration data storage This chip is accessed via a TWI 120 interface However as the CPU doesn t contain any TWI hardware software bit banging must be used Configuration Jumpers In opposite to its predecessors almost all configuration settings are done in the CPL
10. in the previous chapter hold down the space bar on the PC keyboard and press and release the reset button on the Ethernut board This is the tiny push button with the red LED at the board s edge near the MMC socket After some seconds the following output should appear in the terminal emulation window BootMon 1 0 1 MAC address 000698300000 Your preloaded version may be higher and the MAC address will differ The bootloader is resident which means that it is started each time you apply power to the board or press the reset button However it will normally work silently in the background using any previously entered configuration To change this configuration a space character must be send to the serial port immediately after starting Let s enter a new configuration now The MAC address should have been correctly set Press enter to confirm this parameter A MAC address also referred to as the hardware or Ethernet address is a unique 48 bit number assigned to every Ethernet node The upper 24 bits are the manufacturer s ID assigned by the IEEE Standards Office The ID of Ethernut boards manufactured by egnite Software GmbH is 000698 hexadecimal The lower 24 bits are the board s unique ID assigned by the manufacturer of the board Boards produced by egnite do have a unique ID which is written on the board BootMon will ask for the IP Address of the board IP address 0 0 0 0 If your network provides a DHCP servic
11. you can download the CPLD programming software to the CPU via JTAG As soon as this software starts running it will program the CPLD 13 Ethernut Hardware Manual 14 Hardware Expansion Ethernut and custom hardware Many applications will do just fine with nothing else than the Ethernut or external hardware may be connected to the RS 232 port However if more is required the Ethernut expansion port is the first choice to add custom designed hardware Expansion Port Add on boards can be added to the expansion port This connector contains partial CPU data and address bus memory read write signals digital I O ports reset signal and power supply Nearly all microcontroller pins are available at the expansion port connector providing an interface with several features like 2 wire interface 120 or counter inputs and outputs It is strictly recommended to consult the AT19R40008 data sheet before attaching hardware to the expansion port Many signals are routed through the CPLD and may be redefined by re programming this chip Although available at the connector some signals are used internally by Ethernut and can t be used by external hardware Carefully check the schematic The following table lists the expansion port s pin assignment Pin Signal Description Pin Signal Description Hardware Expansion
12. D IC3 Only a single jumper area is left to configure the JTAG chain For historical reasons this jumper is named JP5 Jumpers JP1 to JP4 do not exist Upgrading from Previous Ethernut Revisions Ethernut has undergone many changes since its initial release in the year 2000 but board dimensions and positions of main connectors remained unchanged Also the software still supports all previous Ethernut Boards even revision 1 1 with the ATmega103 microcontroller which is no longer in production However there are a few things to consider The most important change to notice is the different CPU used on Ethernut 3 Thus you can t use programming adapters shipped with previous starter kits because Ethernut 3 0 needs a specific JTAG adapter for an ARM CPU SPI programming is not supported Never plug your SPI adapter into Ethernut 3 0 programming socket Also note that the ARM7TDMI used on Ethernut 3 has a different I O port layout compared to the AVR CPUs used on previous boards Care has been taken to keep the expansion port as compatible as possible However all expansion port pins which are directly connected to the CPU must not be used for 5V logic Only 3 3V logic is allowed at these pins because the CPU is not 5V tolerant 5V logic signals may be connected to expansion port pins which are connected to the CPLD only The CPLD is 5V tolerant E Changes from Ethernut 3 0 Rev D to Rev E E Fully RoHS conformant E RJ45 magnetic
13. E AAA Se Seuss 0009 se eS w Nje i gt O lt ZI0IH7 ETHSI SIUTI ce 1 619 lt a a TIT the OWES TE Lee SUIT Ska SWE 4 tee Ltr SUI ENa 09 ze 564 lt GUON ola uil all In Jr Ir thy In fog foo lo ea fea fs la la ala leo len len enlo Jo I 9 64 OtWt4 510 SONA SONA Na Sasa S poo paste SII AIDIGIC La il lt c 4 519 QUI TE SIS SIS S S S S S S SISISIS SSS Suva TUZA 4 86 BECERA INCI lt 2 pg 6524 zita 5 Tava 2 CNS lt B ETUCI Wta az 1 610 CUS iS TINA TINTA iz bee e lt B Ta HST 1190 uopsuedx3 nua lt TR gs 1 gy OLAANN SER sg FINZI BUTI HS 7 IU N lt ET SIHZI 9 14 ae 89 Swe iea sara E anni X9dL ZMZIN 40 33uu07 aued lTi eH Zhe EUTI PST fanau N Sidi se shes 4 80 1747 az btd 9484 2tW24 ar lb Sera 8 ensa suza SE 28 Ve lt CHE EUSI SIUZI gt eo ang gw 80 38 6 84 ETUZI zp gt R R lt d buss piza Sb 2 fs Sig ge or 53 5 ATASE 5 184 Tiza e 3 5 39N IN x lt tdr 91484 ami 3 eli ISSN Fy 1353 0 9 AE sd bbe 5 9 IO al 5 84 asnan sty e C sda 1 84 519 HH lt m ogg OTIS Ho SLIN zA 3148N 810 lt zdar stuss vizi ia dI___ Tra i lt ANT IM
14. Ethernut Version 3 0 Hardware Users Manual EMBEDDED ETHERNET ETHERNUT Manual Revision 2 1 Issue date September 2006 Copyright 2005 2006 by egnite Software GmbH All rights reserved egnite makes no warranty for the use of its products and assumes no responsibility for any errors which may appear in this document nor does it make a commitment to update the information contained herein egnite products are not intended for use in medical life saving or life sustaining applications egnite retains the right to make changes to these specifications at any time without notice All product names referenced herein are trademarks of their respective companies Ethernut is a registered trademark of egnite Software GmbH Contents About the Ethefnut 3 0 Boatd iii frei 1 Ethernut FOatlufhes uit anali ta Ghin ani ainia Ea a aE a aaa 1 BIOCK Diagrami simien rnnr ue alii a E Ga Eea 2 LED Ingicators rici aaa 3 Serial Ports eee e it 3 Eth Onin ciccy nausea ley e in 3 ExpansioniPorti ssi ae doje Seeded ei pai a 3 Power Supply portiera aan 4 WiatchdogiTimer 4 System GIOCK 4 Fiash ROM scritta 4 Stati RAM cuccia RR AA LI Lin 4 EEPROM iii pees RR e ni 5 CONFIGURATION E Ea EEEa 5 Upgrading 6 6 5 aa ei 6 Prerequisites Tor Operatiomiie
15. N 19 Ha e gt 129196 100g Zidiggr 4 519 esan lt ZI40u a SON 30N 919 Ha 18 ida thes 1519 gt _Sta gt lt L ELYON 7 E140 09 IH T 4 ST0 Sty a 519 lt Zzd zgr 211484 Uso 5 lt OLIU z MI Gi TY ST lt zd orr 9194 4 ana 13 Z OTT E Seta ety e gt SEed a 9194 cina Hay lt 21904 enn IO 210 zw er 6 lt lt 9424 2194 eer q Q13IHS Te AD Sid 8494 31 4 Halo p ON9 ld 9199 LI 61191 1 er 7 essa alt sa 64 ow bed 94 4 55 Tivd 0713IHS ze TT DE 8 ZHI Bilge 80 85 jg 56 INE 51151 athea eer 29 la kas haaha TAN pozz 600504 Sa 20 2y jar 89 IH Tes CIA 89 D D No ST IH 90 w 8 5 83 94 EWb4 89 8 at ca su ES Cade zma tia E Ha bd Y az a ras TWSA su Ter si 5 a az lt LI ZT 9 4 844 oer aid id n 384205 DUI ZH 20 w Hb THA 9 1 ezr LLR lt 0 lt GHU Sze thes GWe4 azr EIA 27 94 av ao 7 7 EIIN 9 S E 21 Ethernut Hardware Manual
16. OND 59 z naea ano X9d 0ZMZIN X9d282MZIN 701 EIIN Negan RO Ro S SB Sle Se SB Sg Se SR SS SS So Se So SR Se SA Se Sit SS STP SIS SIP 9 S ang RIN I S ono 3800 12 HH ane la BACON 72 aNd ONS NEDIN as aNd ONO NEINN fe ang oan feg Pesa OND NEDIN pz 4 mo oman 5 Ha go Nonn de 9 NEOON Tag ana organ 65 4 noy ano Ti an 59 57 4 8 ong omon fez 78 Slo als ON9 NEINN FES iI ang omon aT 2977 Ew EIN ano 84 COSTES 84 aNd 99nY Tasrytelg Z aoaaa Ty Xa Gazz ONE CIAN z 1 aNd cad edan 29n 3000610 azar EIIN don ang 8 8 8 48 80 4 Tad STETINPIJ g 5 40421948 un ana na u i z3 13 L X 84 ON9 4 z z oT ae ema Ms BIO 5 3 TA ee 35 nas Op EN 8 R H z 8 29 19 ay 3 Lnon NIN 19008 NIN ID ALEN YIYGBEIIHd 93 9 ms 8531 za 831 29n L_z I paiunow 1 Z Tr 9 S 1 E amp 23 egnite Software GmbH Erinstr 9 44575 Castrop Rauxel Germany Phone 49 0 23 05 44 12 56 Fax 49 0 23 05 44 14 87 Email info egnite de http www egnite de http www ethernut de
17. P IP networking This manual will not present any of these basics but you can find excellent books or web resources about these topics Precautions Born out of an Open Source Project the Ethernut board is a commercial product from which you expect some kind of fail safe operation But also keep in mind that a bare electronic circuit is a fragile product which demands careful handling In the first place learn how to avoid problems caused by electrostatic discharge Board Installation 1 Remove the board from the antistatic bag Visually inspect the board to verify that it was not damaged during shipment Do not use the antistatic bag as a underlying pad for Ethernut because it s electroconductive Put the board on a wooden surface or simply on a piece of paper Plastic surfaces may be harmful because of electrostatic discharge WARNING As with all computer equipment the Ethernut board may be severely damaged by electrostatic discharge ESD Be sure to take proper precautions before removing the Ethernut board from the antistatic bag Never pass the board from one person s hand to another 2 Connect Ethernut s DB 9 RS232 port to an available COM port using the serial cable 3 Use one twisted pair cable to connect Ethernut s RJ 45 connector to the hub or switch and the other twisted pair cable to connect the hub or switch with the network adapter in the PC If you are not using a hub or switch then directly connect the Et
18. T 8 Tt oa uae 2 29 JOT USO E 9 913 T E ZZ TNA ply a eg De cuts La L INEFZEXON 931 9 S E T 20 Schematic 9 e 4 T b Z 39US 1104 UOISUEdX3 INUISUII 92814910 3U d 13X90S IU BT 8C 9T 9007 0 90 21807 atqewwe boid ONS Aaoway HSYTA TO 20E NUS 3 9 Nyau ug asemzos aruda eni Haws 195 2 SNO 2US4 1 AG SWS4 STWE4 gg LONNI gt CIONI 9USI HD lt SONd Fi BUSI 1 11543 lt CY0I lt IUN3 6494 5813 AMN se TIWSI or esa QUO EHSA 4 005 SUI ana lt 10 Gee THs wwa 15155 T lololo cag LHS TIWEJ 15125 5 81559 8 9 9 5 5 5 5 9 9 5 5 5 9 6 5 stwa ewes ST gt 5 NIN SS FI 2464 eves GIS ID Ss esd Oe so 55 lt c 1 ep ASSISI SIIT FISSAR
19. ction received from 192 168 192 33 on port 1024 20 11 20 56 55 525 Read request for file lt threads bin gt Mode octet 20 11 20 56 55 525 lt threads bin gt sent 46 blks 23492 bytes in 1 s 0 blk resent 20 11 20 56 56 166 gt I The sample contained in threads bin demonstrates NUT OS multithreading capabilities and outputs a series of Hs Ms and Ls You may want to check the source code of this sample now or try some of the other samples 11 Ethernut Hardware Manual 12 Jumper Configuration Adapting Ethernut to specific requirements Jumper Overview Almost any available configuration is done in the CPLD except setting up the JTAG chain For this JP5 is used The picture below shows the default configuration where the JTAG connector is directly attached to the CPU JTAG Port The angled boxed 10 pin header connector allows serial programming of the AT91R40008 as well as the CPLD without physical removal of the chips from the system WARNING Unlike previousbolard revisions Ethernut 3 0 doesn t support programming with SPI Adapters Thus you can t use one of the programming adapters from previous Ethernut boards Connecting an SPI adapter to the Ethernut 3 0 JTAG connector will at least blow the board s fuse or in worst cases destroy your Ethernut Make sure to either use the programming adapter of the Ethernut 3 0 Starter Kit or any other JTAG adapter for ARM CPUs For the latter a
20. d on boards can be added to the expansion port These boards may contain simple I O circuits driven by the Ethernut board or may be equipped with their own CPU using the Ethernut board as an Ethernet I O processor only Ethernut Hardware Manual Power Supply The I O logic of the Ethernut 3 board is driven by a 3 3V power supply while the CPU core runs at 1 8V The board provides its own voltage regulators IC8 and IC9 It only requires an unregulated power supply of DC 5 24V with a minimum current of 200 mA Two different methods may be used to connect an external power supply 1 A standard 2 1 mm barrel connector This input is protected by a fuse F1 a fast transient voltage suppressor D1 and a rectifier bridge D4 D5 D6 and D7 2 The DC signal is routed to the Ethernut expansion connector to either supply add on boards or to receive power supply from an add on board This input is unprotected As soon as power is attached to any of the inputs the red LED in the reset switch will lit Watchdog Timer Software bugs temporary hardware failures caused by electrical transients or interference and many other problems might cause the system to malfunction The AT91R40008 microcontroller IC1 provides an on chip watchdog timer which forces a system reset if the application program fails to periodically update this timer System Clock Driven by a 25 MHz crystal all high speed clock signals are generated by a programmable
21. e you can leave the IP address at all zeros However for a first test it is recommended to specify an individual address which fits to your local network For example let s assume that your PC got IP address 192 168 0 3 than 192 168 0 4 should work provided that no other device in your network is using this address Enter the individual IP address and press enter BootMon will prompt for the network mask Net mask 255 255 255 0 You must use the same network mask as it is used with your PC In general all nodes within a local IP network must have the same network mask After entering a network mask BootMon asks for a default route Default route 0 0 0 0 This should be the IP address of your router used to connect to the Internet This information is only required if the Ethernut board will be accessed from or will Bootloader Ethernut Hardware Manual 10 access another node via the Internet For now we can leave this entry at 0 0 0 0 which means that no Internet gateway should be used Finally BootMon will ask for the TFTP Server IP and for the name of the image to load from this server TFTP IP 192 168 192 2 TFTP Image threads bin The IP address should be the one of your PC The name of the image is actually the Ethernut Application we will load into the board After pressing enter to confirm the TFTP image name all parameters will be stored in non volatile EEPROM memory and BootMon will immediately t
22. ernet controller with on board RJ 45 connector m RS 232 at DB 9 connector with full handshake E Multimedia Card Socket E 4 MByte in system programmable Flash ROM m 256 kByte SRAM 512 Byte in system programmable EEPROM E 24 programmable digital I O lines E Real time clock with two alrams E Three 16 bit timer counters E Watchdog timer for enhanced reliability m LED indicators for power supply and Ethernet activity E Single power supply DC 5 24V Ethernut Hardware Manual Block Diagram The block diagram shows the main components Definitely the most important part is the AT91R40008 microcontroller It s a quite complex chip and described in detail in Atmel s AT91R40008 data sheet Almost all I O ports are routed to the Ethernut expansion port a 64 pin connector which can be used to add custom hardware Glue Logic AT91R40008 X1226 MCU 256kB RAM CY22393 RTC 512B EEPROM Clock AT49BV322A DM9000E 4 MByte FLASH Ethernet Controller The microcontroller provides two UART channels which are routed to the on board RS 232 level shifters A Xilinx CPLD is used to implement the glue logic While Ethernut s software offers serveral bootloader capabilities over RS 232 or Ethernet program code is initially uploaded through the JTAG interface The connector layout conforms to Atmel s 10 pin AVR JTAG interface WARNING Ethernut 3 uses the same JTAG connector layout as its predec
23. essors Ethernut 1 and 2 which is not compatible with the standard ARM 14 pin or 20 pin connectors A cable adapter will be required to attach standard ARM JTAG adapters About the Ethernut 3 0 Board LED Indicators The Ethernut 3 0 board is equipped with four LEDs Two of them are integrated in the reset switch a red LED to indicate power supply and a green LED which is available for user applications Another two LEDs are integrated in the RJ45 Ethernet connector The yellow LED indicates the network link status and is lit when the link status is OK The green LED indicates receive and transmit activity from and to the network Serial Ports Ethernut provides an on board DB 9 male connector for RS 232 serial communication IC6 is used to convert the required voltage levels for RS 232 from the 3 3V power supply Any of the two serial interfaces of the microcontroller can be routed to the RS 232 connector via selection registers within the CPLD In the default configuration the first interface UARTO is routed to the RS 232 connector while the second interface UART1 is not used Ethernet Port Ethernut provides an on board modular RJ 45 connector with an integrated 100 10Base T transformer filter for its twisted pair Ethernet port This port is connected to the Davicom DM9000E Ethernet controller The interface supports the maximum cable length of 100 meters between the Ethernet board and a hub or switch Expansion Port Ad
24. hernut board with the PC s network adapter using a twisted pair cross cable 4 Connect the power supply to the barrel connector on the Ethernut board The Ethernut board is equipped with its own rectifier bridge and voltage regulator Therefore the polarity of the barrel connector isn t important WARNING The power supply should not be plugged into an electrical outlet before connecting it to the Ethernut board 5 Apply power to the Ethernut board by connecting the power supply to an electrical outlet When the board is powered up the red power LED should go on 6 Start the terminal emulation program at 115200 baud no parity 8 data bits and 1 stop bit Disable hardware RTS CTS and software KON XOFF flow control Baudrate The baudrate of the Ethernut board is specified by the CPU clock IC5 73 720 MHz by default and a baudrate divisor ranging from 0 to 65535 The actual baudrate can be calculated by baudrate CPU clock 16 divisor Quick Start Ethernut Hardware Manual 7 Resetthe Ethernut board by depressing and releasing the reset switch located near the MMC socket Hold down the spacebar on the terminal emulation program and wait until the BootMon welcome message is displayed See the next chapter for a detailed description of the BootMon program Using the Bootloader Using the preloaded BootMon firmware to load Ethernut applications When using a terminal emulation program like described
25. hernut de Troubleshooting 17 Ethernut Hardware Manual 18 Sick Ethernuts Is there still life in it Our warranty scheme is simple All boards have been extensively tested before shipment and we feel responsible that it continues to work reliable after passing it to you If the trouble shooting guide doesn t help or if it results in the conclusion that your Ethernut is broken you should send an email to info egnite de including the following information E Ethernut Revision printed on the back side of the board E MAC address of your Ethernut written on top of the board and on the invoice E BootMon output if applicable Or software revision you re using noted on the first page of the API documentation E Description of your problem You may keep it simple we may request details later Please understand that we are not able to provide any warranty if you destroyed the board because of ignoring our ESD precautions advises or attaching badly designed hardware In such cases we may ask at least for a refund of our shipping costs Anyway whatever happened we will do anything possible to revitalize your Ethernut Or if it finally passed away let it rest in peace and send a replacement back to you at the least possible costs 19 Ethernut Hardware Manual
26. ry to load the specified file from the specified TFTP server TFTP Server There are a number of TFTP servers available many of them are free of charge For Windows TFTPD32 is a good choice With Linux a TFTP daemon is typically installed already it just needs to be activated The following screenshot shows a sample configuration of TFTPD32 The Base Directory point to the directory that contains the precompiled Nut OS application binaries gt Tftpd32 Settings Bs x rm Base Directory Browse M Global Settings gt r Syslog server Server Syslog Server ST DHCP OSS SNTP server File Security configuration 2 Mets Tiene seconds coils Standard Max Retransmit 6 Tftp port 69 Hide Window at startup PXE Compatibility Create dir txt files IV Show Progress bar Beep for long transfer Translate Unix file names Use Tftpd32 only on this interface 192168 192222 Use anticipation window of es Bytes Allow As virtual root so co After pressing the reset button BootMon will request the binary image from the TFTP server running on your PC On TFTPD32 the following should appear Bootloader gt Tftpd32 by Ph Jounin Current Directory C Nethemut 3 9 3 nut bin atS1 Browse Server interfaces 192 168 192 222 Show Dir Tftp Server Conne
27. s Taimag RJLD 043TC replaces Falco LJ1003 E Double layer capacitor increased from 0 33F to 0 47F E CPU clock fed from PLL CLKB output for glitch free clock switching E Open drain drivers for IOWAIT outputs of the CPLD and the DM9000E m X1286 with 32k EEPROM replaces the X1226 with 512 Bytes EEPROM only E Yellow LED for link and green LED for activity conforms to Ethernut 1 and 2 E Pull down forces Ethernet Controller into 16 bit mode after power up Ethernut Hardware Manual Quick Start This chapter will help you quickly set up and start using the Ethernut board Prerequisites for Operation The following items are necessary to run the Ethernut board E A standard PC equipped with Linux or Windows an available serial COM port and a twisted pair Ethernet adapter card E Terminal emulation software such as TeraTerm or Hyperterminal m server such as TFTPD32 An unregulated power supply matching your local mains It should supply DC 5 24V 200 mA minimum on a standard 2 1 mm barrel connector E Two straight through twisted pair cables together with 100 or 10 Base T hub or switch or a twisted pair cross cable if you don t got a hub or switch The following items are included in the Ethernut Starter Kit E A JTAG compatible programming adapter E A crossed serial communication cable with DB 9 female connector at both ends It is further assumed that you got some basic knowledge about digital hardware and TC
28. special cable adapter may be required because Ethernut 3 0 uses a different connector layout which had been adopted from AVR microcontrollers Jumper Configuration The following table lists all pins of JP5 Pin Signal Connected to Pin Signal Connected to 1 P16 CPU pin 70 2 xTMS CPLD pin 65 3 TMS J7 pin 5 4 TMS J7 pin 5 5 ATMS CPU pin 88 6 ATCK CPU pin 91 7 TCK J7 pin 1 8 TCK J7 pin 1 9 XTCK CPLD pin 67 10 P18 CPU pin 72 LL NC Not connected 12 TDI J7 pin 9 13 P23 CPU pin 83 14 XTDI CPLD pin 63 15 TDO 37 pin 3 16 ATDO CPU pin 90 17 XTDO CPLD pin 22 18 P19 CPU pin 73 19 ATDI CPU pin 89 20 TDI J7 pin 9 Here are some common JTAG configurations CPU JTAG Jumper JP5 routes the JTAG signals to the AT91R40008 if pins 3 and 5 6 and 8 15 and 16 as well as pins 19 and 20 are shortened This is the default configuration and is used to upload software to the CPU or burn the FLASH Memory CPLD JTAG Routing the JTAG interface to the CPLD is provided by shortening pins 2 and 4 7 and 9 12 and 14 as well as pins 15 and 17 Note that you need a special Xilinx adapter for programming the CPLD via JTAG Internal JTAG As an alternative the Ethernut is able to program its own CPLD The required jumper configuration is shown on the left This configuration may be combined with the first one CPU JTAG in which case

Download Pdf Manuals

image

Related Search

Related Contents

  Operating Instructions UMB-Config-Tool  Manual  Frigidaire FFTR2021QB Product Specifications Sheet  IBM Chiave di memoria USB 2.0 da 128 MB: Guida per l™utente  お客さまへ 取扱説明書  HS-20USB USER MANUAL    Teléfono Alfa RDSI  descargarlo aquí - Depiladora Luz Pulsada  

Copyright © All rights reserved.
Failed to retrieve file