Home

TLL6219 ARM9 Module

image

Contents

1. Connector CON100 USB port for TLL5000 Connection CONS801 USB Cable1 LLLLELLTLT Figure 2 1 TLL6219 setup on TLL5000 Note For details on the TLL5000 setup and programming refer to the getting started manual of TLL5000 6 Copyright 2007 The Learning Labs Inc TLL6219 ARM9 Module Getting Start Manual ver1 2 Power ON and TLL5000 Monitoring using ILL5000 PC App exe 1 2 A W Connect the power supply to the power supply connector CON100 Connect the USB cablel between PC USB port amp CON801 of TLL5000 This connection is used for the TLL5000 application Switch ON the power supply on the TLL5000 Platform with POWER ON OFF Switch As the power is switched ON the LEDs around the power connector will be ON Now click on the TLL5000 PC App exe application in the PC This will bring up the following screen on the monitor fz LL5000 Monitor Controler i 15 x r Ethemet Test Disconnected Board ID Host IP Test Ethemet joard IP Nat Done Eyes Board ot Done FPG HW BOO 1 57 173V LO Fead Read 18V 000v 1 65V 1 89V i wite Wie SF val 10x0 e TES 12V nooy val Head Head r Clocks Control AD8510 Registers m Clock Inputs reg 00 c Fead Coki 0 Mhe ckz 1000000 Mkz C Wite yal 0x00 Read r Glock Outputs IVPEGII Output Frequency Divider Duty Cycle Phase Offset Gn
2. app4 dis app4 sym app5 app5 dis appS sym gcc prirt riiJgcc rrie rmre arm elf nm numeric sort app4 app4 sym arm elf objdump source disassemble app4 gt app4 dis arm elf gcc fno builtin mcpu arm9tdmi c Wall O g I D CPU IS ARM 1 D MONCOMPTR 0xc8000038 o mainS o mainS c arm elf ld e start o app5 Ttext OxcO200000 crtO_arm o main5 o monlib o lce arm elf gcc print libgcc file name arm elf nm numeric sort app5 app5 sym arm elf objdump source disassemble app5 gt app5 dis m ll applications built 2 E CAI oO EA E E B RE E 5 5 E f 8 7 5 e Fn Fn in ov 7 7 eal eal ne i rorem Asar H e a o 9 8 x LC mee aee een n pL fc Ses fa SIG 5 49PM Figure 3 12 Eclipse Screen Now this project shall be built cleaned with the rules as per the Make file Individual source codes shall be viewed in display window The project shall be build by Right Click on Project name gt Build With the above this command the 5 applications appl app2 app3 app4 amp app5 will be generated for source codes mainl c main2 c main3 c main4 c and main5 c respectively This executables shall be downloaded on to the target board for testing Note The Makefile shall be modified accordingly for adding the new source files 21 Copyright O 2007 The Learning Labs Inc TLL6219 ARM9 Module Getting Start Manual ver1 2 Downloading Procedure Prerequi
3. 0x00 Head ICRI 0 MHz Gk 2 100 0000 MHz c C write val oo Read Clock Outputs LYPECL Output Frequency Divider Duty Cycle Phase Offset Gn Off Accessory Port Clk d 100 0000 MHz Divider Bypassed Y Il Divider Bypassed x il 0 z Qo Js Accessory Port Ek 2 100 0000 MHz Divider Bypassed II Divider Bypassed f urhe cc Set VPEGI Mezzanine A 100 0000 MHz Divider Bypassed Y i Divider Bypassed M il me cote Set LYPECL Mezzanine B 100 0000 MHz Divider Bypassed Y II Divider Bypassed Y Il 0 z C LYDS and CMOS MoS CMUS Mezzanine B uenis giae x e c Ce Se Mezzanine A 100 0000 MHz Divider Bypassed DividerBypassed 0 te S Set FPGA 100 0000 MHz Divider Bypassed ees Ih Cos al CPLD 333333 MHz Divider 3 J 3x HC 1 w 2 v z CC Se atusimfermation Figure 2 4 Power Up the target platform 8 At this stage the screen displays the status of OK see the Status information marked in blue in the above screen 9 Copyright 2007 The Learning Labs Inc TLL6219 ARM9 Module Getting Start Manual ver1 2 9 Now the power supply for target board components shall be started by clicking on POWER marked in the red color in the above screen Now the power supply is enabled for all the parts of the board and the screen is shown as below Fe LL5000 Monitor Controler E 51 XI Ethernet Test Connected Board ID 00 00 0d ba fb e9 Pow
4. 12 20 a main2 o 4KB OFile 11 12420 My Computer m main a cvo Aci EL 2 ec m el File name spp My Network P Cancel Connected 0 04 29 fansi a Rod si mmm LZ Figure 3 14 Choosing a file Now browse to the appl executable in D TLL6219 ARM_uMon Examples workspace test the give directory and click open Note The file transfer is supported only in ymodem protocol option in send file operation 23 Copyright 2007 The Learning Labs Inc TLL6219 ARM9 Module Getting Start Manual ver1 2 After choosing right executable file C TLL6219 the following window appears on your desktop 38400_COMI HyperTerminal lnl xl File Edit View Call Transfer Help Dle ol 3 sel uHON gt tfs Is Name Location Flags Info startlinux 3072 Oxc82695 c e zImage 1016832 xc81704bc Total 2 items listed uMON gt xmodem dy MT s CCCCCCCCCCCCCCCCCCCCCCCI Folder C Cygwin home umon umon_apps user_manual CCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCL Filename c NCygwinshomeNumonNumon appsSuser manual Bros Protocol Ymodem gt Send Close Cancel x Ll Connected 0 06 30 fansi fe4oos w 1 SCROLL CAPS Num Capture Print echo Figure 3 15 Sending a file Click on Send button in the above window the file transfer starts and after the completion the following window appears on desktop ECXIONTIENETITTTME dni d File Edit View Call T
5. CL Mezzanine 100 0000 MHz Divider Bypassed DividerBypassed zio z Cc se LVPECL Mezzanine B 100 0000 MHz Divider Bypassed DividerBypassed JO z C Set TELE pe CMOS Mezzanine B 100 0000 MHz Divider Bypassed v Divider Bypassed Jho z c C6 Set Mezzanine amp 100 0000 MHz Divider Bypassed v Divider Bypassed E nm oF cec Set FPGA 700 0000 MHz Divider Bypassed as ho ce _ set CPLD 33 3333MHz Divider 3 33 HC 1 LC 2 z v z C 0C Se Status information Figure 2 3 Selecting the target platform In the options above we shall see TLL5000 Development Board This option will be enabled only with the proper USB device identification of TLL5000 platform 8 Copyright 2007 The Learning Labs Inc TLL6219 ARM9 Module Getting Start Manual ver1 2 7 Now click on the TLL5000 Development Board option in Step 6 The following screen appears on PC 52 LL5000 Monitor Controler Ethemet Test Connected Board ID Host IP 182 168 0 4 Test LL 5000 Development Board Ethernet Board IP i216 0 NerDone Address Power Values Monitor FPGA RAZ GPED R W reg o 00000000 E flew Vy ite S o o0000000 Read 12V gogw 1 14 1 26 33 V amv q57V 1 73V T os00000000 E ies 25V G00yY 238V 262V 1 8 V GO0V 165 V 1 88 ENT PUE wa x 2n 12V B00V 0S8V 1 20V e EZI Clocks Control AD8510 Registers r Clock Inputs reg
6. Gf Divider Bypasse fo 7 Ce _set_ Divider Bypasse oy Ce Set LVPECL Mezzanine A Divider Bypasse 0 7 Ce Set LYPECL Mezzanine B Divider Bypasse o 7 Ce Set LYDS and CMOS LYDS CMOS Mezzanine B Divider Bypasse UN V cec Set Mezzanine Divider Bypasse fo z 6 c C Set FPGA livider Bypasse iy iz te ge Set CPLD 33 HC 1 Du s fot Set Status information Figure 2 2 Invoking TLL5000 Application Copyright 2007 The Learning Labs Inc TLL6219 ARM9 Module Getting Start Manual ver1 2 6 Click on the Choose device option in the step 5 screen options will be displayed as shown below Ae LL5000 Monitor Controler Ethernet Test Disconnected Board ID E Host IP 192 168 0 4 Test a gj Aural rk BoardIP 182 168 0 0 NotDone FPGA Hw GELD R w 12v oOo 11401 26 33v BODY 157V 1 73 req 500000000 amp amp Read reg p 00000000 end 25V G00 238V 252V 18V O00y 1 65 1 89 us hiz ae En ERE val mo0000000 Read val m00000000 Read Clocks Control AD8510 Registe r Clock Inputs Cokif o mH ck2 71000000 MHz reg a Clock Outputs LYPECL Output Frequency Divider Duty Cycle Phase Offset On Off Accessory Part Cik 1 100 0000 MHz Divider Bypassed DividerBypassed zijo gt fete Set Accessory Port Clk 2 100 0000 MHz Divider Bypassed v Divider Bypassed zijo z ite Set LVPE
7. TLL6219 ARMY Module Getting Start Manual ver1 2 TLL6219 ARM9 Module The Learning Labs I nc Copyright 2007 Getting Started Manual v1 2 1 Copyright 2007 The Learning Labs Inc TLL6219 ARM9 Module Getting Start Manual ver1 2 Copyright Notice The Learning Labs Inc TLL All rights reserved 2007 Reproduction in any form without permission is prohibited Disclaimer Information in this document is subject to change without notice and does not represent a commitment on the part of TLL TLL provides this document as is without warranty of any kind expressed or implied including but not limited to the particular purpose TLL may make improvements and or changes in this manual or in the products s and or the program s described in this manual at any time Information in this manual is intended to be accurate and reliable However TLL assumes no responsibility for its use or for any infringements of rights of other parties which may result from its use This document could include technical or typographical errors Changes are periodically made to the information herein these changes may be incorporated in new editions of the publication This manual is provided solely and exclusively for educational use and this information or related products should not be used nor relied upon for any purpose except for education and training Technical Support Please contact your local TLL authorized product repres
8. csestisessasciesiusdiativegindulsskabssesancanmeaaness 12 Downloading Procedure sccidwccsdincevacvecapassavdsasunrenassniuanseannenads 22 Executing the application on TLL6219 ARM mezzanine module 26 3 Copyright 2007 The Learning Labs Inc TLL6219 ARMY Module Getting Start Manual ver1 2 Chapter 1 Prerequisites System Requirements The following are the prerequisites for the Computers to run required software tools for ARM Mezzanine applications Make sure that these components or minimum hardware is present gt gt gt Pentium 1 GHz or higher Although lower processors will run the software tools the desired results are not guaranteed 256MB RAM for average applications Minimum 5 GB on Hard Disk The Webpack ISE requires around 3 5 GB for all its components SVGA Monitor with the resolution of 1024x768 Monitor resolutions has been kept at 1024x768 which is ideal Windows 2000 or XP operating system with ServicePack 4 for Windows 2000 amp ServicePack 2 for WinXP Three USB2 0 ports RS232 serial port 1 No Network Interface Card NIC The network interface card should have been configured on your system Make sure that you have configured the network card with a static IP address Software requirements The following software need to be installed in the PC used for TLL development platform e Open Source tools for ARM ELF compatible file for UMON e HyperTerminal for Serial Commun
9. earning Labs Inc TLL6219 ARM9 Module Getting Start Manual ver1 2 The right click on project name and import option brings up the following screen Select Import resources From the local file system into an existing project Archive File e Breakpoints 149 Existing Projects into Workspace Finish Figure 3 9 Importing Options Choose the general and File Systems and click on the Next button to get the following screen Ip E E ENS bd File system Source must not be empty a TO Browse Figure 3 10 Choosing a Working Directory 19 Copyright 2007 The Learning Labs Inc TLL6219 ARM9 Module Getting Start Manual ver1 2 Click on the browse button and browse to the path for choosing the source files D TLL6219 ARM_uMon Examples workspace test The following screen appears iBi xi File system e There are no resources currently selected for import P From directory C Cygwin home umon umon_apps user_manual Browse Llc O E maint c swp O E appt oO B app1 dis O fa appi sym L1 app2 O B app2 dis O i app2 sym O B app3 O E app3 dis Fl ann cum zl Filter Types Select All Deselect All Into folder Test Browse Options J Overwrite existing resources without warning Create complete Folder structure Create selected Folders only ma Figure 3 11 Choosing Source Files The above screen displays all
10. entative for questions regarding hardware software or applications issues Any updates or patches will be sent to you automatically as long as your registration is current The TLL products are designed to be supported remotely by allowing viewing of the user s desktop It is highly recommended that the PC from which you are using TLL products is connected to an Internet link that allows Web browser access In this way our technical support staff can view your desktop and work with you to understand and solve technical issues 2 Copyright 2007 The Learning Labs Inc TLL6219 ARM9 Module Getting Start Manual ver1 2 Table of Contents Sye Q T 4 iE i cii T H 4 System Requirements uasxakbrdsexexpebidesQrpdasecbulapet cbe T EI d EE RPER 4 Software requirements uasdxexiasddackiiddexdindpi i ntevdie aida ya add Rr 4 Hardware requirements ussescxidsad kk Ead ddo irudds REEL E MERE add REa add up PpGE 4 dy c Sede 6 Setting up of TLL5000 amp TLEB219 Platforms usus inen uo rox a Parra Aa prn aA 6 Power ON and TLL5000 Monitoring using TLLBbOOO PC App exe 7 Setting up of TLL6219 platform odesaaaada ca M OH eb E ae EQ 10 IU de CP TT 12 Downloading amp Testing for TLL6219 pcndscicsiiscicindernseseenteniiandiadsiersas 12 Steps for Writing the C Code for TLL6219 using Micromonitor Commands Compilation Procedure sic
11. er Host IP 192 168 0 4 Tes LL 5000 Development Board gt Ethernet 00 00 0d ba fb e3 ON BoadIP 192 168 0 0 Not Done m Power Values Monitor FPGA RW CPLD Rw 12V 1239V 1 14 1 264 33V 328V 157V 173V tg o 00000000 9 Pemi reg o 00000000 9 Read 25V 256V 238V 252V 18V 180V 155V 1 68V ms Write vomere RET ene wel 0 00000000 Read val o 00000000 Hia r Clocks Control ADS510 Registers r Clock Inputs reg 000 Read C Ck1 0 MHz Ck2 100 0000 MHz White val oxo0 Read m Clock Outputs LVPECL Output Frequency Divider Duty Cycle Phase Offset On Off Accessory Port Clk 1 100 0000 MHz Divider Bypassed z Divider Bypassed z 0 x Ce Set Accessory Port Clk 2 100 0000 MHz Divider Bypassed pai Divider Bypassed pal 0 x Cc Set LYPECL Mezzanine 100 0000 MHz Divider Bypassed z Divider Bypassed x 0 6 Cc Set LVPECL Mezzanine B 100 0000 MHz Divider Bypassed pai Divider Bypassed ll 0 x Ce Set m LVDS and CMOS LVDS CMOS Mezzanine B 100 0000 MHz Divider Bypassed z Divider Bypassed z e C cec Set Mezzanine 100 0000 MHz Divider Bypassed pai Divider Bypassed 0 wj C Cc Set FPGA 100 0000 MHz Divider Bypassed pai Divider Bypassed 1l 0 x 9 Set CPLD 33 3333 MHz Divider 3 Il 33 HC 1 LC 2 cai 0 x cc Set Status information Clocks set OK Figure 2 5 Checking the status o
12. erTerminal lal x File Edit view Call Transfer Help Ole 213 see eel CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC Rcud 1 file uMON tfs Is Name Size Location Flags Info appl 63488 Oxc83afcbc startlinux 3072 Oxc82695 c e zImage 1016832 Oxc81704bc Total 3 items listed 1083392 bytes uMON cp fE cp appl appl Command not found cp uMON gt tfs fE cp appl appl uMON gt tfs ls Name Size Location Flags Info appl 63488 Oxc83bf51c startlinux 3072 Oxc82695 c e zImage 1016832 0xc81704bc Total 3 items listed 1083392 bytes uMON E Connected 0 19 41 ANSI s84008 N 1 SCROLL caes NUM Capture Print echo Z Figure 3 17 Flag setting of a file Now we can see the E flag for app1 file 25 Copyright 2007 The Learning Labs Inc TLL6219 ARM9 Module Getting Start Manual ver1 2 Executing the application on TLL6219 ARM mezzanine module Type the application name in the command line as app1 and then press enter The following window appears on your screen 38400 COMI HyperTerminal 10 x File Edit View Call Transfer Help uMON gt app1 Hello embedded world uMON s lal Connected 0 00 05 ANSI edo amp N 1 SCROLL caes Num Capture Print echo Figure 3 18 Choos
13. f the target platform The TLL5000 application provides 3 3 volts power supply to the ARM9 Mezzanine module through Mezzanine connectors 10 Copyright O 2007 The Learning Labs Inc TLL6219 ARM9 Module Getting Start Manual ver1 2 Setting up of TLL6219 platform 1 Connect the RS232 cable between the ARM Mezzanine module and the PC ARM Mezzanine Module Figure 2 6 TLL6219 Setup 2 Power on the power supply through the TLL5000 platform The 3 3volts supplied by the base board will switch on LEDs MZ_3V3 and BB_3V3 3 Start the HyperTerminal in the PC with Baud rate 38400 bps Data Bits 8 Parity None Stop bits 1 Flow control None 4 Press the reset button on ARM Mezzanine board The following screen appears on your desktop conforming the proper communication between the PC and ARM module 38400_COM1 HyperTerminal i F File Edit View Call Transfer Help Cae e3x 5 a TFS Scanning FLRSH MICRO MONITOR 1 12 1 Platform Freescale IMK21 ADS CPU HC9328MK21 BRRH926EJS Built Sep 19 2007 8 15 41 34 Monitor RAM 0xc0000000 0xc001ead8 Popi cation RAM Base 0xc0200000 u gt Figure 2 7 Booting up of TLL6219 5 The above screen confirms the proper boot up of TLL6219 ARM module 11 Copyright 2007 The Learning Labs Inc TLL6219 ARMY Module Getting Start Manual ver1 2 Chapter 3 Downloading amp Testing for TLL6219 Steps for Writing the C Code for TLL6219 using Micromonitor Command
14. he status and progress in each process performed with project Note The default workspace for the example designs is assumed to be in C TLL6219 directory 7 Now click on the File gt New gt C Project for stating the new project C C Eclipse Platform File Edit Refactor Navigate Search Run Project Window Help Sen Me C Project Close Cirle 5 Project Close A Gr H ShifE W Convert to a C C Make Project Gtri 5 65 Source Folder C Folder Ctrl Shift 5 c Source File hy Header File MOYE Ly File Rename F2 S Class Refresh F5 F3 Other Convert Line Delimiters To L lh Ctrl P Switch Workspace id g Import e Export Properties Alt Enter 1 maini c tll test 2 CodDec main c TLL6219 test 3 CodDec c TLL6219 test 4 makefile TLL6219 test Exit B Problems S Tasks Console AN Ed Properties No consoles to display at this time Figure 3 3 Eclipse File Menu 15 Copyright 2007 The Learning Labs Inc TLL6219 ARM9 Module Getting Start Manual ver1 2 e After clicking on New C project in above screen the following screen appears on desktop BE C Project lt e Project contents directory must be specified Project name Use default location Location Browse Project types Toolchain Executable Cygwin GCC gt Shared Library MinGW GCC amp Static Librar
15. ication Hardware requirements The following hardware and accessories are required to start the experimentation e TLL6219 ARM Mezzanine module e TLL5000 Platform e Power supply for TLL5000 Platform 18 5 volts 3 5 Amps e USB cables 2 Nos e Platform Cable USB This converts USB to J TAG e CD provided by TLL Copyright 2007 The Learning Labs Inc TLL6219 ARM9 Module The TLL 5000 development platform CD contains Getting Start Manual ver1 2 ae Directory Description Remarks TT This installation provides the 1 Tools ARM tools for Compilation tools for ARM9 architecture Exercises for C codin usin ThE Micomonitor iS BOOTUP 2 EXERCISES f i 9 9 Environment for Embedded MicroMonitor Instructions Platforms Contains the ARM Mezzanine The documents are in pdf 4 Manuals manual Getting Started Micro format and the same can be Monitor manual amp Detailed viewed with Adobe Reader Micromonitor user manual application Table 1 1 TLL 5000 development platform CD contents Copyright 2007 The Learning Labs Inc TLL6219 ARM9 Module Getting Start Manual ver1 2 Chapter 2 Setting up of TLL5000 amp TLL6219 Platforms Figure 1 1 shows the connections to be made between the PC and TLL5000 Platform It is strictly recommended to follow the steps as per the manual to avoid any problems to the hardware Power Supply 18 5V 3A Power ON OFF Switch Power
16. ing a Working Directory The pre stored data from the executable is sent to HyperTerminal and printed on console For this operation the monlib h header file in Micromonitor provides functions for communication and printing 26 Copyright 2007 The Learning Labs Inc
17. low Ini xi C Project Project name is empty Project name J Test Use default location Location C TLL6219 Browse Project types Toolchain gt Executable E Shared Library Static Library B E Makefile project Hello World C Project Other Toolchain Cygwin GCC MinGW GCC IV Show project types and toolchains only if they are supported on the platform G Back Next gt Finish Cancel Figure 3 7 Choosing a Working Directory 17 Copyright 2007 The Learning Labs Inc TLL6219 ARM9 Module Getting Start Manual ver1 2 Click on Finish to complete the settings Now the control will be returned main screen Add the source files to the project In this example the source files are stored in the directory D TLL6219 ARM_uMon Examples workspace test Now the screen looks like the following for importing the source files Right mouse click on Project name rc cum New d t Open in New Window E Copy Ctrl C n Paste Gh XX Delete Delete MOVE Rename F2 t Export Build Project Clean Project Refresh F5 Close Project Glose Unrelated Projects Exdude from build Build Configurations Make targets Index gt Convert To Run s Debug s Team Compare With Restore from Local History vyv v v Properties Alt Enter Figure 3 8 Importing Source Files 18 Copyright 2007 The L
18. mt pm read reset return set sleep sm tfs xmodem version ldatags Compilation Procedure Click the I MX tool s icon on your desktop Figure 3 1 Invoking Eclipse Platform Getting Start Manual ver1 2 Copyright 2007 The Learning Labs Inc Getting Start Manual ver1 2 TLL6219 ARM9 Module The Eclipse platform brings up the IDE with linked tools chain for generating arm elf files which shall be downloaded on to target TLL6219 platform The Eclipse platform IDE looks as shown below LT X i E M ielxi File Edt Refactor Navigate Search Run Project Window Help Byr A ILLE 5 gae 2 Ta o ri E E E G Project Explorer 3 gt n 5 2 ge LI ul test TLL6219_test Menu Problems 42 Tasks E console 23 5 Properties No consoles to display at this time ius2 166 Bi ann crc PSME 5 13PM lC Doculn CORE ARMD Astar He poSBasere Console Project Explorer Display Files Figure 3 2 Eclipse Platform Copyright 2007 The Learning Labs Inc TLL6219 ARM9 Module Getting Start Manual ver1 2 The above screen shows the startup screen of Eclipse IDE o The Project Explorer displays all the file names included in the project o These files shall be separately viewed in display window by double clicking on their names in Project explorer o The console displays t
19. ransfer Help Die ex ol es uMON gt tfs Is Name Size Location Flags Info startlinux 3072 0xc826957c e zlmage 1016832 0xc81704bc Total 2 items listed 1019904 bytes uMON gt xmodem dy CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCC amp cCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC e cCCCCCCCCCCCCCCCCCGCCCCCCCCCCCCCCCCCCCCCCCCC Rcvd 1 file uMQN gt tfs Is Name Size Location Flags Info appl 63488 0xc83afcbc startlinux 3072 0xc82695 c e zlmage 1016832 0xc81704bc Total 3 items listed 1083392 bytes uMON gt _ wig Connected 0 17 29 ANSI 38400 8 N 1 SCROLL CAPS Num Capture Print echo Figure 3 16 Reception of a file 24 Copyright 2007 The Learning Labs Inc TLL6219 ARM9 Module Getting Start Manual ver1 2 The Rcvd 1 file shows the completion of receive process This received file is stored in the Flash and shell be checked with tfs Is command In the above screen we can see app listed In the above screen the app1 is not having FLAG The E is an executable flag to execute as command It is required to change the file as Executable with the command tfs fE cp appl app1 After the above command the following screen appears on desktop Dd 38400 COMI Hyp
20. s Example code Library for utilizing the in built Micromonitor fuctions include monlib h Main Function int main int argc char argv mon printf Hello embedded world n return 0 Sub function for mon_connect command to transmit the data on to console int start void int argc char argv monConnect int unsigned long MONCOMPTR void 0 void 0 Extract argc argv from structure and call main mon getargv amp argc amp argv Call main then return to monitor return main argc argv The above example code is for printing the data on the TLL6219 HyperTerminal console Since we are printing the data on the HyperTerminal console the Pre stored data in the program is communicated to the PC through serial port The received data in the serial port is printed on the HyperTerminal Any Notepad or WordPad shall be used as the editor for the above code Let us take the above the code is stored in the directory D TLL6219 ARM_uMon Examples workspace test as main1 c Note The same directory contains the C codes main2 c main3 c main4 c main5 c These c codes will provide example commands for CLI passing arguments amp the same parameters shall be used for computing 12 Copyright 2007 The Learning Labs Inc TLL6219 ARM9 Module Commands supported Micromonitor call cm dm echo edit exit flash fm gosub goto heap help history if item
21. sites The TLL6219 is booted as per setting up operation explained in chapter 2 Enter the command xmodem dy in the HyperTerminal on desktop The screen looks as below 01 xi File Edit view Call Transfer Help uMON gt tfs ls Name Size Location Flags Info startlinux 3072 xc82695 c e z mage 1016832 0xc81704bc Total 2 items listed 1019904 bytes ooo dy Connected 0 01 42 ansi 38400 8 N 1 SCROLL CAPS Num Capture Print echo Z Figure 3 13 Booting in uMON 22 Copyright 2007 The Learning Labs Inc TLL6219 ARM9 Module Getting Start Manual ver1 2 oe With xmodem command the TLL6219 is ready to receive the file Now click on Transfer gt sendfile in the HyperTerminal menu bar The following window appears on your desktop aint xi File Edit View Call Transfer Help ols ol 3 soles uMON gt tfs ls Name Siz Location Flags Info startlinux 3072 0xc82695 c e zlmage 1016832 0xc81704bc ONUS pen listed JE 3j xil Ceccececceece CCCCCCCCCCCCCCCCCCCCCc ci ae Look in 3 user manual x ex E3 amp 1 Name 1 see Type Modified E 4 ee app4 dis 90KB DISFile 11 12 20 History apps dis 91KB DIS File 11 12 20 appt 61KB File 11 12 20 E a app2 62KB Fil 11 12 20 app ile Desktop a appa 64KB File 11 12 20 Zo a app4 64KB File 11 12 20 2 a apps 64KB File 11 12 20 My Documents je crto arm o 2KB OFile 11 12 20 a maint o 3KB OFile 11
22. the files available in the folder Select ALL button and then Click on Finish to add these selected files to the project 20 Copyright 2007 The Learning Labs Inc TLL6219 ARM9 Module Getting Start Manual ver1 2 After the selection of source files the control returns to the main window and all the files will be listed along with the project as shown in below screen C C Test main1 c Eclipse Platform File Edit Refactor Navigate Search Run Project Window Help wi R S fF G K B H O Q SH J E ze os ES acc 3 Project Explorer 53 El I 6 maint c 2 BEL R include monlib h a int s main int argc char argv l mon printf Hello embedded world in monlib h tfs h return QO crt arm S crtO_cF S crtO_mips S int start void crt ppc S main c t int argo main2 c char argv main3 c main4 c monConnect int unsigned long NONCOMPTR void 0 void 0 mainS c Extract argc argv from structure and call main main6 c mon_getargv sarge amp argv monlib c appl Call main then return to monitor app1 dis returnimainfarac arcavii z appi sym xj gt app2 app2 dis 2i Problems 5 Tasks E Console Ka C1 Properties amp Ex rtE TFj H app2 sym C Build Test app3 HIIDCEII app3 dis app3 sym appt
23. y amp Makefile project JV Show project types and toolchains only if they are supported on the platform Figure 3 4 Choosing a Working Directory n the screen shown above un check the Use default location button and browse to C TLL6219 to choose the Workspace directory I tix Select directory CPr er Desktop EI lt Q My Documents Pro 42 my Computer B E WINK C a CJ CCyawin Toc 4 Documents and Settings CJ Modeltech_xe_starter CJ My Music m Program Files C3 rally EC Temp O test C3 tftp TFTP Root C n pc Size C winaRM C3 wiNNT WUTemp DA xiinx71 imi Folder TLL6219 oe ee New Fodor ZA Figure 3 5 Choosing a Working Directory 16 Copyright 2007 The Learning Labs Inc TLL6219 ARM9 Module Getting Start Manual ver1 2 After choosing the workspace directory Enter the project name it is considered as Test in this example lolx C Project mmm Project name is empty Project name Test Use default location Location C TLL6219 Browse Project types Toolchain Executable Cygwin GCC Shared Library MinGW GCC Static Library Makefile project IV Show project types and toolchains only if they are supported on the platform o TNNT cancel Figure 3 6 Naming a Project Now choose the options in Project Types as Make file Project and Tool Chain as others as shown be

Download Pdf Manuals

image

Related Search

Related Contents

Heidenhain TNC 320 catalogue  monteur / monteuse en sanitaire et chauffage profil de formation  ADC Read Software User Manual  Articulo 2: RESPUESTA DEL TABACO NEGRO  簡易型GPSタイムコードジェネレータ製品パンフレット(PDF  FZ3 Series User's Manual    D34 Benutzerhandbuch  Sea Gull Lighting 31751-758 Installation Guide  Arreglos de siembra y fertilización orgánica sobre el  

Copyright © All rights reserved.
Failed to retrieve file