Phytec phyCore-XC161 Quick Start Instructions

Using phytec flashtools 3 and the keil mvision2 software evaluation development tool chain
Hide thumbs Also See for phyCore-XC161:
Table of Contents

Advertisement

Quick Links

phyCORE-XC161
with XC161CJ
QuickStart Instructions
Using PHYTEC FlashTools 3 and the Keil µVision2 Software
Evaluation Development Tool Chain
Note: The PHYTEC Spectrum CD includes the electronic version of
the English phyCORE-XC161 Hardware Manual
Edition: July 2003
A product of a PHYTEC Technology Holding company

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the phyCore-XC161 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Phytec phyCore-XC161

  • Page 1 QuickStart Instructions Using PHYTEC FlashTools 3 and the Keil µVision2 Software Evaluation Development Tool Chain Note: The PHYTEC Spectrum CD includes the electronic version of the English phyCORE-XC161 Hardware Manual Edition: July 2003 A product of a PHYTEC Technology Holding company...
  • Page 2 PHYTEC Meßtechnik GmbH neither gives any guarantee nor accepts any liability whatsoever for consequential damages resulting from the use of this manual or its associated product. PHYTEC Meßtechnik GmbH reserves the right to alter the information contained herein without prior notification and accepts no responsibility for any damages which might result.
  • Page 3: Table Of Contents

    1.4 The PHYTEC phyCORE-XC161 ..........4 1.5 The Keil µVision2 Software Development Tool Chain ....7 Getting Started...................11 2.1 Installing Rapid Development Kit Software.......11 2.2 Interfacing the phyCORE-XC161 to a Host-PC......18 2.3 Starting PHYTEC FlashTools 3 ..........20 2.4 Downloading Example Code with FlashTools 3 ......21 2.4.1 "Blinky"...
  • Page 4 4.5.3 Single Stepping and Watch Window......67 4.6 Running, Stopping and Resetting ..........68 4.7 Resetting the Debugger and the phyCORE-XC161 ....69 4.8 Changing Target Settings for the "Executable Version".... 70 Advanced User Information............. 75 5.1 FlashTools 3 ................75 5.2 Start-pc-XC161.a66..............
  • Page 5: Introduction To The Rapid Development Kit

    User's Manuals and Data Sheets • this QuickStart Instruction with general "Rapid Development Kit" description, software installation hints and three example programs enabling quick out-of-the box start-up of the phyCORE-XC161 in conjunction with the Keil µVision2 software development tool chain evaluation version ©...
  • Page 6: Overview Of This Quickstart Instruction

    Keil µVision2. It is structured as follows: The "Getting Started" section uses two example programs: Blinky and Hello to demonstrate the download of user code to the Flash device using PHYTEC FlashTools 3.
  • Page 7: System Requirements

    Introduction 1.3 System Requirements Use of this "Rapid Development Kit" requires: • the PHYTEC phyCORE-XC161 • the phyCORE Development Board HD200 2.5V with the included DB-9 serial cable and AC adapter supplying 5 VDC /min. 500 mA • the PHYTEC Spectrum CD •...
  • Page 8: The Phytec Phycore-Xc161

    Molex SMT pin header connectors (pin width is 0.635 mm/25 mil) lining the circuit board edges. This enables the phyCORE-XC161 to be plugged like a "big chip" into target hardware. The standard module runs at a 40 MHz internal clock speed (delivering 25 ns instruction cycle) and offers 512 kByte (up to 1.5 MByte) SRAM and 256 kByte (up to 2 MByte) Flash on-board for...
  • Page 9 • 16-channel A/D converter with 10-bit resolution • two 2.0B Full-CAN interfaces • requires a dual power supply of 5 VDC and 2.5 VDC/ <220 mA Please contact PHYTEC for more information about additional module configurations. © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 10 Single Board Computers. Simple jumper configuration readies Development Board’s connection phyCORE-XC161, which plugs into the receptacle contact strips mounted on the Development Board HD200 2.5V. phyCORE Development Board HD200 2.5V Technical Highlights • Reset signal controlled by push button or RS-232 control line CTS0 •...
  • Page 11: The Keil Μvision2 Software Development Tool Chain

    OMF166 debugging specification. The Keil OH166 Object-to-Hex converter converts an absolute object file into an Intel hexfile that is suitable for programming into an EPROM device or downloading into external Flash on the PHYTEC phyCORE-XC161 target board. µVision2 consists of the following executables: • C Compiler c166.exe...
  • Page 12 The Professional Kit (PK) macroassembler is included with the PK Compiler package or is available separately. It is DOS-based or can be run from µVision2 and includes all utilities needed to complete your project. © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 13 This allows you to fully evaluate the features and power of Keil products on the PHYTEC target board. The PK full version has no restrictions and is fully ANSI compliant.
  • Page 14 RTOS and CAN libraries. Keil supports all CAN microcontrollers based on the Infineon C505C, C515C, C164-CI, C167Cx and XC16x. Future CAN products based on these 8051 or C16x families are easily supported due to the flexible Keil Compiler design. © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 15: Getting Started

    Flash memory using FlashTools 3 2.1 Installing Rapid Development Kit Software When you insert the PHYTEC Spectrum CD into the CD-ROM drive of your host-PC, the PHYTEC Spectrum CD should automatically launch a setup program that installs the software required for the Rapid Development Kit as specified by the user.
  • Page 16 If you decide to individually choose different paths and/or drives you must consider this for all further file and path statements. We recommend that you accept the default destination location. © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 17 All Kit-specific content will be installed to a Kit-specific subdirectory of the Rapid Development Kit root directory that you have specified at the beginning of the installation process. © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 18 XC161CJ QuickStart Instructions All software and tools for this phyCORE-XC161 RDK will be installed to the \PHYBasic directory on your hard-drive. • In the next dialog you must choose whether to copy the selected documentation as *.pdf files to your hard drive or to install a link to the file on the Spectrum CD.
  • Page 19 CD-ROM have been specifically tailored for use with one another. • After accepting the Welcome window and license agreement select the destination location for installation of the Development Tool Chain. © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 20 The applicable FlashTools 3 software must be installed to ensure successful completion of this QuickStart Instruction. Failure to install the proper software could lead to possible version conflicts, resulting in functional problems. • Click on Yes and complete the FlashTools 3 Setup program. © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 21 No. • Decide if you want to begin the QuickStart Instruction immediately by selecting the appropriate checkbox and click on Finish to complete the installation. © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 22: Interfacing The Phycore-Xc161 To A Host-Pc

    XC161CJ QuickStart Instructions 2.2 Interfacing the phyCORE-XC161 to a Host-PC Connecting the phyCORE-XC161, mounted on the phyCORE Development Board HD200 2.5V, to your computer is simple. • As shown in the figure below, if the phyCORE module is not already pre-installed, mount it connector side down onto the Development Board’s receptacle footprint (X6).
  • Page 23: Figure 2: Default Setting For The Phycore Development Board Hd200 2.5V

    • Using the included power adapter, connect the power socket on the board (X1) to a power supply (refer to Figure 3 for the correct polarity). -- + Polarity: Center Hole +5 VDC 1.3 mm 3.5 mm 1500 mA Figure 3: Power Connector © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 24: Starting Phytec Flashtools 3

    This sequence of pressing and releasing the Reset (S2) and Boot (S1) buttons renders the phyCORE-XC161 into the Bootstrap mode. Use of FlashTools 3 always requires the phyCORE-XC161 to be in Bootstrap mode. See section 5.1, “FlashTools 3” for more details.
  • Page 25: Downloading Example Code With Flashtools 3

    FlashTools icon or by selecting FlashTools 3 from within the Programs|Phytec program group. • The FlashTools 3 registration window will now appear. Please contact PHYTEC to obtain your registration key. • Copy your registration key into the applicable field and click on the Register button.
  • Page 26 • Select the phyCORE-XC16x in the target hardware list in the Connect window. Click on the + sign in front of the phyCORE string to expand the view and to see all available modules. © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 27 • Choose the correct serial port for your host-PC and a 57,600 baud rate. • Click on OK to save these settings. • Click on the Close button in the Communication Setup window to exit the communication setup. © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 28 XC161CJ QuickStart Instructions Note: Always ensure that the phyCORE-XC161 is in Bootstrap mode before pressing the Connect button (see section 2.2) • Now click the Connect button to establish connection to the target hardware. The microcontroller tries to automatically adjust to the baud rate selected within the baud rate pull-down menu.
  • Page 29 This is the same window that was used when you first entered FlashTools 3: The number of banks shown on the FlashInfo tabsheet varies depending on the size and type of the Flash mounted on the phyCORE-XC161. © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 30 Development Board must be connected to the host-PC. This requires closing Jumpers JP22 and JP23 at position 2+3. Download downloads specified hexfiles to the target hardware: Protected Areas Info shows protected areas of Flash memory: © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 31: Blinky

    • Returning to the FlashTools 3 tabsheet, choose the Download tab and click on the Open button. The hexfile has already been installed to your hard drive during the installation procedure. • Browse to the correct drive and path for the phyCORE-XC161 Demo folder (default location C:\PHYBasic\pC-XC161\Demos\Keil\Blinky\Blinky.h86) and click Open.
  • Page 32 • Press the Reset button (S2) on the phyCORE Development Board HD200 2.5V to reset the target hardware and to start execution of the downloaded software. • Successful execution of the program will flash the LED D3 with equal on and off duration. © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 33: Hello

    Open button. The demo hexfile has already been installed to your hard drive during the installation procedure. • Browse to the correct drive and path for the phyCORE-XC161 Demo folder (default location C:\PHYBasic\pC-XC161\Demos\Keil\Hello\Hello.h86) and click Open.
  • Page 34 Once you see the Ready message in the lower left corner, the downloaded code can be executed. • Returning to the Connect tab, click on the Disconnect button and exit FlashTools 3. © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 35 • Next click on OK. This creates a new HyperTerminal session named "COM Direct" and advances you to the next HyperTerminal window. The HyperTerminal Window has a different appearance for different versions of Windows. © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 36 (COM1/COM2 Properties). • Then set the following COM parameters: Bits per second = 9,600; Data bits = 8; Parity = None; Stop Bits = 1; Flow Control = None. © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 37 16 MHz populates the phyCORE-XC161. Using the internal PLL (Phase Locked Loop) device results in an internal 40 MHz CPU frequency. If your phyCORE-XC161 is equipped with a different speed oscillator, the demo application might transmit using another baud rate. This may lead to incoherent characters appearing in the HyperTerminal window following execution of code.
  • Page 38 XC161CJ QuickStart Instructions © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 39: Getting More Invloved

    After you start µVision2, the window shown below appears. From this window you can create projects, edit files, configure tools, assemble, link and start the debugger. Other 3 party tools such as emulators can also be started from here. © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 40: Creating A New Project And Adding An Existing Source File

    • To create a new project file select from the µVision2 menu Project|New Project…. This opens a standard Windows dialog that asks you for the new project file name. • Change to the project directory created by the installation procedure (default location C:\PHYBasic\pC-XC161\Demos\Keil\Blinky2). © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 41 This selection sets necessary tool options for the XC161CJ device and simplifies in this way the tool configuration. The same window opens by choosing Select Device for Target from the Project menu. © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 42 • Now click on Target1 within the Project Window - Files tab. Target1 is now highlighted. Click on Target1 again to enable the edit mode. Change the default name of the target to phyCORE-XC161. © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 43 • Right-click in the Project Window – Files to open a new window. Choose the option Targets, Groups, Files..• Select the Groups / Add Files tabsheet and type the new group name System Files in the Group to Add: section. © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 44 • You are now ready to add source files to the project. Right-click on the User group to open a local menu. The option Add Files to Group ‘User’ opens the standard files dialog. • Select the file Blinky2.c. © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 45 Start-pc-XC161.a66 file. You have to change the file type to “Asm Source file (*.a, *.src)” in the File of types pull-down menu to see this file. • Your project window should now look like this: © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 46: Modifying The Source Code

    /* output to LED port for (i=0; i< 225000 ; i++); /* delay for 225000 counts P9_0 = 1; /* output to LED port for (i=0; i< 75000 ; i++) /* delay for 75000 counts while(1); © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 47: Saving The Modifications

    µVision2 allows you to set various options with mouse clicks and these are all saved in your project file. • Click with the right mouse key in the "Project" window to open a local menu. Choose option Options Target ‘phyCORE-XC161’. © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 48 Type the settings for the External Memory as shown below. Make sure that #1 is set to ROM. Memory configuration based on standard version of the phyCORE-XC161 as included in the Rapid Development Kit featuring 1 MByte of Flash and 512 kByte of fast SRAM. Modify these values if you are using a different memory configuration.
  • Page 49 • Select the Output tab and activate the Create HEX-File option. With this option a downloadable Intel *.h86 file will be created. • No other configurations are necessary for this example. • Click OK to save these settings © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 50: Building The Project

    .h86 as filename extension (in this case Blinky2.h86). • If a list of errors appears, use the editor to correct the error(s) in the source code and save the file and repeat this section. © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 51: Downloading The Output File

    • Returning to the FlashTools 3 tabsheet, choose the Download tab and click on the Open button. • Choose the Download tab, and click on the Open button. • Browse to the correct drive and path for the phyCORE-XC161 Demo folder (default location C:\PHYBasic\pC-XC161\Demos\Keil\Blinky2\Blinky2.h86) and click Open.
  • Page 52: Hello

    C:\PHYBasic\pC-XC161\Demos\Keil\Hello2 (default location) on your hard-drive. Select the Infineon XC161CJ in the CPU vendor database list. • Add Hello2.c and Start-pc-XC161.a66 from within the project directory to the project Hello2.uv2. © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 53: Modifying The Example Source

    • Double click the file Hello2.c from within the project window. • Use the editor to modify the printf command: printf ("\x1AHello World\n") printf ("\x1APHYTEC... Stick It In!\n") • Save the modified file under the same name Hello2.c. © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 54: Setting Target Options

    • If there are no errors, the code is assembled and linked and the executable code is ready to be downloaded to the board. Memory configuration based on standard version of the phyCORE-XC161 as included in the Rapid Development Kit featuring 1 MByte of Flash and 512 kByte of fast SRAM. Modify these values if you are using a different memory configuration.
  • Page 55: Downloading The Output File

    • Returning to the FlashTools 3 tabsheet, choose the Download tab and click on the Open button. • Choose the Download tab, and click on the Open button. • Browse to the correct drive and path for the phyCORE-XC161 Demo folder (default location C:\PHYBasic\pC-XC161\Demos\Keil\Hello2\Hello2.h86) and click Open.
  • Page 56: Starting The Terminal Emulation Program

    • Resetting the Development Board (at S2) will execute the Hello2.h86 file loaded into the Flash. • Successful execution will send the modified character string "PHYTEC... Stick It In!" to the HyperTerminal window. • Click the Disconnect icon • Close the HyperTerminal program...
  • Page 57: Debugging

    Keil. The µVision2 Debugger offers two operating modes that can be selected in the Project|Options for Target phyCORE-XC161 dialog: • The Simulator allows PC-based microcontroller simulation of most features of the 166/ST10 microcontroller family without actually having target hardware.
  • Page 58: Creating A Debug Project And Preparing The Debugger

    CPU vendor data base list. • Rename the target of your project within the Project Window – Files tab into phyCORE-XC161. • Rename the file group Source Group 1 within the Project Window – Files tab into User and add an additional file group named System Files.
  • Page 59: Setting Options For Target

    Keil\C166\Monitor\Phytec pC-XC161 folder for details). 4.1.2 Setting Options for Target • Open the Project|Options for Target ’phyCORE-XC161’ menu and change the default settings to the correct values as shown in the figure below. This includes settings for the clock frequency of your phyCORE-XC161, the memory model and the off-chip memory.
  • Page 60 (see settings for the Keil Monitor-166 Driver in section 4.1.3) any serial input and output of the user application conflicts with the communication of the monitor program. Such serial communication functions cannot be active in user code to ensure proper debugging. © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 61 Debugging • Select the C166 tabsheet and add MONITOR166 in the Define: input field. Adjust the settings for Code Optimization to the settings shown in the figure below. © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 62 • Ensure that the configurations on the EC++, A166 and L166 Locate tabsheets are set to their default settings. • Click the OK button to save the settings. • Click on the Rebuild all target files button compile and link your project. © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 63: Preparing The Debugger

    Debugging 4.1.3 Preparing the Debugger • Open the Project|Options for Target ’phyCORE-XC161’ menu and select the Debug tabsheet. • Enable the checkboxes Keil Monitor–166 Driver, Load Application at Startup and Go till main(). • Click on the Settings button in the upper right-hand corner of the Debug tabsheet.
  • Page 64 • Select the correct COM Port and Baudrate in the PC Port Settings. • Click OK to save these settings and exit the Monitor Driver Settings window. • The Options for Target ’phyCORE-XC161’ menu will reappear. • Click on the OK button again. © PHYTEC Meßtechnik GmbH 2003...
  • Page 65: Preparing The Target Hardware To Communicate With The Debugger

    Click on OK. • You will see a blue status bar from left to right at the bottom of your screen indicating the download process of the debug program. © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 66 If the data transfer was successful, a screen similar to the one shown below will appear. The Project window changed to the Register page. The debug toolbar is also displayed. In the lower part of the debug screen you will see the Command and Watch/Stack window. © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 67: Keil Μvision2 Debug Features

    Run to Cursor line. Reset Stop Step Into Step Over Step Out Run to Cursor line • The first button on the debugger toolbar is the Reset button. The Reset command sets the program counter to 0. © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 68 Run to Cursor line command. The Run to Cursor line command executes the program to the current cursor position within the code window. This allows use of the cursor line as a temporary breakpoint. © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 69: Using The Keil Μvision2 Debug Features

    • Click on the Step Into button. The printf command will be executed and the serial output will appear in the Serial #1 window of the debugger. © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 70: Breakpoints

    Notice that the LED (D3) on the Development Board now illuminates. This is because the led(1) function call has been executed and the status of the LED is shown in the Serial window. • Click again on Insert/Remove Breakpoint remove breakpoint. © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 71: Single Stepping And Watch Window

    Your program will be executed until it reaches this line. • Notice that the LED D3 on the Development Board is off now and the new status of the LED is shown in the Serial window. © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 72: Running, Stopping And Resetting

    • Click the Run button. The LED now blinks and its current status is displayed in the Serial window. You can use of the Stop button to stop program execution at any time. © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 73: Resetting The Debugger And The Phycore-Xc161

    Debugging Resetting the Debugger and the phyCORE-XC161 Debugger in Monitor mode: The monitor kernel runs on the target hardware. A debugger reset sets the IPC to zero and performs other initialization routines if no user application was started. This type of reset is not as complete as a hardware-reset (pressing push button S2 on the Development Board).
  • Page 74: Changing Target Settings For The "Executable Version

    4.1.1. First highlight the Start_pC-XC161_debug.a66 file. Then right- click in the Project Window – Files to open a new window. Choose the option Remove File ’Start_pC-XC161_debug.a66’. © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 75 Flash as opposed to debugging code in RAM as described in sections 4.1 through 4.6. Refer back to section 4.1.1 for more details on the different startup files. • Your project should now look like this: • Save the project. © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 76 XC161CJ QuickStart Instructions • Open the Project|Options for Target ’phyCORE-XC161’ menu and change the settings for off-chip memory to the new values as shown in the figure below. The start address for RAM, accessed via Chip Select signals /CS1, is 0x200000 which is also configured in the BUSCON1 register (see start_pC-XC161.a66...
  • Page 77 Debugging • Select the Output tabsheet and enable the checkbox Create HEX File. © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 78 • Start the HyperTerminal program as described in section 2.4.2. • Press the Reset button S1 on the Development Board to start the program. • Now you can watch your final debug example execute. © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 79: Advanced User Information

    µVision2 software tool chain. 5.1 FlashTools 3 Flash is a highly functional means of storing non-volatile data. One of its advantages is the possibility of on-board programming. Flash programming tools for the phyCORE-XC161 are provided in the form executable binary files...
  • Page 80: Start-Pc-Xc161.A66

    C:\PHYBasic\pC-XC161\Tools\Startup\Keil. The properties of the external bus interface are already configured for the phyCORE-XC161. You may want to change the values for the Chip Select Unit. To accommodate the startup code to the needs of your application copy it from the directory described above to your project directory.
  • Page 81: Linking And Locating

    RAM of the XC161CJ or to any external RAM on the phyCORE-XC161. All xCODE and xCONST classes must also be located to any internal non-volatile memory (e.g. Flash, OTPROM) of the XC161CJ or the external Flash memory of the phyCORE-XC161. © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 82 The external use of the Chip Select signals is predefined by the hardware in the following way: • Flash Bank uses /CS0 (up to 2 MByte Flash) • RAM Bank uses /CS1 (up to 512 kByte RAM) The default configuration of the phyCORE-XC161 has 1 MByte Flash (/CS0) kByte fast...
  • Page 83: Debugging Using Monitor Kernel

    Reserve: statement for 0x008 – 0x011, 0x0AC – 0x0AF to the L166Misc tab of your Options for Target option to reserve at least these ranges. © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 84 Flash bank and RAM bank. Remember that you will have multiple additional mirrors of the physical devices actually mounted on the phyCORE-XC161 if their capacity is less than the maximum value of 1 MByte. For instance if you have 512 kByte of RAM mounted on the phyCORE-XC161 you will have one additional mirror image of the RAM within the reserved 1 MByte range.
  • Page 85: Demo For The Optional Ethernet Controller Cs8900A-Cq

    5.5 Demo for the Optional Ethernet Controller CS8900A-CQ As an option, the Crystal LAN CS8900A-Q Ethernet Controller can populate the phyCORE-XC161 at position U16. The PHYTEC Spectrum-CD, included in the phyCORE-XC161 Rapid Development Kit, contains an example program that demonstrates the use of a tiny webserver.
  • Page 86 XC161CJ QuickStart Instructions © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 87: A Appendices

    µVison2 debugger may have problems completing the communication initialization process. This can be intermittent. The FIFO can be disabled under Settings/Control Panel|System|Device Manager|Port Settings|Advanced. Make sure Use FIFO buffers is not activated in this menu. © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 88: Monitor Configuration Error

    If this should occur, make sure that the correct target hardware is selected under Options for Target|Debug|Settings|Monitor configuration. This step is crucial to ensure proper communication between the target hardware and debug environment. © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 89 How would you improve this manual? Did you find any mistakes in this manual? page Submitted by: Customer number: Name: Company: Address: Return to: PHYTEC Technologie Holding AG Postfach 100403 D-55135 Mainz, Germany Fax : +49 (6131) 9221-33 © PHYTEC Meßtechnik GmbH 2003 L-646e_1...
  • Page 90 Published by © PHYTEC Meßtechnik GmbH 2003 Ordering No. L-646e_1 Printed in Germany...

Table of Contents