📄 bf537-stamp_board.html
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head> <title></title> <link rel="stylesheet" media="screen" type="text/css" href="./style.css" /> <link rel="stylesheet" media="screen" type="text/css" href="./design.css" /> <link rel="stylesheet" media="print" type="text/css" href="./print.css" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head><body><a href=start.html>start</a></br><div class="toc"><div class="tocheader toctoggle" id="toc__header">Table of Contents</div><div id="toc__inside"><ul class="toc"><li class="clear"><ul class="toc"><li class="level2"><div class="li"><span class="li"><a href="#bf537_stamp" class="toc">BF537 STAMP</a></span></div><ul class="toc"><li class="level3"><div class="li"><span class="li"><a href="#setting_up_the_stamp_hardware" class="toc">Setting up the STAMP Hardware</a></span></div></li><li class="level3"><div class="li"><span class="li"><a href="#hardware_initialization" class="toc">Hardware Initialization</a></span></div></li><li class="level3"><div class="li"><span class="li"><a href="#networking" class="toc">Networking</a></span></div></li><li class="level3"><div class="li"><span class="li"><a href="#using_leds_and_push_buttons" class="toc">Using LEDs and Push Buttons</a></span></div></li><li class="level3"><div class="li"><span class="li"><a href="#connectors" class="toc">Connectors</a></span></div></li><li class="level3"><div class="li"><span class="li"><a href="#external_bus_interface_unit" class="toc">External Bus Interface Unit</a></span></div></li><li class="level3"><div class="li"><span class="li"><a href="#setting_the_mac_address" class="toc">Setting the MAC Address</a></span></div></li></ul></li></ul></li></ul></div></div><h2><a name="bf537_stamp" id="bf537_stamp">BF537 STAMP</a></h2><div class="level2"><p>This is a low-cost development platform for the ADSP-BF537 Blackfin device. The STAMP board is part of the Blackfin/uClinux open source project. The schematics for the board as well as other related documents are available <a href="http://blackfin.uclinux.org/projects/stamp" class="urlextern" title="http://blackfin.uclinux.org/projects/stamp" rel="nofollow">here</a>. The STAMP board is commercially available and can be purchased from <a href="http://www.digikey.com/scripts/DkSearch/dksus.dll?KeywordSearch&Keywords=ADDS-BF537-STAMP-ND" class="urlextern" title="http://www.digikey.com/scripts/DkSearch/dksus.dll?KeywordSearch&Keywords=ADDS-BF537-STAMP-ND" rel="nofollow">Digikey</a> by with the part number <strong>ADDS-BF537-STAMP-ND</strong>.</p><p>The STAMP is designed to be used in conjunction with the GNU Toolchain to test the capabilities of the ADSP-BF537 Blackfin processors. The GNU Toolchain gives you the ability to perform advanced application code development and debug, such as:</p><ul><li class="level1"><div class="li"> Create, compile, assemble, and link application programs written in C++, C and ADSP-BF537 assembly</div></li><li class="level1"><div class="li"> Load, run, step, halt, and set breakpoints in application program</div></li><li class="level1"><div class="li"> Read and write data and program memory</div></li><li class="level1"><div class="li"> Read and write core and peripheral registers</div></li></ul><p> Access to the ADSP-BF537 processor from a personal computer (PC) is achieved through either:</p><ul><li class="level1"><div class="li"> Ethernet</div></li><li class="level1"><div class="li"> Serial </div></li><li class="level1"><div class="li"> JTAG</div></li></ul><p> An overview of some of the STAMP board’s features are given below: </p><ul><li class="level1"><div class="li"> ADSP-BF537 Blackfin device with JTAG interface</div></li><li class="level1"><div class="li"> 500MHz core clock</div></li><li class="level1"><div class="li"> 133MHz system clock (actual speed needs to be divisible by 25MHz, so max is 125MHz)</div></li><li class="level1"><div class="li"> 32M x 16bit external SDRAM (64MBytes)</div></li><li class="level1"><div class="li"> 2M x 16bit external flash (4MBytes)</div></li><li class="level1"><div class="li"> 10/100 Mbps Ethernet Interface (via on chip MAC, connected via DMA)</div></li><li class="level1"><div class="li"> CAN TJA1041 transceiver with two modular connectors</div></li><li class="level1"><div class="li"> RS-232 UART interface with DB9 serial connector</div></li><li class="level1"><div class="li"> JTAG ICE 14-pin header</div></li><li class="level1"><div class="li"> Six general-purpose LEDs, four general purpose push-buttons</div></li><li class="level1"><div class="li"> Discrete IDC Expansion ports for all processor peripherals</div></li></ul><p> Host tool requires either Windows XP(SP2), or Linux Host.</p><p> </p></div><!-- SECTION [1-2309] --><h3><a name="setting_up_the_stamp_hardware" id="setting_up_the_stamp_hardware">Setting up the STAMP Hardware</a></h3><div class="level3"><p>To connect the STAMP board: </p><ol><li class="level1"><div class="li"> Remove the STAMP board from the package. Be careful when handling the board to avoid the discharge of static electricity, which may damage some components.</div></li><li class="level1"><div class="li"> The figure below shows the default switches, Confirm that your board is set up in the default configuration before continuing.:</div><ul><li class="level2"><div class="li"> <a href="supported_booting_methods.html" class="wikilink1" title="supported_booting_methods.html">Boot Mode Switch</a> (SW16) switches should pointing to zero (0), for XIP, bypass boot-ROM.</div></li><li class="level2"><div class="li"> Connect FLASH to AMSn pins (SW6[1:4]) should all be away from the numbers, so flash is connected.</div></li><li class="level2"><div class="li"> Connect UART (SW4[1:4]), should have pins 1,3,4 down towards the numbers, and pin 2 up. This will not connect TX/RX, or CTS/RTS.</div></li><li class="level2"><div class="li"> Ensure UART Jumper (UP9) is not populated, this will disconnect Loopback. </div></li></ul></li><li class="level1"><div class="li">Plug the provided power supply into J7 on the STAMP board. Visually verify that the green power LED (LED7) is on.</div></li><li class="level1"><div class="li"> Connect one end of the serial cable to an available serial port on your PC and the other end to UART0 on the STAMP board.</div></li><li class="level1"><div class="li"> Connect one end of a Ethernet cable to J4 of the STAMP board, and the other end to either a PC (requires cross over cable) or a Ethernet Hub (requires straight through cable).</div></li></ol><p> <a href="media/537stampboardwithconnections.png" class="media" target="_blank" title="537stampboardwithconnections.png"><img src="media/537stampboardwithconnections.png" class="media" alt="" /></a></p></div><!-- SECTION [2310-3574] --><h3><a name="hardware_initialization" id="hardware_initialization">Hardware Initialization</a></h3><div class="level3"><p>Initialization of the hardware is taken care of by both the Boot loader, and by the uClinux kernel. This initializes both the SDRAM, FLASH, and onboard peripherals like Ethernet and UART. If you are not using the provided Boot loader, or the uClinux kernel, you should review the appropriate data sheet, which can be downloaded from the <a href="http://blackfin.uclinux.org/projects/stamp" class="urlextern" title="http://blackfin.uclinux.org/projects/stamp" rel="nofollow">STAMP</a> project.</p></div><!-- SECTION [3575-4006] --><h3><a name="networking" id="networking">Networking</a></h3><div class="level3"><p>Networking capabilities are provided on the STAMP board via an the on chip IEEE 802.3 10/100 Ethernet MAC and CAN 2.0B controller.</p><p>The ADSP-BF537 STAMP includes an on-chip 10/100 Mbits/sec Ethernet MAC. The MAC supports both 10-BaseT (10 Mbits/sec) and 100-BaseT (100 Mbits/sec) operations. The interface is exposed on the board, providing an easy connection between the STAMP and an existing TCP/IP network. uClinux includes a complete and robust open source TCP/IP software stack, running on the Blackfin architecture. This stack relies on the presence of the underlying uClinux operating system. Therefore, the STAMP and uClinux provide out of the box software and hardware connection for TCP/IP networking. U-Boot also includes a thin UDP protocol stack for such functions as DHCP, TFTP, BOOTP and RARP.</p><p>The Controller Area Network interface uses an internal CAN 2.0B controller, and a Philips TJA1041 high-speed CAN transceiver. The PF14 programmable flag connects to the enable control input (EN). The PF15 programmable flag connects to the standby control input (~STB). The PF13 programmable flag connects to the error and power-on indication output (ERR). The PJ4 of the processor connects to the receive data output (RXD), and PJ5 connects to the transmit data input (TXD).</p><p>The CAN interface can be disconnected from the processor by turning positions 1 though 4 of the SW2 switch to OFF. When in the OFF position, these signals can be used elsewhere on the board. The CAN interface contains two 4-position modular connectors.</p></div><!-- SECTION [4007-5565] --><h3><a name="using_leds_and_push_buttons" id="using_leds_and_push_buttons">Using LEDs and Push Buttons</a></h3><div class="level3"></div><h4><a name="uart_enable_sw4" id="uart_enable_sw4">UART Enable (SW4)</a></h4><div class="level4"><p>Certain features of the UART0 may be controlled via the SW4 dip switch.</p><table class="inline"> <tr> <th> UART Feature </th><th> SW4 Switch Number </th> </tr> <tr> <td> CTS </td><td> 1 </td> </tr> <tr> <td class="leftalign"> RX </td><td> 2 </td> </tr> <tr> <td> RTS </td><td> 3 </td> </tr> <tr> <td> Short RTS/CTS </td><td> 4 </td> </tr></table><br /><p> Dip switch 2 controls the Blackfin’s ability to receive input from the UART.</p><p>Note that the dip switches 1 and 3 are mutually exclusive with 4, so you can have either 1 and 3 on with 4 off, or 1 and 3 off with 4 on. So, to enable hardware flow control, you need to turn off 4 and turn on 1 and 3.</p></div><h4><a name="reset_button_sw9" id="reset_button_sw9">RESET Button (SW9)</a></h4><div class="level4"><p>The RESET push button resets all of the ICs on the board. </p></div><h4><a name="programmable_flag_push_buttons_sw5_sw10_13" id="programmable_flag_push_buttons_sw5_sw10_13">Programmable Flag Push Buttons (SW5,SW10鈥
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -