Download presentation
Presentation is loading. Please wait.
Published byAllyson Booth Modified over 9 years ago
1
Getting Started Installing GreenHills and Net+OS Setting up the Development Board Building the Sample Application
2
GreenHills/Net+OS Prerequisites Recommended workstation –>= 133 MHz Pentium-based –120 Mb free hard drive space –>= 32 Mbyte RAM –CDROM drive –1024 X 768, 256-color display –Mouse –Hyperterminal or similar terminal emulator installed –Windows 98 or more recent –Internet Explorer 3.01 or more recent Obtain IP address/gateway/subnet mask for boards (or plan to use DHCP)
3
Main Menu Options Select First for New Install Select First for Upgrade MULTI must be installed first; Net+OS install overwrites files.
4
GreenHills Licenses Duration –Evaluation Supplied with Development System Effective for 30 days Should be replaced by permanent in most cases –“Permanent” Requires P.O. Number Request from NetSilicon License Administrator Good for 180 days Type –Network: company buys “n” seats shared among network users –Locked to computer: keyed to individual workstation –Locked to dongle: requires hardware key that can be moved among workstations to allow each exclusive use of product
5
Installing the License Key Must create new folder to install Copy the attachment to the email from the License Administrator into the new folder Run Start >> Programs >> MULTI 2000, ARM v2.1&v3.5 - NETsilicon's NET+ARM>>Licensing>>Install Licenses From the dialog box, highlight the key file and click on Install
6
Board Connections Connect the RJ45 port on the development board to the workstation’s LAN card or a hub. Cable the board’s serial port to the workstation’s serial port using a cross-connect cable.. Set the workstation serial port to 9600,n,8,1,HW flow. From the front (LED’s toward you), attach the ICE at P2 with the red stripe toward the right. Attach the ICE interface to the workstation: –If Raven, parallel port to workstation ECP/EPP port. –If Jeeni, serial port to alternate workstation serial port. Power up the ICE and the development board. Board reset is SW 5, near connector P5U.
7
Modifying the Board Configuration Press any key in the specified time, followed by M, to modify To accept current value, press Enter
8
This is the main builder window Building the First Project
9
Once all files are present in project workspace, building is readily done Building the Project
10
The Baseline Application Project Configuration Files (*.bld); Source path, System include directories, etc. Included Libraries; ThreadX, TCP/IP Stack, Drivers, BSP Integration C and Assembly Source Files; Common to all Projects Linker File (*.lx); Map the Software to the Hardware Memory Map
11
“Hello World” From root.c…
12
Connecting to Target (1of 3) In the Builder, choose Remote > Connect to Target.
13
Connecting to Target (2 of 3) Enter OCDSERV command line.
14
Connecting to Target (3 of 3) Two new windows »IN/OUT –Displays Printf’s »TARGET—can read/write to Memory/CPU
15
Starting Debugger In the Builder select Debug > debug
16
Download code to Target Click “play” button or (F5)
17
Run Program Program is Running Use breakpoints or step through code
18
Getting Started Summary Install GreenHills Obtain GreenHills 30-day license Install Net+OS Set up Board and Debugger Build and run first application [Order GreenHills “Permanent” License]
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.