UnetICE Manual
UnetICE Manual
Version 1.0
Embest Info&Tech Co.,LTD. All rights reserved. Tel: +86-755-25635656 Fax: +86-755-25616057 Room 509, Luohu Science&Technology Building, #85 Taining Road, Shenzhen, Guangdong, China E-mail: [email protected] http://www.embedinfo.com or http://www.armkits.com
Content
I. OVERVIEW ..................................................................................................................................3 II. UNETICE CONNECTIONS..........................................................................................................5 2.1 UNetICE Hardware.............................................................................................................5 2.2 Connections of emulator .....................................................................................................6 2.3 Indicators ............................................................................................................................8 2.4 Port signal...........................................................................................................................8 2.5 USB driver installation ..................................................................................................... 11 III. CONFIGURATION OF EMULATOR .............................................................................................13 3.1 Embest UNetICE Manager ...............................................................................................13 3.2 Setup IP address................................................................................................................14 3.3 Software upgrade ..............................................................................................................18 3.4 Emulator monitoring information .....................................................................................22 IV. SOFTWARE SETTINGS .............................................................................................................26 4.1 Embest IDE settings........................................................................................................26 REFERENCES OF ERROR INFORMATION ........................................................................................27
Room 509, Luohu Science&Technology Building, #85 Taining Road, Shenzhen, Guangdong, China(518020) http://www.embedinfo.com
I. Overview
Embest UNetICE for ARM is the new-generation high-speed real time in-c ircuit emulator that Embest introduced in August 2004 after the release of E mbest PowerICE for ARM and Embest Emulator for ARM. Compared with Embest PowerICE for ARM and Embest Emulator for ARM, this new emulator has following added features: Supports both 10/100M Ethernet and USB port communication, user can choose one of the two connection ways or shift between them; Supports Embest IDE for ARM, ARM/SDT and ARM/ADS integrated d evelopment environment; Downloading and debugging speed up to 800KB/S; Supports Internet sharing among development team and remote debugging; With powerful emulator management software UNetICE Manager tos upport the settings of online IP address, subnet address, Mac address; fast software upgrade within 30s; it has an information window to provide auxiliary debugging information;
Main features: 1. Supports ARM series kernel chips; 2. Driver program supports Windows98/NT /2000 /XP; 3. Supports standard 20-pin JTAG port; Embest Info&Tech Co.,LTD.
Tel: +86 755 25635656 Fax: +86-755-25616057 Email: [email protected] Room 509, Luohu Science&Technology Building, #85 Taining Road, Shenzhen, Guangdong, China(518020) http://www.embedinfo.com
4. Supports assembler level debugging, support ARM. THUMB and instruc tion set across debugging; 5. Supports standard C language program debugging; 6. Non-plug-in debugging, consume no resources of board; 7. Supports high-speed online Flash programming; 8. Supports maximum two hardware breakpoints, two data breakpoints a nd unlimited software breakpoints.
Room 509, Luohu Science&Technology Building, 4 #85 Taining Road, Shenzhen, Guangdong, China(518020) http://www.embedinfo.com
Room 509, Luohu Science&Technology Building, 5 #85 Taining Road, Shenzhen, Guangdong, China(518020) http://www.embedinfo.com
No.
1 2 3 4
Item
Power indicator (PWR) State indicator (RUN) Alarm indicator (ALARM)
Functions
Indicate the state of power supply Indicate running state of emulator Indicate error alarm The communication port connected to host in
Ethernet port Ethernet way. 5 USB port way. 6 External socket 7 Power switch external power supply) 8 9 10 UPDATER (FUNC) enter updater mode RESET JTAG port Reset emulator 20-pin IDC plug port Press the button when resetting the emulator to Switch power supply modes (USB power supply / power supply Use external power supply The communication port connected to host in USB
The host can be connected to UNetICE emulator through a special USB cable. See figure below, the A-type male port in the left is connected with the A-type female port of host, the B-type male port in the right is connected with the B-type female port of target board. If you need to use USB as power supply device, you can adjust the power switch.
Figure 2-3 USB cable Ethernet connection type There are two ways of Ethernet connection, one is standard Ethernet connection, use two parallel network cable (see figure below) to connect host, target board and HUB to constitute a LAN. The other way is using one cross cable to connect the host and target machine directly.
Figure 2-4 Ethernet cable Power supply User can choose 5V power supply through USB port by operating power switch; or alternatively choose 6~9V external power supply. In external power supply socket, the inside is positive, the outside is negative, see the figure below:
Room 509, Luohu Science&Technology Building, 7 #85 Taining Road, Shenzhen, Guangdong, China(518020) http://www.embedinfo.com
2.3 Indicators
Functions of indicators: PWR: indicate the state of power supply; RUN: indicate running state of emulator; ALARM: indicate error alarm. See details in the table below: Names of indicators PWR Description of indicator state Power indicator on: indicate normal power supply. When the emulator is powered on, it enters normal mode, the indicator is on. In normal mode, when the debugging software is connected RUN to emulator, the indicator blinks; When the emulator is powered on, while in updater mode, the indicator is on (ALARM indicator is also on) In updater mode, during the process of downloading, the indicator blinks; The indicator is on, the system enters updater mode; The indicator turns on, then turns off in 1 second, indicating ALARM an alarm message created; The indicator blinks for 5 seconds, turns on then turns off in 1 second, indicating an error message created.
Room 509, Luohu Science&Technology Building, 8 #85 Taining Road, Shenzhen, Guangdong, China(518020) http://www.embedinfo.com
The definition of JTAG port is shown in the figure below (the RES pin can be used for future upgraded versions, please refer to relevant specification)
Figure 2-6 Definition of 20-pin JTAG port cable Description of pin signal Signal GND TDI I/O Output Power Ground. The testing data input signal from Embest Emulator to JTAG port of target board, It is recommended to add a pull-up or pull-down resistance. TMS Output The testing mode signal from Embest Emulator to JTAG port of target board, the signal should be pulled up in target board, to avoid possible negative impact caused by change in TCK pin before connecting. TCK Output The testing clock signal from Embest Emulator to JTAG port of target board, It is recommended to add a pull-up or pull-down resistance. TDO Input The testing data output signal from JTAG port of target board to Embest Emulator. nSRST Output The system reset signal from open collector of
Room 509, Luohu Science&Technology Building, 9 #85 Taining Road, Shenzhen, Guangdong, China(518020) http://www.embedinfo.com
Description
Embest Emulator to target board. the signal should be pulled up in target board, to avoid possible unexpected reset before connecting. RES Reserved.
Figure 2-7 definition of USB port Description of pin signal: Signal VDss Specification USB port can be used to supply power to peripheral equipment, voltage range of USB port: 4.4-5.25V D+ DGND Communication channel Communication channel Grounding
Room 509, Luohu Science&Technology Building, 10 #85 Taining Road, Shenzhen, Guangdong, China(518020) http://www.embedinfo.com
Figure 2-8 Definition of Ethernet port Description of pin signal: Signal TX+ TXRX+ RXn/c Tranceive Data+ Tranceive DataReceive Data+ Receive DataNot connected Specification
4. When the installation is completed, the system displays Completing the Found New Hardware Wizard, indicating you have successfully installed Embest UNetICE device.
Room 509, Luohu Science&Technology Building, 12 #85 Taining Road, Shenzhen, Guangdong, China(518020) http://www.embedinfo.com
Room 509, Luohu Science&Technology Building, 13 #85 Taining Road, Shenzhen, Guangdong, China(518020) http://www.embedinfo.com
Room 509, Luohu Science&Technology Building, 14 #85 Taining Road, Shenzhen, Guangdong, China(518020) http://www.embedinfo.com
Figure 3-2 UNetICE IP address setting interface (3) Configure options of telecom Select the option [Setting][Configure], configuration dialog box pops up. In the column Remote Device, select UNetICE. In the column Debug Speed, select Full Speed. In the column Select Communication Type, select USB or TCPIP according to the communication type between UNetICE and the host, if you choose TCPIP enter UNetICEs current IP address in IP Address column.
Room 509, Luohu Science&Technology Building, 15 #85 Taining Road, Shenzhen, Guangdong, China(518020) http://www.embedinfo.com
Figure 3-4 Configure TCP/IP communication type Notice: if you dont know UNetICEs IP address, you can choose USB communication type to set it.
(4) Get displayed IP address setting information Click [Refresh] button, if the communication type is properly set, UNetICEs current IP address information will be displayed in the column Current IP.
Room 509, Luohu Science&Technology Building, 16 #85 Taining Road, Shenzhen, Guangdong, China(518020) http://www.embedinfo.com
Figure 3-5 The original IP address (5) Setup IP address In the column Setup IP, enter the IP address, Subnet Mask code to be setup. If you need setup UNetICEs MAC address, enter 12-digit hexadecimal MAC address in the column MAC.
Figure 3-6 Setup UNetICE IP address Notice: make sure the IP address, MAC address to be setup do not conflict with other machines, subnet mask code compliant to subnet. If you have modified UNetICE MAC, you need to restart the host directly connected with UNetICE.
(6) Write setup parameters and return When you have confirmed IP address, click [Setup] address to setup UNetICEs address. When the setup is finished, click [Refresh], the IP address already set will be displayed in the left column Current IP.
Room 509, Luohu Science&Technology Building, 17 #85 Taining Road, Shenzhen, Guangdong, China(518020) http://www.embedinfo.com
Figure 3-7 New IP address after setup (7) Restart UNETICE When IP address setup is finished, restart UNetICE, UNetICE will run the software at the new IP address (on condition that the new address does not conflict with other host IP addresses).
Figure 3-8 UNetICE software upgrade interface (3) Configure options of telecom Select the option [Setting][Configure...], Configuration dialog box pops up. In the column Remote Device, select UNetICE. In the column Debug Speed, select Full Speed. In the column Select Communication Type, select USB or TCPIP according to the communication type between UNetICE and the host, if you choose TCPIP enter UNetICEs current IP address in IP Address column.
Room 509, Luohu Science&Technology Building, 19 #85 Taining Road, Shenzhen, Guangdong, China(518020) http://www.embedinfo.com
Figure 3-10 Configure TCP/IP communication type Notice: if you dont know UNetICEs IP address, you can choose USB communication type to set it.
(4) Load upgrade files Enter the path of upgrade files in the column Image path, then click the button [Load File], UNetICE Manager will automatically identify the upgrade file modules, if the file is legal UNetICE software upgrade files, the software interface will automatically display the information of upgrade files.
Room 509, Luohu Science&Technology Building, 20 #85 Taining Road, Shenzhen, Guangdong, China(518020) http://www.embedinfo.com
Figure 3-11 UNetICE Manager displays the information of upgraded files (5) Download upgrade files to UNETICE Click [Download] to download the files to UNetICE, UNetICE will automatically update corresponding software modules, in upgrading process, RUN indicator blinks. When check is completed, UNetICE software upgrade is finished.
Figure 3-12 the interface after UNetICE software upgrade (6) Reset UNetICE When the software upgrade is finished, reset UNetICE, UNetICE will run based on the upgraded software. Embest Info&Tech Co.,LTD.
Tel: +86 755 25635656 Fax: +86-755-25616057 Email: [email protected] Room 509, Luohu Science&Technology Building, 21 #85 Taining Road, Shenzhen, Guangdong, China(518020) http://www.embedinfo.com
Room 509, Luohu Science&Technology Building, 22 #85 Taining Road, Shenzhen, Guangdong, China(518020) http://www.embedinfo.com
Figure 3-14 Configure TCP/IP communication type Notice: if you dont know UNetICEs IP address, you can choose USB communication type to set it.
(2) Open UNetICE information output channels Select the menu [File][Message Window], an information window pops up, when information output monitoring window is opened, UNetICE information output window will be automatically opened.
If you have opened several UNetICE windows, the most recent UNetICE information window is current window. The effective information window will prompt Open remote output ok!; if the opened information window fails to connect UNetICE, it will prompt Cannt open remote output.
Figure 3-17 UNetICE information window connect failed (3) Close UNetICE information output Close information output window, UNetICE information output channel will be closed. (4) Clear message Move the mouse to information output window, click the right button of mouse to pop up the menu, select [Clear Message] to clean the old message.
Room 509, Luohu Science&Technology Building, 24 #85 Taining Road, Shenzhen, Guangdong, China(518020) http://www.embedinfo.com
Figure 3-18 Clear the old message (5) Reconnect UNetICE When the information opens, it automatically connect UNetICE, if connection fails, or UNetICE resets, reconnect UNetICE. Move the mouse to output window, click the right button of mouse to pop up the menu, select [Open Remote], reconnect UNetICE.
Room 509, Luohu Science&Technology Building, 25 #85 Taining Road, Shenzhen, Guangdong, China(518020) http://www.embedinfo.com
Run Embest IDE, select the option Project>Settings, pop up the dialog box project settings, select Remote option, see the figure below, user can configure the connection of emulator.
Figure 4-1 Ethernet connection configuration of UNetICE emulator There are two setting items in the dialog box: Remote device: it is to set the remote debugging device, if you use UNetICE, choose UNetICE, see the above figure. Speed: it is to set the download debugging speed, this setting is only available when the emulator supports debugging download speed. Embest UNetICE Full Speed, High Speed, Medium Speed, Low Speed.
Communication type: set the way of connection between the emulator and host. Embest UNetICE TCPIP Ethernet connection USB connection IP Address: set IP address of UNetICE emulator, this address can be set online through UNetICE Manager software.
Room 509, Luohu Science&Technology Building, 26 #85 Taining Road, Shenzhen, Guangdong, China(518020) http://www.embedinfo.com
If you select USB communication type, no IP address setting page will be displayed.
reconfigure the emulators IP or MAC address. IP address of UNetICE in IDE is incorrect, set correct IP address of emulator in IDE. 1002 send command failed. Brief description Reasons and solution send command failed Possible reasons: Send data failed in the communication with UNetICE emulator, disconnect IDE and UNetICE emulator, reconnect them.
1003
receive response command time out. Brief description Reasons and solution receive response command time out . Possible reasons: Receive response command time out in the communication with UNetICE emulator, disconnect IDE and UNetICE emulator, reconnect them.
Room 509, Luohu Science&Technology Building, 28 #85 Taining Road, Shenzhen, Guangdong, China(518020) http://www.embedinfo.com