Home

USB-Dongle and Derivative Board

image

Contents

1. OK Select higher settings for faster performance x Select lower settings to corect connection problems Cancel Defaults Receive Buffer Low J High 14 14 Transmit Buffer Low l 7 J High 16 16 COM Port Number come The last field 1s COM Port Number and can be used to change the COM port to another address NOTE Entries marked in use may still be usable Just make sure nothing else is currently listed on that COM port in the Device Manager dialog When a new COM Port address is selected click OK and then OK again Then unplug the USB Dongle and wait until the device disappears from the Device Manager list Now plug the USB Dongle back in The COM address will change to the new address USB Dongle Manual V1 2a Page 15 9 18 2008 6 0 Programming a Derivative Board with Flash Magic Using Derivative Boards with the USB Dongle requires the Flash Magic software from Embedded Systems Academy www esacademy com Make sure you are using version 3 51 or later If you have not already done so plug the Derivative Board into the connector J3 on the back of the USB DONGLE In this example we ll use a DB HVSON LPC9103 Derivative Board to load LED blinking code into Open Flash Magic and put in the following settings i 4 Flash Magic ial xl File ISP Options Tools Help Gijl
2. VistaTest Change settings USB Dongle Manual V1 2a Page 10 9 18 2008 USB Dongle and Derivative Board User s Manual Select Device Manager from the left pane under Tasks to pull up the device manager A dialog box asking for user permission may appear please press Continue Device Manager File Action View Help e m H amp a VISTATEST Ed Computer H Disk drives 3 Es Display adapters ef DVD CD ROM drives OF Human Interface Devices Ca IDE ATA ATAPI controllers Keyboards E E EXE hn Mice and other painting devices A amp Monitors EF Network adapters lp Other devices E E E 1 Ports COM amp LPT D Processors i Sound video and game controllers FE R F AS Storage controllers E HE System devices E g Universal Serial Bus controllers USB Dongle Manual V1 2a Page 11 9 18 2008 USB Dongle and Derivative Board User s Manual Under Other devices right click on USB Dongle and select Update Driver Software Ww ii Update Driver Software USB Dongle How do you want to search for driver software Search automatically for updated driver software Windows will search your computer and the Internet for the latest driver software for your device Browse my computer for driver software Locate and install driwer software manually Select Browse my computer for driver software U Update Driver Software USB Dongle
3. directory USB Serial Driver USB Dongle Manual V1 2a Page 6 9 18 2008 USB Dongle and Derivative Board User s Manual Two dialogs will appear The one on top is this one Hardware Installation A The software you are installing for this hardware USB Dongle has not passed Windows Logo testing to verify its compatibility with Windows P Tell me why this testing is important Continuing your installation of this software may impair or destabilize the corect operation of your system either immediately or in the future Microsoft strongly recommends that you stop this installation now and contact the hardware vendor for software that has passed Windows Logo testing Continue Anyway Click Continue Anyway The following dialog will appear during the install process Found New Hardware Wizard Please wait while the wizard installs the software E USB Dongle L Selling a system restore point and backing up old Files in case your system needs to be restored in the Future Back Hests Eancel USB Dongle Manual V1 2a Page 7 9 18 2008 Finally the following dialog should appear Found New Hardware Wizard Completing the Found Mew Hardware Wizard The wizard has finished installing the software Far F USB Dongle Click Finish to close the wizard Eancel The device has been installed and attached to a serial port Follow the instructions in section
4. 5 0 to determine the serial port USB Dongle Manual V1 2a Page 8 9 18 2008 4 2 Windows Vista These instructions assume a Windows Vista operating system Different OS s may have different dialogs NOTE Your specific version of Windows MAY already include drivers If drivers are not found please download and unzip the latest drivers from http www teamfdi com USBDongle When the USB Dongle is plugged into the device Windows Vista will identify a device named USB Dongle and bring up the following dialog box 47 Found New Hardware Windows needs to install driver software for your USB Dongle Locate and install driver software recommended Windows will quide you through the process of installing driver software for your device gt Ask me again later Windows will ask again the next time you plug in your device or log on Don t show this message again for this device Your device will not function until you install driver software Select Don t show this message again for this device and a dialog box asking for user permission may appear please press Continue USB Dongle Manual V1 2a Page 9 9 18 2008 USB Dongle and Derivative Board User s Manual Go to the start menu and select Computer located on the right side of the start menu to bring up My Computer If you are using the classic start menu just double click the My Computer on the desktop jv gt Computer gt X 4 Search D
5. Dongle out of communications mode change to 110 baud and then back to 19200 baud In the Examples folder see website for latest there is an Uppercase example for several of the Derivative Boards Assuming you are using a DB TSSOP LPC938 with a LPC938 program the file UPPERCASE HEX into the device Then click on Tools gt Terminal in FlashMagic Select the same COM port as the USB Dongle and a baud rate of 19200 Leave all other options unchecked Click OK Terminal Settings X Port and Speed COM Part COM 4 Baud Rate 12200 Options Modify default COM Port behavior While connected Deassert OTR Deassert ATS E Use a delay character Character H generates adelayoh iU00 me Mewlines CR LF hl USB Dongle Manual V1 2a Page 19 9 18 2008 Notice that as you type lower case characters 1n the input box uppercase characters appear in the output window Close the dialog when done i i Flash Magic Terminal COM 4 19200 B BI xl Options Output gt gt Input gt gt Sabc Using another terminal program open the COM port to 110 baud and then close FlashMagic does not support less than 2400 baud or unplug the USB Dongle and plug back in to reset Reprogramming of the Derivative Board can now occur USB Dongle Manual V1 2a Page 20 9 18 2008 10 0 Technical Support NXP Semiconductors provides technical support for the NXP devices utilized on these boards Please contact your local NXP
6. LPC2xxx and 89V52X2 The unit also provides a low cost platform for testing or prototyping of simple microcontroller based designs The USB Dongle provides a Virtual COM Port interface to the PC and allows hex files to be downloaded and programmed using Flash Magic or other common utilities The USB Dongle provides all power needed by the various Derivative Boards so no external power supply 1s required Low cost Derivative Boards are available for many different microcontrollers from NXP please consult our website for details The USB Dongle is an interface module providing easy USB control of multiple test boards called Derivative Boards Features include e Virtual COM Port connection to the PC e CP ISP interface to program and control Derivative Boards e Interface connector J3 to Derivative Board for ICP ISP expansion 2 0 Guide to Kit 2 1 Kit Contents The following items are included in the USB Dongle Kit e USB Dongle e Derivative Boards are sold separately see www teamfdi com USBDongle for a complete list of available boards e Download all documentation and software examples at www teamfdi com USBDongle 2 2 Power Requirements The USB Dongle and Derivative Boards are powered by the USB port from the connected PC No outside power should be needed 2 3 Jumpers No jumpers for hardware configuration are used USB Dongle Manual V1 2a Page 3 9 18 2008 3 0 Hardware Setup To setup the hardware follow these two ste
7. sales office or Field Applications Engineer Technical support for the USB Dongle and Derivative Boards is provided by Future Designs Inc For fastest response e e mail support teamfdi com e fax 256 883 1241 e phone 256 883 1240 FDI also provides a Web site at http www teamfdi com This web site provides the latest product information and updates for all FDI products FlashMagic support is provided at http www flashmagictool com Check this website for the latest software version and forums for discussing problems 11 0 General Sales and Contact Information 11 1 General Sales Authorized sales representatives for the USB Dongle family of products include Digi Key Corporation http www digikey com 800 344 4539 Mouser Electronics http www mouser com 800 346 6873 11 2 Contact Information The following is a list of company contact information related to the USB Dongle Kit NXP Semiconductors web site http www NXP com Future Designs Inc web site http www teamfdi com Embedded Systems Academy web site for FlashMagic http www flashmagictool com Digi Key web site http www digikey com Mouser website http www mouser com USB Dongle Manual V1 2a Page 21 9 18 2008
8. this time only C Yes now and every time connect a device C No not this time Click Next to continue Ge we Ceo USB Dongle Manual V1 2a Page 5 9 18 2008 USB Dongle and Derivative Board User s Manual Select No not this time and click Next The following dialog will appear Found New Hardware Wizard This wizard helps you install software for USBSerial If your hardware came with an installation CD lt gt or floppy disk insert it now What do you want the wizard to do C Install the software automatically Recommended Click Next to continue Click on Install from a list or specific location Advanced and click Next The following dialog will appear Found New Hardware Wizard Please choose your search and installation options gy Use the check boxes below to limit or expand the default search which includes local paths and removable media The best driver found will be installed Search removable media floppy CD ROM v Include this location in the search C Dont search will choose the driver to install Choose this option to select the device driver from a list Windows does not guarantee that the driver you choose will be the best match for your hardware Be nas eme Select Search for the best driver in these locations and select only Include this location in the search Click Browse and find the previously downloaded and unzipped
9. Browse for driver software on your computer Search for driver software in this location Ddrivers W Include subfolders Let me pick from a list of device drivers on my computer This list will show installed driver software compatible with the device and all driver software in the same category as the device Cancel USB Dongle Manual V1 2a Page 12 9 18 2008 Specify the location in which you downloaded and unzipped the drivers and click Next Installation of the driver will begin and a warning dialog box will appear X Windows Security amp Windows can t verify the publisher of this driver software gt Don t install this driver software You should check your manufacturer s website for updated driver software for your device Install this driver software anyway Only install driver software obtained from your manufacturer s website or disc Unsigned software from other sources may harm your computer or steal information w See details Select Install this driver software anyway and the installation will complete c l Update Driver Software USB Dongle COMA Windows has successfully updated your driver software Windows has finished installing the driver software for this device USB Dongle The device has been installed and attached to a serial port Follow the instructions in section 5 0 to determine the serial port USB Dongle Manual V1 2a Page 13 9 18 2008 5 0 Determining USB Dongl
10. C910x UCFG1 Enable Watchdog Lm Enable watchdog Safety Enable Brownout Detection Double Speed of Internal RC Oscillator 14 7 456MH z Clock watchdog Oscillator 400kHz 1052 Clear Contig Protection Cancel Hepragram Click Reprogram to save the settings The device is now ready to run Continue with the next section USB Dongle Manual V1 2a Page 17 9 18 2008 7 0 Running code on the Derivative Board After programming the Derivative Board will still be held in programming mode by the USB DONGLE To start executing the code on the Derivative Board the character must be sent to the COM port Do this by selecting Tools gt Terminal and the following dialog will appear Terminal Settings X Port and Speed COM Part COM 4 Baud Rate 12200 Options Modify default COM Port behavior While connected Deassert OTR Deassert ATS L Use a delay character Character generates adelayoh iU00 me Newlines CR LF bd Cancel Make sure the COM port is correct and click OK Under Input gt gt type the single character Looking at the Derivative Board that is attached to the USB Dongle the small green LED D1 should be flashing When done close Flash Magic s terminal window Using another terminal program open the same COM port to 110 baud and then close FlashMagic does not support less than 2400 baud or unplug the USB Dongle and plug back in to
11. USB Dongle and Derivative Board User s Manual FUTURE DESIGNS INCce TLACI TUB RIT T Ci 2I gee T 044008000000004 puppi USB DONGLE mmy 4 J SE D mbi dc i3 REV MN P0968 Rt Ct rac JZ abbbdedaddd VUIVICTTEs E E E m m j he En E E E EMUUT IT igs mt Future LED ns Inc Your Development Partner 2702 Triana Boulevard SW Huntsville AL 35805 Table Of Contents uO En PEOCUC LODS causer be tusee t do pdu cubat oh tern nin nn erent ter renee usu PADS doa mete Ex ame ee 3 pA OHS Thi i 0 LOI EU UE PRETI E 3 ZA Eit C ODntellts ico anie dut Lora imt xm EU end ates ceed ee nan seus edd ccu ates 3 22 POET RCE MONIS scuinieosuit ees cuire do edi gir deat oido E roseis etd ag mop RR bog do bod 3 2 9 JONDE esu ssec S atubcc edite dotem eRDIC e Ii Cobro tice foe Rt EDE Cage bcu dol e fo aes RR UPS 3 20 Hardware SetU NC 4 AO SODDWAre TINS LUAU ON eiut eto A A A 5 4 1 WIIN SOME neicd teams tial eitis didus demas ELEM n aM E E D P dU 5 d 8 6 8 ASR UGS a A EEEE 9 5 0 Determining USB Dongle Serial POL rion ostio tei etes a coe ac Ros tns 14 5 1 Chansine he COM port address iie n tte or REM ie un etes ad ote pend 15 6 0 Programming a Derivative Board with Flash Magic eese 16 7 0 Running code on the Derivative Board cccccccccccssssssesecccceceeaeeesssecceseessaaaeesseeeeess 18 9 0 Blink EXample uu iueiioo toti a a dan su
12. ae cw iviaumezs Step 1 Communications COM Part EOM 4 Baud Fate gu Erase block 2 00200 0 02FF Device B9LPEGIDS Erase black 3 0s0300 0s03FF Interface FoI USB ICF Erase all Flash Erase blacks used by Hex File Erase block 0 00000 0 00F F Erase block 1 0x07 00 001 FF Step 3 Hex File Hex File JUSBDongle_v1 JO SUSB Dongle EXE SExamplessBlink BLIME HE Browse Modified Friday March 30 2007 9 21 00 AM mare infa Step 5 Start Step 4 Options Vent after programming Block 0 Sec Bit O aj Stat Fil unused Flash Block 0 Sec Bit 1 Gen block checksums Block 0 Sec Bit 2 Execute Rotating Fully customizable remotely updated Internet links Embed them in your application WA embeddedhints com lie SENE WE The settings should be FDI USB ICP Select Erase blocks used by Hex File Checkboxes Leave all other checkboxes unchecked USB Dongle Manual V1 2a Page 16 9 18 2008 Before programming the device select ISP gt Read Device Signature and make sure the following appears x Manufacturer ID Ox 15 Device ID 1 Dx pp Device ID 2 Ox 23 Device lD Bootloader ver Close If the above is correct click Start to program the device The text Finished should appear at the bottom Additionally for the LED Blink example use option ISP gt Device Configuration to setup these settings B9LP
13. e Serial Port NOTE This step is VERY IMPORTANT for proper operation of the USB Dongle with FlashMagic Software To determine the correct port for the USB Dongle go to the Windows Control Panel and open System Click on tab Hardware and then click on Device Manager You should see a similar list Z device Manager o File Action View Help e mimalgim Fl d Computer Ese Disk drives H Display adapters c DYDICD ROM drives HS Floppy disk controllers Ela Floppy disk drives lta Human InterFace Devices Fy IDE ATAJATAPI controllers H Imaging devices Fe Keyboards H 1 Mice and other pointing devices H Monitors E Hj Network adapters E LJ Ports COM amp LPT Poo Pee E Communications Pork COMI m iy ECP Printer Port ang BUE 22 Donde cono B i Tieren E Sound video and game controllers FE Storage volumes fl d System devices e Universal Serial Bus controllers Open up Ports COM amp LPT and look for a device called USB Dongle Next to it 1s the COM port address In the above picture this is COM4 USB Dongle Manual V1 2a Page 14 9 18 2008 5 1 Changing the COM port address If the COM port is at an unacceptable location right click on the device and select Properties Then click on tab Port Settings Finally click on Advanced and the following dialog will appear Advanced Settings for COM4 v Use FIFO buffers requires 16550 compatible LIART rInLna T
14. p B Z E a M O Ms7nm P H LT Organize m Views Wi System properties gg Uninstall or change a program Map network drive gt 2 Name Type 2 Total Size Free Space Hard Disk Drives 2 IE Documents IE Pictures OS C EN RECOVERY D gt I Music 54 8 GB free of 72 4 GB C 1 41 GB free of 199 GB Favorite Links jj Recently Changed Devices with Removable Storage 1 E Searches jj Public Aug DVD CD RW Drive E VISTATEST Workgroup WORKGROUP Processor Intel R Pentium R D CPU 2 80GHz Memory 992 MB Select System Properties located near the top of the window to bring up the following window I EI wf Control Panel System and Maintenance System v Search Dp p 1 Po Tasks n 5 View basic information about your computer Device Manager Windows edition py Remote settings Windows Vista Business Copyright 2006 Microsoft Corporation All rights reserved y System protection y Adv d system settings i y Advanced system setting Upgrade Windows Vista System Manufacturer Dell Model Optiplex 320 Rating Windows Experience Index Processor Intel R Pentium R D CPU 2 80GHz 2 80 GHz Memory RAM 990 MB System type 32 bit Operating System See also Dell support Windows Update Website Online support Security Center Computer name domain and workgroup settings Performance Computer name
15. ps 1 Plug in the USB Dongle If this is the first time you have plugged in the device you will need to follow the Software Installation procedure in the next section 2 Plug the selected Derivative Board into J3 as shown below The connector is keyed so the Derivative Board can only be plugged in correctly UTURE DESIGNS INC Yi Www teom dicom eve 9 m C7 O B3 M T D ol AR Ot gee d A um raz y g oiiaii zh Pr i 1 l a EY s TM I3 1 3 Ha Eu BE c LE enmt E F s s ma N p_i ET E mr xd a a Ta USB DONGLE A NI M SEAT USB Dongle Manual V1 2a Page 4 9 18 2008 4 0 Software Installation 4 1 Windows XP These instructions assume a Windows XP operating system Different OS s may have different dialogs NOTE Your specific version of Windows MAY already include drivers If drivers are not found please download and unzip the latest drivers from http www teamfdi com USBDongle When the USB Dongle is plugged into the device Windows XP will identify a device named USBSerial and bring up the following dialog box Found New Hardware Wizard Welcome to the Found New Hardware Wizard Windows will search for current and updated software by looking on your computer on the hardware installation CD or on the Windows Update Web site with your permission Can Windows connect to Windows Update to search for software C Yes
16. reset Reprogramming of the Derivative Board can now occur Once out of run mode select the correct hex file and click Start The microcontroller on the Derivative Board will be reset and programmed as expected USB Dongle Manual V1 2a Page 18 9 18 2008 8 0 Blink Example Used in the above example was the BLINK HEX file The source code to the Blink example has been included in Examples Blink Any appropriate 80C51 compiler should be able to compile and recreate the hex file The Blink example toggles pins on PO 1 and P3 5 Delays are performed with simple loops therefore changing the timing of the target device will change the speed of the LED blink rate 9 0 Communicating between Derivative Board and PC Once the microcontroller on a Derivative Board has been programmed communications between the PC and the Derivative Board can be established using the same COM port that the USB Dongle is on To change the USB Dongle from program mode to communications mode send the single character to the USB Dongle The USB Dongle will then act as a serial pass through between the Derivative Board and PC All data to and from the Derivative Board will be passed at the baud rate specified by the PC Note that Derivative Boards may not be able to run all baud rates and may depend on target processor speed In addition because handshake lines are not available buffer overflow may occur and may require software handshaking To take the USB
17. t eudis 19 9 0 Communicating between Derivative Board and PC seeeeeeesesss 19 I0 0 Technical SUDDOLE io epp ede eto E MIS MIU es 21 11 0 General Sales and Contact formaton uiii ioo res eR ania Ro E b Ree apes 2 FEE General Sales ERST Tm 21 H Cna tIon Oa A E 21 Information in this document is provided solely to enable the use of Future Designs products FDI assumes no liability whatsoever including infringement of any patent or copyright FDI reserves the right to make changes to these specifications at any time without notice No part of this document may be reproduced or transmitted in any form or by any means electronic or mechanical for any purpose without the express written permission of Future Designs Inc 2702 Triana Boulevard Huntsville AL 35805 NOTE The inclusion of vendor software products in an FDI kit does not imply an endorsement of the product by Future Designs Inc 2007 Future Designs Inc All rights reserved Microsoft MS DOS Windows Microsoft Word are registered trademarks of Microsoft Corporation Other brand names are trademarks or registered trademarks of their respective owners Revision 1 2 8 22 2007 10 24 00 AM Printed in the United States of America USB Dongle Manual V1 2a Page 2 9 18 2008 1 0 Introduction The USB Dongle and Derivative Boards allow quick and easy ICP or ISP programming of many popular NXP Semiconductors microcontroller families such as the LPC9xx ARM7

Download Pdf Manuals

image

Related Search

Related Contents

Samsung 226CW Felhasználói kézikönyv  AVerMedia SF2111H-BR surveillance camera  Manual de Instalación JEdit  Canon EF24-105MM User's Manual  Toastofen Toasting oven Mini four réchauffeur Toast    ADTRAN 3000 HTU-C User's Manual  PAC 2200 Series Controllers User Guide - securi  American Dynamics Registration Instructions  Mounting and Operating Instructions Flush -  

Copyright © All rights reserved.
Failed to retrieve file