Home
Ethernut 3.0 Hardware User`s Manual
Contents
1. ona DuAoueu HSU14 POENUS G Asy D E 1NU4ASY13 WO auemjosg aruda gt Haws J23 EN He ZWS TES Fee BOND CH SUSA STHE y Be YANINI gt ba lt 20 g 9USI VE e D lt SONd ge auo athea ac LU 2907 lt GUON Fe SWS 2907 n el TINGA zied rer LIES Bee ENS ZtWEs en ER 5907 ano lt I40d 37 ZINS ves IST lt bugga Ke lalo lee Ku Tied ISL SERRE NO NANO O SARA SE STUSI enea OLD Em srl razze NS S lt P 2494 shed pp 14109 gt lt ZU0I lt Suda g5 1US4 Tes HE AD gt lebt ley is le le le le af a gt lalala ela br SI oie soia E JE a III ZW24 OWE se LETS aed Shes cues ge KI IMIN Ne ENZA Cap St lt GUON Pee Nok ka serle use els ejej elselepepebez See ee eee GUI gia mos a gt SINd lt I W24 STWT4 EES 9997 SIII I A S G SS ENEE ss Se OTUZA LML ae ZIO a SZ e Ra e R Ea I ERE AINE lt lt Shed ZIUTI TITO lt T 2 ONE BUI ETKA KUL ez BIR ZuYo N
2. 1 VCC3 Regulated 3 3V 2 vcc3 Regulated 3 3V 3 NC Not connected 4 NC Not connected 5 GND Signal ground 6 GND Signal ground a GND Signal ground 8 GND Signal ground 9 MR Reset input 10 DC Unregulated supply 11 NC Not connected 12 NC Not connected 13 RD emory read signal 14 WR Memory write signal 15 DO Data bus bit 0 16 D1 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 All 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 PLS UART 0 Receive 40 P14 UART 0 Transceive 41 P13 UART 0 Clock 42 P8 Timer 2 I O B 43 P9 External IRQO 44 P27 Chip select 3 45 P11 External IRQ2 46 P12 Fast IRQ 47 PO Timer 0 Clock 48 Pl 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 57 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 No
3. XDO I SUI P3Y 40 243U39 ADOI g OGL ZZDOLX 0Z 9 2 8T S007 0T 60 29DP 4SIU I ZEZS S ZI i NdI a an 39 SHIX E DOC 1nU 2 G Asy D E nyaya 1 es TOS ad S Blo Flo Flo Flo 2e HGWQ a31em170S auda SUIY SZ SZ e 36 1019 oS e ONS OT OLY gt TOL 6 lt ETY SI EZY TEd SWL XIL T i EI su GE 88 101 ed EI EI Alz SCH GSO ZZ BEd 10L ep edo eno Std a SUN 3 E 68 ER 2 EIS BT CTOOLX GUN 9 DER az 9S9 124 6 4 001 re 9 E S 5 9 ero zR METODI A gt Su lt z S9 0Z9 8Zd MDL RARA GIO a zza GZ TE RR TSR TSE TOLX 7 ET EIIN lt ETY D I TSON TSIN gt a be 86 S B SeS el e 101 ZI CL D I Ee 814 eson ze SIN le gt o STI ot He DI SUERG lt 2 D I LIUMN ITOMN um A ZZ ES x01 8 ERD AOL T lt T 9TY 3ON CUN E bi e s TZ Z6 ERIE S SHIY Vv lt St az SY SNN TEMN lt Vv Sul are SR lt 4 GE HIS 3MN UMN EA ANN ESA SIX SUBMIT STA CET ety ANOOMN gg sar ST Ie DN zg rondo ate TY ESIN Zd por Zd ano ang ano BER ec ate ZSIN 9Zd keet erz S EN OXDW SZd Feel g 310 80377 EN sue bzd Hg LED DI Set 29 ezda g EZD ua ZC 8 taxa zzd 57 Zo zz SES ER lt SY 7 SY IMLN TOXL TZd gz Z gt parunow you a 08x Q 9 lt ZTd He a 198 ano pt LA Se Sob tx0s eza KH Ber L t esta cora 8 8 lt 9td 2 ai Bos INI eH Y 5 CET EN Std z LEl tora 2919 9 e A Owen 0950 fF S dzz ah lt Q CN 81d z7 l td DITA zz Ta g 9 asns7zs c 29 lt TY TY Td RENE 21719 30 MNOHS vtEUg TOTI E ZE gen 914 LITO EN ess A
4. ED Configuring TCP IP looks generally simple after one has understood the to pings The yellow L does not go on 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 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 BaseMon 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
5. 99 aned otas isa PES A gd 609 INI Ha Bt apow Jamod 80S Vv MOT 40 WUO 82 Se Ne e LISIN gt NEJIN H SCH gus 85 ean ES 408 28S 8 oe as os HE zas GUYS TOS ruS se NESIA gas awd HE gt 300061 Za 9 G k C T 22 Schematic 9 G b E T b b US ang ona ono 00 8T WO LG DIDO Lesen Arddns 4anog e p e o o Pgemus d DE nie ON9 2 Hqug auemizos aruba i T So Elo Elo po Se GE Elo slo o Bo Li slo QO VIC OU oj JA oj oj oj o o o ow ow QW SIN Sp ao QIN Glo SO GO QIN OP OS sw ao a A 2 a e A A Ke par gt Se ang aNd o an9 ang I on Te T Ll MOSZIOTINIEZ MOGZIOTINIH2 EIS 3 Ua TS STII A dE CG Pre ene eso fa T SUR 79 e T z MOBBITINIHZ l 58 7 ZTOI ma Bo S Ty YT e lt IISIINA 1S8 Oe gt i Hay DEn Is ay G ss SERIE 4 gt Ee 15 W IEE lt Tisxi 4 q Lsa eon le D n LL GWE9 S22Z 91 TS GE mem E SI 8 DOT SIR S18 5l
6. 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 EET 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 previous board revisions Ethernut 3 0 doesn t support programming with ISP Adapters Thus you can t use one of the programming adapters from previous Ethernut boards Make sure to either use the programming adapter of the Ethernut 3 0 Starter Kit Atmel s ATJTAGICE or any other compatible JTAG adapter Connecting an ISP adapter to the Ethernut 3 0 JTAG connector will at least blow the board s fuse or in worst cases destroy your Ethernut Also note that the adapter from the Ethernut 3 0 Starter Kit provides both ISP and JTAG programming using two clearly marked cables Never plug the ISP cable into the Ethernut 3 0 programming connector Always use the cable which is clearly marked with the label JTAG Network Configuration JP5 Jumper JP5 routes the JTAG signals to the AT91R40008 if pins 1 and 2 and pins 5 and 6 are shortened JP5 Routing the JTAG interface to the CPLD is provided by shortening pins 1 and 3 4 and 6 7 and 8 as well as pins 9 and 10 However you nee
7. 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 Ethernut Hardware Manual 9 G b E C T T 199yS 2DE4SIU DLL 5 Q73IHS ON9
8. Vv Bel Ted TINTA rz L CK clan Tana 9TW24 TUTI Ez ER e 4Od UoISUEdx3 Auen eg ZTW24 6WT4 zz LAN ZII PINa BUTA UND N lt ET STs UTI or EN lt t Sei dei SUT4 rer dna 40 33UUO9 Sued EEN ce CUBI EUT ISN Tg RA lt td Su SUA rel B IS TZU v DCH lt td 9484 zinza L10 gt ua L a CET 8484 Sue HT ae aR 845 ews STWZ4 eT LED ana EN sP Basel 8484 cruza F ert E ZC R e 23 6484 KS kel BU g D 8 lt Zid ge Tes zuza jor SU S S lt edbggg 2183 TIZI g O gt O731HS E E F lzecl 91484 eruzs H_ _TUN gt 250 Sigg 1484 ZSL9 HH 30N lt a EUR TS19 re EZV lt N 4 oss oahs o 2a Ses vz a 032 lt T Ova 126195 1009 lt td SOT 2TW84 S19 E SIN gt lt _Z1YON E 190 az lt td 293 eslo STO ELCH 7 Elon lt a lt zzd r 27484 uso err OSIN lt UNON e z QUI lt gt r Azahar SH94 mza HL Onn ai ONO lt E Seed aa bos Tuy LL lt BIYON o 29 S210 es lt td 9U94 STUFI HL E gt lt TIGO q 9 O731HS EE e Std 8494 SIULI Ha ER a ONO lt 210 lt td 27W94 eTu s L_Se gt J 0100 lt Eg zE ud SUS KHK Ser gt a Lu 013HS lt ia lt lt GMN STW94 OTN C d 20 Sed rt THe ZTW d Se 89 gt S Ne alo Es nus 9045 609592 20 Casing starz TTW94 KUE A a SY S lt _ sal F COW ez 21093 YUG zer BIN lt 0 ee lt TH LUS GUL LL E al lt ul BLES BUS euri joer am aie Gotten E 199208 IWW lt z lt A dE Utd ezr 12 gt ga lt 1 ONO saz ZUL SUL jagr IVO ee beee p ec 62 EL TDLIXbH TGGIX
9. W 1104 UZZENESH LY EJI EJIN Den 9 G E T 21 Ethernut Hardware Manual 9 G b E T P E 994S QK CBL GBOZCOTE6O 2DE j49 U 19U419YI3 pgeinua g Asy DE NMUlayr3 Hqug suem yos aruba ni 01d9 x Las ZOId9 Me apou Jamod TOId9 MOI 40 tan ael 901d9 TX 7 DIN ZE US Fc s389a DANI HS ANS GE wax E e 6b A9STIOMUOD NY O aso ERER TIO XY Hay ZKH The BLA 89 PI SE EECH Haz ES 0033 du Hz RI ON9 REI ZC ES ON oiron HS ke ON Can lt p qe IN zaxa rer PERNO VOM de GISIL taxa Hg seta Zeta ZOTE Tee T dirlo ISIL OXY Lag aNd Bo Slo BEER gax Leg TEE o Zu ATY on IS T S Sk SEN Z1S31 zaxi ES 5 X 35 p VEER Taxi Ha a Zotu 198 OXL Hz 9 4 S EE xa LC ae DU aa xa op z zT EE N ez 08 nd 8 Cer MISZTITIN 142 Pd y LOL P re 0x1 EE ET9I je TT X1 T CE 0XL SUI Fer TO7131HS NX HZ AN K ra er NEJIN Gadde A dna LIYANIT 9I01 re LIBMOI kr USD ero pelo eho ato ar STOS anaa z SMD RIS S le mm S R S la T0S D I Ra bee eho eo e ETaS aor D 30N SI lo S le b d eas loo roe Ldap hee E Tras IS Md Ces 1L3S30N 9EY GEN 29
10. aa 4719S Wm d gin eng Sa SA Ta Teves 8b 89 EBEZZAI o S S ol Sl STT 1 xIS ETd T73A Eta REH B aur S S og lt Er s era DI4 ZIA red BEER CG dn bs EE er CH SH9L Ytd HA Ed IIYMN S Sa lt a D TOUI Otd Les L t BEER STE de WW lt a eta dUI Ed ps Bd Ted MEJOR fa 20 80 Z8011 8d 66 BE SE edan dan won S lt Bar 80 CMD Feel 29 gt AOT P lt 0 e 20 ZAID1 9d EL 99 Zid IO 90 T8011 5d Frae Bd HS S sd TRO Ld Feel F 107 O731HS lt ra 0 TI19L Ed C Ee Std lt CIUNNINO OIMYNNI ZEZSY dono Janod 00 404 lt _ d Ce ea 08011 Zd te CZ ata lt NO39 Le NO3940 4 TOT Unow pue Ty SAOWSY lt lt 20 DOLL go D SIONI 44039803 30 zt 107 ta emoL ed 5p B clan eva lt 0 4s en Jon 7_ 1352 N lt s199 IN0S8 Wen a L_ ang 5000 lt gug INO58 NIba Nono Ro No PAS ES Y men wen Ta die NZ Niz NZ TII ZT SN SIN SIN Sy aq Lnoza NIZA Z NO TIO DIO Ulw vd oro Empey RD wes oa 7 e s ER wo Z Z J Tax 6 SII KLH SANZ NIEL 1M0 l amala ate 1 SC ved Hen NZL nozi erer aXe EEN GIU SISI yq NITL LNOTL es SINT 8 T SIUX Z ws 2 RER Z t aax Z usa 9 f__3sox9 299 030 bl S a30x T T ZZ INI ugat YZ aNd NZ N NE Se SE BIS ZG SIG Sh EE L TREC ZE Xg 991 9 S C T 20 Schematic 9 G Lac 188ys 140d uotsuedxg NuJy 384 49 U 9UEg 13XDOS II QK CBL SO0c OT 60 51607 eTqewwesboud
11. 13 sz ER 983 TOL Nik LE UNS SLI ld Sher SIS TEZE XU deol ON9 991 NY REI ooo NA clan Lal Dei 429 Sch See KE 1102 UZZENEB 1Y 84 N ONG Qu SIG deol 22 kal Ein ee MOSZIATINIEZ ON9 L KOT lc fo i li ini ii il Zeie z 0N9 Ein bet ve A ONS SU S S SG SB SB SG ely SS SIN MOGZTOTIN HZ No S 2 2 a gt S a UNO RO BIN BID BIN BIO BION BIN BIO ONS 29076 QIN QIN QIN Sly BIN QIN QIN sk 28 6 l QO QIN SUI Ou QIN DP cs sw an9 3409 ses ss srs ses 28 ano pn UZ 4 i 87 ZE ON9 ON9 J Go ONO NY E an9 0100n 4 Ed Aug organ ES ji 3409 L it zg T8 se OND ormon Ge LL 4 ei ONO oron C A ONIY TR 1 ay ON On ez S Se z aNd oron Iech rr egany EIIN J SEE 284 ERNST EBEZZAI d sn asar rn zgd Vv EIIN EIIN 3000640 No d evan NEJIN EIIN RO YIVSOBEIINA 80 lt 4 E Bet o o YObZLOWS gt N al SI C ta wuz BIO em SL Pe ner ei 84 GND lt TX SE TS AC S ES wR we G I de Ao TI mos O a L z b 9 DI 15008 NIN IO T Ej SCHUH YAUSOBESINd STA YIVSOBEIINA DD 691 za 891 3409 99n Ze 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
12. Ethernut Version 3 0 Hardware User s Manual EMBEDDED ETHERNET ETHERNUT Manual Revision 1 0 Issue date November 2005 Copyright 2005 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 AII product names referenced herein are trademarks of their respective companies Ethernut is a registered trademark of egnite Software GmbH Contents About the Ethernut 3 0 Board lt i cass aa SET soe nada has chase a 1 Ethernut Features oss itunes ee ee ek De RE eee eee ii 1 Block Diagram acireale oan be wee side bee ME H 2 LED Indicators sari har a geeks s dhe bea ease 2 Serial Ports iaia Sle whe i a again 3 EthernetRoticeiccnastaeseget eee org bas ie 3 Expansion Port 22 sicario Ri 3 Power SUPPIY ivi ete E A I oc a a ee 4 Watchdog TIME ssori serans a a a ds e 4 System Clock zue Ei Rasche aa ei alan ei 4 Flash ROM noci n ds ao a EE SE Wao eee dean 4 Static RAM e e Wer a ca ad di 4 EEPROM Sonar dora ana ea 5 Configuration JUMPpers sins encarar a e eae Re hg ag eae 5 Upgrading from Previous Ethernut Revisions cease 5 Quick Starts fossati t
13. TAG interface WARNING Ethernut 3 uses the same JTAG connector layout as its predecessors 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 green LED indicates the network link status and is lit when the link status is OK The yellow 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 5V 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 cabl
14. ate 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 Reset the 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 Bootloader Using the Bootloader Using the preloaded BootMon firmware to load Ethernut applications When using a terminal emulation program like described 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 imme
15. ck Driven by a 25 MHz crystal all high speed clock signals are generated by a programmable 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 X1226 Realtime Clock Calendar chip has a integrated 512 Byte EEPROM typically used for configuration data storage This chip is accessed via a TWI 12C interface However as the CPU doesn t contain any TWI hardware software bit banging must be used Configura
16. d a special Xilinx adapter for programming the CPLD via JTAG JP5 Asan alternative the Ethernut is able to program its own CPLD The required jumper configuration is shown on the left 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 12C 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 Hardware Expansion Pin Signal Description Pin Signal Description
17. d a twisted pair Ethernet adapter card E Terminal emulation software such as TeraTerm or Hyperterminal B TFTP server such as TFTPD32 E 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 R 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 TCP 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 o
18. diately 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 service 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
19. e length of 100 meters between the Ethernet board and a hub or switch Expansion Port Add 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 Clo
20. ity r TFTP configuration C None Va Timeout seconds 3 Standard 8 Max Retransmit 6 T High Tftp port C Read Only Advanced TFTP Options mi or T Hide Window at startup T PXE Compatibility TT Create dir txt files MV Show Progress bar T Beep for long transfer T Translate Unix file names TT Use Tftpd32 only on this interface T Use anticipation window of ss Bytes Allow As virtual root Help Cancel 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 cae E oe 2 10 x Current Directory C ethemut 3 9 S nuttbin at9 Browse Server interfaces 192 168 192 222 v Show Dir Tftp Server Connection 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 O blk resent 20 11 20 56 56 166 gt a Y Copy Current Action Threads bn sent 46 blks 23492 bytes in 1 s About Settings Help 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 Ethernut Hardware Manual 12 Jumper Configuration Adapting Ethernut to specific requirements
21. n 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 Ethernut 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 XON XOFF flow control Baudr
22. ori we ware ime bid eosin Ma italo 6 Prerequisites for Operation 6 Precautions sesse sao ia pa ei 6 Board Installation serge NEE a EE ET RH Ro ERS a 7 Using the Bootloader E d R sa incitar dace oa wee Bee ee n Y 9 TFTP Server Liaison EES cee E a e ee ee ee wee EN EC 10 JUMmperiContigurationi cirrus rara aya Lai 12 Jumper Overview e anaran nannaa 12 JTAG POM cocks ni ta FRA ERS ERS ERS TRI iaia Cee oe ees 12 Hardware EXpansion lt br EE 14 Expansion Bett criari ved dee ed ata ea EE Ee E 14 Troubleshoeting i a A A 16 Sehemati vaciar a da ORE di a 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 R 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 R ARM7TDMI RISC microcon
23. t connected 64 NC Not connected 15 Ethernut Hardware Manual Troubleshooting Problem Solution 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 0 6A 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 green LED at the RJ45 T connector does not go on E s he green LED will go on only if hernut is connected to an hernet network and the Ethernut ftware properly initialized the AN controller hardware on the hernut Load the board with ootMon image via JTAG Replace the thernet cable and try the same connection with your PC to make sure that the network link is working after pressing the reset button Di CF ct ct Go der 16 Problems Solution Ethernut doesn t respond
24. tion Jumpers In opposite to its predecessors almost all configuration settings are done in the CPLD 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 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 an
25. troller with up to 75 MIPS throughput E Full duplex IEEE 802 3 compliant 10 100 Mbps Ethernet controller with on board RJ 45 connector m RS 232 at DB 9 connector with full handshake R Multimedia Card Socket E 4 MByte in system programmable Flash ROM R 256 kByte SRAM m 512 Byte in system programmable EEPROM E 24 programmable digital I O lines E Real time clock with two alrams R 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 like the Medianut MP3 decoder with LCD interface LM2788 1 8V Reg 226 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 J
26. used to connect to the Internet This information is only required if the Ethernut board will be accessed from or will 9 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 try 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 X gt Tftpd32 Settings x m Base Directory C ethemut 3 9 9 nut bin at31 Browse Global Settings Syslog server Iw TFTP Server Syslog Server I TFTP Client T DHCP Server 7 Save syslog message I SNTP server File TFTP Secur
Download Pdf Manuals
Related Search
Related Contents
energies renouvelables - RIAED Fiches signalétiques Canada (Brochure) SMT-i3100/i3105 Bedienungsanleitung Husqvarna R152SVB User's Manual MODE D`EMPLOI USER MANUAL Philips Spiral 929689618101 省エネ・マニュアル~2014冬 Copyright © All rights reserved.
Failed to retrieve file