Beck IPC@CHIP Series Getting Started

Embedded web controller
Table of Contents

Advertisement

IPC@CHIP DK41 / DK51
Getting Started V2.2
IPC@CHIP Embedded Web Controller Family
© 2000-2004 Beck IPC GmbH
Getting Started
Development Kit DK41
Development Kit DK51
Order No. 20041011
Order No. 538823
Page 1 of 61

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the IPC@CHIP Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Beck IPC@CHIP Series

  • Page 1 IPC@CHIP DK41 / DK51 Getting Started V2.2 Getting Started IPC@CHIP Embedded Web Controller Family Development Kit DK41 Order No. 20041011 Development Kit DK51 Order No. 538823 © 2000-2004 Beck IPC GmbH Page 1 of 61...
  • Page 2: Table Of Contents

    IPC@CHIP ............61 HERE TO FIND OTHER INFORMATION ON THE 4.3 W ......................61 HERE TO GET SUPPORT 4.4 U ........................61 SEFUL WEB LINKS 4.5 O ........................61 RDER NUMBERS © 2000-2004 Beck IPC GmbH Page 2 of 61...
  • Page 3: Introduction

    Controllers SC12 and SC13 into operation, and concentrates on a system level start-up. For more information about hardware and software functionality please also read the IPC@CHIP API Documentation and IPC@CHIP Hardware Manual. © 2000-2004 Beck IPC GmbH Page 3 of 61...
  • Page 4: System Start-Up

    Ethernet network with an available twisted pair connection for the DK40 Development Board • A DC power supply (24 VDC will do fine) • Windows HyperTerminal program • Zip-files from the Beck Getting Started web site: • FTP client TotalCommander as shareware • CHIPTOOL Software •...
  • Page 5: Step 1 - Switching On The Dk40 Development Board

    First of all, you have to place the SC12 into the socket inside the DK40. The small dot on the top of the SC12 diagonally opposite to the BECK logo indicates pin 1. The notch in the socket indicates the position of pin 1 in the socket.
  • Page 6: Step 2 - Setting Up The Serial Communication

    ‘A:>’ prompt for the drive A: on the Embedded Controller. Enter the command ‘dir’ and you will see the root directory of the Embedded Controller. The Embedded Controller is factory shipped with the two graphics files "BECK.GIF" and "CHIP.GIF" on the drive.
  • Page 7: Step 3 - Setting Up The Ethernet Communication

    DHCP server, this IP configuration will be displayed at the end of the start-up output messages. In the event of an error, the message “DHCP request failed” will be output after a timeout of several seconds. @CHIP-RTOS Copyright (c) BECK IPC GmbH 1999-2004 Copyright (c) Elmic Systems, Inc. 1999-2004 Target=SC12 Serialnumber=020C2 Bootstrap version V2.24...
  • Page 8 IPC@CHIP-based products. It is also useful for third-party customers to manage their IPC@CHIP-based products. This tool can be downloaded from the IPC@CHIP home page: http://www.beck-ipc.com/ipc in the download area. For more details about CHIPTOOL take a look at the integrated help documentation of the application.
  • Page 9 The IP configuration information is now stored in the file ‘CHIP.INI’ on the flash disk. This address is unique because Ethernet controllers must have a world-wide unique 6 byte address. © 2000-2004 Beck IPC GmbH Page 9 of 61...
  • Page 10 Device = LOOPBACK Type = LPK = 127.0.0.1 Netmask = 255.255.255.255 Gateway = 192.168.200.10 The figure above shows the IP configuration of the Ethernet device and of the “Internal loopback device”. © 2000-2004 Beck IPC GmbH Page 10 of 61...
  • Page 11: Step 4 - Downloading The Dk40 Online Demo Program

    These are default settings that can be changed at a later time. Click OK to confirm and close the dialog. In the previous dialog select the new connection and click “Connect". © 2000-2004 Beck IPC GmbH Page 11 of 61...
  • Page 12 “F3 View” button to view the content of the file. Select all the text apart from the section [IP] and copy it to the Clipboard with CTRL+C. Then close the window. © 2000-2004 Beck IPC GmbH Page 12 of 61...
  • Page 13 You can close the FTP connection by clicking the “Disconnect” button once all files have been transferred. The DK40 must be restarted in order to activate the demo. To do this, switch the power off and on. © 2000-2004 Beck IPC GmbH Page 13 of 61...
  • Page 14: Step 5 - Operating The Demo Program

    A Java applet is then loaded that visually represents the digital I/Os of the DK40. Click the fields marked 7 to 0 in order to switch the outputs of the DK40 on and off. © 2000-2004 Beck IPC GmbH Page 14 of 61...
  • Page 15: Dk50 Development Board Start-Up (Sc13)

    • Windows HyperTerminal program • Optional: Compact Flash Card, if you want to configure the CF Interface (not needed for start-up) • Zip-files from the Beck Getting Started web site: • FTP client TotalCommander as shareware • CHIPTOOL Software •...
  • Page 16: Step 1 - Switching On The Dk50 Development Board

    Development Board. The Power LED (7) will light up and Traffic LED will light up for less than half a second. Please note: The SC12 has a combined Ethernet Link/Traffic function. The SC13 has only Ethernet Traffic function. © 2000-2004 Beck IPC GmbH Page 16 of 61...
  • Page 17: Step 2 - Setting Up The Serial Communication

    ‘A:>’ prompt for the drive A: on the Embedded Controller. Enter the command ‘dir’ and you will see the root directory of the Embedded Controller. The Embedded Controller is factory shipped with the two graphics files "BECK.GIF" and "CHIP.GIF" on the drive.
  • Page 18: Step 3 - Setting Up The Ethernet Communication

    IP configuration will be displayed at the end of the start-up output messages. In the event of an error, the message “DHCP request failed” will be output after a timeout of several seconds. @CHIP-RTOS Copyright (c) BECK IPC GmbH 1999-2004 Copyright (c) Elmic Systems, Inc. 1999-2004 Target=SC13 Serialnumber=00017 Bootstrap version V2.25...
  • Page 19 IPC@CHIP-based products. It is also useful for third-party customers to manage their IPC@CHIP-based products. This tool can be downloaded from the IPC@CHIP home page: http://www.beck-ipc.com/ipc in the download area. For more details about CHIPTOOL take a look at the integrated help documentation of the application.
  • Page 20 The IP configuration information is now stored in the file ‘CHIP.INI’ on the flash disk. This address is unique, because Ethernet controllers must have a world-wide unique 6 byte address. © 2000-2004 Beck IPC GmbH Page 20 of 61...
  • Page 21 Device = LOOPBACK Type = LPK = 127.0.0.1 Netmask = 255.255.255.255 Gateway = 192.168.200.10 The figure above shows the IP configuration of the Ethernet device and of the “Internal loopback device”. © 2000-2004 Beck IPC GmbH Page 21 of 61...
  • Page 22: Step 4 - Downloading The Dk50 Online Demo Program

    These are default settings that can be changed at a later time. Click OK to confirm and close the dialog. In the previous dialog select the new connection and click “Connect". © 2000-2004 Beck IPC GmbH Page 22 of 61...
  • Page 23 “F3 View” button to view the content of the file. Select all the text apart from the section [IP] and copy it to the Clipboard with CTRL+C. Then close the window. © 2000-2004 Beck IPC GmbH Page 23 of 61...
  • Page 24 You can close the FTP connection by clicking the “Disconnect” button once all files have been transferred. The DK50 must be restarted in order to activate the demo. To do this, press the Reset button. © 2000-2004 Beck IPC GmbH Page 24 of 61...
  • Page 25: Step 5 - Operating The Demo Program

    O7 to O0 in order to switch the outputs of the DK50 on and off. The LEDs on PIOs 13 and 3 can also be switched on and off in this way. © 2000-2004 Beck IPC GmbH Page 25 of 61...
  • Page 26: Step 6 - Configuring The Cf Card

    The following message should then appear in the HyperTerminal program during the startup. This confirms that the CompactFlash has been installed correctly as drive B:. External IDE disk driver V1.14 Interface Version (0x0001) Mounting partition: 1 Drive B: installed © 2000-2004 Beck IPC GmbH Page 26 of 61...
  • Page 27 IPC@CHIP from A: to B:. To do this enter the command "cd b:" in the command line shown below and confirm with <ENTER>. The view must then be refreshed by choosing the “Reread Source” command in the “Show" menu. © 2000-2004 Beck IPC GmbH Page 27 of 61...
  • Page 28 You can enter the commands "B: <ENTER>" and "DIR <ENTER>" in the HyperTerminal program in order to view the content of the Compact Flash card: A:\>b: B:\>dir DESC 4552 03-22-04 00:01 INDEX 5177 03-22-04 00:01 2 files use 9729 bytes 63922176 bytes free © 2000-2004 Beck IPC GmbH Page 28 of 61...
  • Page 29: Dk50 Development Board Start-Up (Sc11)

    • Windows HyperTerminal program • Optional: Compact Flash Card, if you want to configure the CF Interface (not needed for start-up) • Zip-files from the Beck Getting Started web site: • FTP client TotalCommander as shareware • CHIPTOOL Software •...
  • Page 30: Step 1 - Switching On The Dk50 Development Board

    Then connect the AC power supply to your main supply and to the DK50 Development Board. The Power LED (7) will light up and Traffic LED will light up for less than half a second. © 2000-2004 Beck IPC GmbH Page 30 of 61...
  • Page 31: Step 2 - Setting Up The Serial Communication

    ‘A:>’ prompt for the drive A: on the Embedded Controller. Enter the command ‘dir’ and you will see the root directory of the Embedded Controller. The Embedded Controller is factory shipped with the two graphics files "BECK.GIF" and "CHIP.GIF" on the drive.
  • Page 32: Step 3 - Setting Up The Ppp Communication

    The procedure described is slightly different for other Windows versions. When using other Windows versions, a slightly different form of the chip.ini configuration file shown here must be used. You can download configuration files for different versions from the Beck Getting Started web site. © 2000-2004 Beck IPC GmbH...
  • Page 33 Xmodem under Protocol. Start the transfer by clicking the Send button. (Attention: after the xtrans command is entered, you only have a minute to start the transfer! Otherwise you will have to reenter the xtrans command.) © 2000-2004 Beck IPC GmbH Page 33 of 61...
  • Page 34 PC. To do this choose Settings -> Network and Dial-up Connections in the Start menu. This will open the Network and Dial-up Connections window. Click the Make New Connection icon. © 2000-2004 Beck IPC GmbH Page 34 of 61...
  • Page 35 This will start the Network Connection Wizard which will help you to create the new connection. Click Next in the Welcome dialog of the wizard. In the Network Connection Type dialog select the Connect directly to another computer option. Click Next to continue. © 2000-2004 Beck IPC GmbH Page 35 of 61...
  • Page 36 In the Select a Device dialog you can select the connection by means of which the IPC@CHIP is connected with your PC. Select here the serial interface to which the null-model cable is connected. © 2000-2004 Beck IPC GmbH Page 36 of 61...
  • Page 37 Select the required the option and click Next to continue. In the last dialog of the wizard you can give the connection a name. Click the Finish button to close the Network Connection Wizard. © 2000-2004 Beck IPC GmbH Page 37 of 61...
  • Page 38 Network Connection Wizard has not queried. To do this, click Properties. The maximum transmission speed of the serial interface first has to be increased. Click the Configure... button to open the Modem Configuration dialog. © 2000-2004 Beck IPC GmbH Page 38 of 61...
  • Page 39 At Maximum speed (bps) set the value 115200 and click OK in order to return to the previous dialog. Then select the Networking tab. Deactivate here all components apart from Internet Protocol (TCP/IP). Click OK to close the dialog. © 2000-2004 Beck IPC GmbH Page 39 of 61...
  • Page 40 The IPC@CHIP can now be accessed via the IP address configured above. All the TCP/IP based services of the IPC@CHIP can now be used via the PPP connection in exactly the same way as if an Ethernet connection was available. © 2000-2004 Beck IPC GmbH Page 40 of 61...
  • Page 41: Step 4 - Downloading The Dk50 Online Demo Program

    These are default settings that can be changed at a later time. Click OK to confirm and close the dialog. In the previous dialog select the new connection and click “Connect". © 2000-2004 Beck IPC GmbH Page 41 of 61...
  • Page 42 Now select the CHIP.INI file on the PC and click the “F3 View” button to view the content of the file. Select all the text apart from the section [IP] and copy it to the Clipboard with CTRL+C. Then close the window. © 2000-2004 Beck IPC GmbH Page 42 of 61...
  • Page 43 The DK50 must be restarted in order to activate the demo. To do this, press the Reset button. After the IPC@CHIP has rebooted, reestablish the PPP-connection from your PC to the IPC@CHIP. © 2000-2004 Beck IPC GmbH Page 43 of 61...
  • Page 44: Step 5 - Operating The Demo Program

    O7 to O0 in order to switch the outputs of the DK50 on and off. The LEDs on PIOs 13 and 3 can also be switched on and off in this way. © 2000-2004 Beck IPC GmbH Page 44 of 61...
  • Page 45: Step 6 - Configuring The Cf Card

    The following message should then appear in the HyperTerminal program during the startup. This confirms that the CompactFlash has been installed correctly as drive B:. External IDE disk driver V1.14 Interface Version (0x0001) Mounting partition: 1 Drive B: installed © 2000-2004 Beck IPC GmbH Page 45 of 61...
  • Page 46 IPC@CHIP from A: to B:. To do this enter the command "cd b:" in the command line shown below and confirm with <ENTER>. The view must then be refreshed by choosing the “Reread Source” command in the “Show" menu. © 2000-2004 Beck IPC GmbH Page 46 of 61...
  • Page 47 You can enter the commands "B: <ENTER>" and "DIR <ENTER>" in the HyperTerminal program in order to view the content of the Compact Flash card: A:\>b: B:\>dir DESC 4552 03-22-04 00:01 INDEX 5177 03-22-04 00:01 2 files use 9729 bytes 63922176 bytes free © 2000-2004 Beck IPC GmbH Page 47 of 61...
  • Page 48: Information For Advanced Users

    The IP configuration information is now stored in the file ‘CHIP.INI' on the flash disk. Now either cycle the power on the DK40/DK50 or use the ‘ipeth’ command to apply the new IP configuration. © 2000-2004 Beck IPC GmbH Page 48 of 61...
  • Page 49: Ipc@Chip @Chip-Rtos

    Updates New @CHIP-RTOS versions for SC12 and SC13 are available for download via the Internet at the download area of http://www.beck-ipc.com/ipc . The downloaded ZIP file contains complete @CHIP- RTOS API documentation in HTML format. Six different variant configurations of the @CHIP-RTOS are included to tailor the @CHIP-RTOS to your needs.
  • Page 50: Downloading Rtos Updates

    IPC@CHIP so that the CHIPTOOL can get the attention of the resident Bootstrap loader. The existing @CHIP-RTOS could be invalid due to, for example, an IPC@CHIP power loss during the @CHIP-RTOS Flash programming cycle. © 2000-2004 Beck IPC GmbH Page 50 of 61...
  • Page 51: Chip.ini Configuration File

    Since SC12@CHIP-RTOS version 1.10Beta / SC13@CHIP-RTOS version 0.91Beta, it is also possible to enter the MAC-address of the internal Ethernet controller, instead of the serial number. © 2000-2004 Beck IPC GmbH Page 51 of 61...
  • Page 52: The Command Shell

    PPP at the IPC@CHIP includes the subprotocols LCP and NCP (IPCP). Supported authentication protocols are PAP and CHAP. For example, the figure shows the stdio configured for both the RS-232 COM (Port 1) and Telnet ports. © 2000-2004 Beck IPC GmbH Page 52 of 61...
  • Page 53: The Http Web Server

    After creating your own Web pages and downloading them into the @CHIP you need to enter the IPC address followed by a "slash" and the name of the first page you want to open. © 2000-2004 Beck IPC GmbH Page 53 of 61...
  • Page 54: Writing Execution Programs For The Ipc@Chip

    16 bit DOS programs can be created with a variety of development tools. However, the instruction opcodes in these programs must be confined to the 80186 instruction set. For C/C++ programming, Beck offers the Borland 5.02 development environment. Important note for installation of Borland 5.02 on your Windows PC: Installation of Borland 5.02 has some trouble with long Windows directory and filenames.
  • Page 55 @CHIP-RTOS API functions, reached through @CHIP-RTOS interrupts. Refer to the @CHIP-RTOS API documentation for more details on these interfaces Dozens of examples for programming with the @CHIP RTOS API interfaces are available for download via the Internet. © 2000-2004 Beck IPC GmbH Page 55 of 61...
  • Page 56 . This hello program spins in the loop until a key on the console is touched and then it exits with the “Good Bye” message. A:\>hello Hello World Good Bye This also allows multiple DOS programs to execute concurrently with a co-operative multitasking. © 2000-2004 Beck IPC GmbH Page 56 of 61...
  • Page 57: Program Debugging

    The next step we need then is to instruct the linker to pass this information along further to the resulting executable. This is done by checking the Linker option "Include debug information" shown in the following dialog. © 2000-2004 Beck IPC GmbH Page 57 of 61...
  • Page 58 (In general, there is no guarantee that the compiler will not immediately write over our register settings with a subsequent instruction.) Through the Debug@Chip's Mix window this code inspection is straightforward. © 2000-2004 Beck IPC GmbH Page 58 of 61...
  • Page 59: Stripping Debug Information From Executables Prior To Download

    The 'tdstrip' program provided by Borland will remove the debug information from an executable file. This operation is recommended prior to downloading programs to the target IPC@CHIP to conserve Flash disk space. © 2000-2004 Beck IPC GmbH Page 59 of 61...
  • Page 60: Appendix

    This is a short introduction and if you are looking for more detailed information about TCP/IP, we suggest the following books: 1. "Internetworking with TCP/IP, Volume 1" by Douglas Comer 2. "TCP/IP Illustrated, Volume 1" by W. Richard Stevens © 2000-2004 Beck IPC GmbH Page 60 of 61...
  • Page 61: Where To Find Other Information On The Ipc@Chip

    1. To get support please use our newsgroup on the Internet: You can visit the IPC@CHIP forum at http://www.beck-ipc.com/ipc/support/forum. Here you will find a lot of answers to customer problems and you can also add your own ideas and questions.

This manual is also suitable for:

Ipc@chip dk41Ipc@chip dk51

Table of Contents

Save PDF