Home
ATT7025/7027 Development Tool`s User Manual
Contents
1. Verity pe verifying and Encrypting Message Open downloaded file to data huffersucceedt 11Debugging Suggestions 1 There are some restrictions when user is debugging the program 1 Serial Port 0 and Time 2 can t be configured User can t disable EA and Serial Port 0 interrupt Watch Dog needs to be disabled WAU FEAR IG HE CEE ARASA http www hitrendtech com Pagel9 of 20 Rev 1 0 Obilienatecn ATT7025 7027 Development Tool s User Manual 210 SD 127 2 The system must be 5 5296MHz or 11 0592MHz 3 The SFR window in MedWinV3 can t display written protect registers correctly User can get real values through indirect ways 4 32K flash can only be configured as code flash and user can t program from 7COOH to 8000H 5 When user is debugging the program MCU always execute at high frequency mode 6 Two breakpoints can t be set adjacently 7 If user has finished executing memory download Program Verify please don t close the Program flash window at once You should remove USB Serial Port at first otherwise the program download before will be erased 12 C code debugging suggestions It is not recommended to set the breakpoint at the end of subroutine or interrupt routine 13 ASM debugging suggestions Program execution may stop on wrong address when the following situations happen at the same time 1 User sets breakpoints at the end of subroutine or interrupt routine 2
2. Obitendtec ATT7025 7027 Development Tool s User Manual 210 SD 127 ATT7025 7027 Development Tool s User Manual WSU FEAR GHEE EA FRAT PTA Pagel of 20 Obileenatecn ATT7025 7027 Development Tool s User Manual 210 SD 127 Version history 2008 01 17 2008 01 21 Tel 021 51035886 Fax 021 50277833 Email sales hitrendtech com Web http www hitrendtech com O S a M a O E UU U l EET FEE FE FE FEET EG WATER IG HAR CEA FRAT PTE http www hitrendtech com Page2 of 20 Rev1 0 Obileenatecn ATT7025 7027 Development Tool s User Manual 210 SD 127 Directory Frodu EO ai aitaareanattncrenacsouetuaattentannatican E E eee Eee 4 2 Ne AU CS T A A E S A AEE E E N A A E E A E E AE O AA A S 4 3 Software and Related documentations ccccccccccccceccccceeeeesseeeseeeeeeeeeeeeeeeeeeeeeeeaaseeeeeeseeeeeeeeeeeeseeecseaaaaeaeseeeeeeeeeess 4 ED REESE EN E T IT E E EN 4 FU Betta Pon Dey Eear a E saan vaunemsacmnsemnegusaomnsnadonsnens 5 CON e O a A E E E Eee ER EeE 5 TATO Giver aid COMA e E E E E E E E ES ER SEE DEER 8 OC Geb A WG WV EO Ce E A E E ES 11 DERE HEE SEE A A AE E A A T A T 14 10 Building and Loading your program ccccccccccccccccceceeesneeeeeeeeseeseeeeeeeeeeeeeeeeeaeeeseeeeeseeeeeeeeeeeeeeeeessaaaaeeasseseeeeeeees 18 11Debugging Suggestions sesssssssseeeeeeeeeessssssssssssesettrrreresssssssssssssssseertrerreeesssssssssssseettrereesssssseseeeeeereeessssssssssees 19 12 C code de DUI OIG SUS
3. SESH ONS eeren an R O EL 20 DA VL GE DUS tine a Dones ONS a ERa ERE 20 C S a M a O E U U l FEET EET El WAER IG HR CEA AB ZS PTE http www hitrendtech com Page3 of 20 Rev1 0 Obilienatecn ATT7025 7027 Development Tool s User Manual 210 SD 127 1 Introduction MedWin is an Integrated Development Environment that combines project management source code editing and program debugging in one single powerful environment It provides a most convenient way for debugging the ATT702X products This user manual explains the steps needed to use Med Win 2 Features Two breakpoints Communication through USB Serial Port device Connect an extern power supply to ATT702X 3 Software and Related documentations MedWinV3 software ATT702X driver USB to Serial driver Medwin_manual pdf ATT702x development tool s user manual downloaded from the ATT702x web site at www hitrendtech com 4 Overview Pza TXO T cns alp AC DC i RXO Ke USB 5erial Port Power Adaptor T ATT702x Target O S a M O O E U U U l EP EEEEFFEFEEEEEEETE TEE FRE EET ET WATER IG HAR CEA FRAT PTE http www hitrendtech com Page4 of 20 Rev1 0 Hilrendtecn ATT7025 7027 Development Tool s User Manual 210 SD 127 5 USB Serial Port Device The represents pin 1 all the pins are configured as the chart below RXO TXO Undefined 9 Undefined 6 Software Installation The file MedwinV3 software and related documentations rar includ
4. The instruction under break address is the entrance address of a function 3 The PC is under the break address and user execute RUN The picture below is a example 13 id INC A is A INC A 16 BEA CCC INC A 17 INC al 18 INC A 19 HOF J0 HOF 2 HOF 22s HOF 2325 HOP 24 amp HOP 25 HOP 2h HOP 27 AJMP ccc a WSUS FER IG HR CEI ABR ZS PTE http www hitrendtech com Page20 of 20 Rev 1 0
5. ame with an installation CD lt or floppy disk insert it now What do you want the wizard to do OC Install the software automatically Recommended Click Next to continue WSUS FER IG HR CEA FRAT PTE http www hitrendtech com Page6 of 20 Rev1 0 Obileenatecn ATT7025 7027 Development Tool s User Manual 210 SD 127 Found New Hardware Wizard Please choose your search and installation options 8 Search for the best driver in these locations 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 Include this location in the search Don t search will choose the driver to install Choose thie option to select the device driver from a lish Windows does not guarantee that the driver you choose will be the best match for pour hardware Please wait while the wizard installs the software Hardware Installation Manley TPRP2 Protocol Controller The oftware you are installing for this hardware Manley TPARP2 Protocol Controller has not passed Windows Logo testing to verify its compatibility with Windows SP Tell me why this testing is important Continuing your installation of this software may impair or destabilize the correct operation of your system either immediately or in the future Microsoft strongly recommends that you stop this installat
6. edWinV3 will like this Fi nblir OTT irs B ii r A bel F 9 2 Add C compiler to MedWinV3 Settings Compiler Tools a WSUS FER IG HR CEA FRAT PTE http www hitrendtech com Pagel0 of 20 Rev 1 0 Oilrendtecn ATT7025 7027 Development Tool s User Manual 210 SD 127 Tools Window r Emulator Settings Working Director Compiler Tools Communication Driver Manager Environment Options If user select Keil company s compiler you should set path to folder that Keil was installed before You must ensure that you have installed Keil software in your PC Compiler Tools Translate settings Default Assemble and linker Path User defined Tools CakeihC51 Select gt Executable files and path user defined C compiler Assembler PO Linker ae INC path D LIB path E Apoi Creating a new project 1 Launch MedWinV3 2 Project New Project please select driver ChipICE ATT702x Emulator Driver WSUS FER IG HR CEI FRAT PTE http www hitrendtech com Pagell of 20 Rev1 0 Obileenatecn ATT7025 7027 Development Tool s User Manual 210 SD 127 New Project Step1 fx Device Driver Select Driver Cancel Project Select compiler output format according to specified compiler in project wizad O UBROF format AR C8051 3 In the project Name field type the project name In the locati
7. es 3 folders described as below 1 the installation file of MedWinV3 2 ATT702x Driver 3 USB Serial Driver nn ASAT AIG BH CEI FRAT PTE http www hitrendtech com PageS5 of 20 Rev1 0 Obilienatecn ATT7025 7027 Development Tool s User Manual 210 SD 127 To install the Med WinV3 software for ATT702x 1 Double click setup exe in MedWinV3 folder The setup program guides you through installation process Follow the setup instructions on the screen On completion of the setup program execution the MedWinV3 0 program icons are created in the selected folder 2 Please copy all the files in ATT702X_Driver folder to the selected folder in process one the folder user select to install MedWinV3 3 To install USB Serial driver a Connect the USB Serial Port device to PC there will be a Found New Hardware dialog on the screen please select No not this time 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 Read our privacy policy Can Windows connect to Windows Update to search for software CO ves this time only Yes now and every time connect a device Click Next to continue This wizard helps you install software for Manley TPAP2 Protocol Controller Cs IF your hardware c
8. ion now and contact the hardware vendor for software that has passed Windows Logo testing T Continue Anyway fi E a a a a L L U SE TEE EEEEEEEEEEEEEEEE EE E WAER IG HAR CEH FRAT PTE http www hitrendtech com Page7 of 20 Rev1 0 Obilienatecn ATT7025 7027 Development Tool s User Manual 210 SD 127 Found New Hardware Wizard Completing the Found New Hardware Wizard The wizard has finished installing the software for Manley TPRP2 Protocol Controller rr Click Finish to cose the wizard Cancel c If you install this driver at the first time maybe the operation system will remind you to install the driver again 7ATT702x driver and C compiler 1 Add ATT702x driver to MedWinV3 Settings Driver Manager Driver Manager Insight ME 52HU Family Emulator 2007581 Simlator Driver Chiplle JEW 9E2401 Emulator Driver CHIpICE JEW SE825 Emulator Driver Chiplle JEW 9E834 Emulator Driver ChipiCE JEW SERS9 Emulator Driver CHIpICE JEW7Y9E218 Emulator Driver ChipiCE JEW681308 Emulator Driver WSUS FER IG HR CEA AB ZS PTE http www hitrendtech com Page of 20 Rev1 0 Obileenatecn ATT7025 7027 Development Tool s User Manual 210 SD 127 Driver Manager Insight ME 52HU Family Emulator Select eUC51 Simlator Driver ChiplCE JEVW SE201 Emulator Driver Ga Chil E JEW79E825 Emulator Driver Add ChiplCe JEW 96934 Emulator Driver E Chip
9. lCE JEY 7 9E6659 Emulator Driver 4 ChiplCE JEW79E218 Emulator Driver Remove ChiplCeE JEVW6881 308 Emulator Driver Add Driver Look jn E Medwinv3 Files of type Driver Filesf inf v Driver Manager fx Insight ME 52HU Family Emulator 80051 Simlator Driver ChiplCE JEW79E201 Emulator Driver o ChiplCE JEW SE825 Emulator Driver ChiplCE JEYW79E834 Emulator Oriver ChipiCE JEW79EBS9 Emulator Oriver ChipiCE JEWYF9E2ZT 8 Emulator Driver Remove ChiplCE JEYE81 308 Emulator Driver v Chiplle ATT POS Emulator Driver j Copyrightici 000 2007 Manley Electronics Co Ltd ATTTO2X dll Ver 1 00 00 ATTTO2 lib Ver 3 00 00 Please select ChipICE ATT702X Emulator Driver and click the button OR According to the crystal on target board user should select the clock of development tool WSU FEAR IE HES CIE FRAT PTA http www hitrendtech com Page9 of 20 Rev1 0 ileenatecn ATT7025 7027 Development Tool s User Manual 210 SD 127 Settings Tools Window Emulator Working Director all Compiler Tools Communication a L Driver Manager Enviroanmene options v Insert debugging code If all the operations are correct the status will be shown at the bottom of MedWinV3 Emulator ATT702 Monitor 1 USB hf 5 5296MHz If there are some problems the status shown at the bottom of M
10. les RESS1 H Make head file Head file C STDIO H L MATH H C CTYPE H C STRING H C STOLIB H C ABSACC H L HINTRINS H LISTDARG H C SETJMP H WATER IG HR CEA AB ZS PTE http www hitrendtech com Pagel6 of 20 Rev 1 0 Obileenatecn ATT7025 7027 Development Tool s User Manual 210 SD 127 New file wizard 4 Declare Generate maing New file wizard 5 Previews Piers ripe o a Fdetine MYTITT_oC_ Finclude reg51 h Finclude mm tt h File MYTTTT H TER SEERE ERE REE Pee rene ce ER EEN ERE ERE ERE REESE ERE RER SER ERR Rki baie ifdef MYTTTT_H_ Fdefine MYTTTT_H_ GIT ca cae ba I aca Ra GES de SS Ea a eA Ma I aT a Bs GO A a 4 Click finish and you will see the new file in Files Manager WSUS FER IG LR CEA FRAT PTE http www hitrendtech com Pagel7 of 20 Rev 1 0 bilienatecn ATT7025 7027 Development Tool s User Manual 210 SD 127 Files Manager a Files a MYTTTT E EE Header Files 9 Library Files Output Files first m51 El first hex ri 5 If the status at the bottom of MedWinV3 is the same as the picture below user can debug the file he or she created Cmar ATT O Menor UTD D eS 10 Building and Loading your program 1 When you have created a functional program you can build it Use the Project Rebuild all the first time you build the project An output window will show the build process and status When the build is finished the o
11. on field type or browse to the folder you created ET TESTET e En WATER EEP CEA FRAT PTE http www hitrendtech com Pagel2 of 20 Rev 1 0 Obileenatecn ATT7025 7027 Development Tool s User Manual 210 SD 127 New Project Step3 Description 4 Recommended Optimizations setting is lt default gt New Project Step4 Target Asm C Link Output Code Compile ctrl Include path Define C Undefine Misc C NoAREGS Optimizations Level default w Options default v Embedded assemble CIESRC Command line L 5 You can add the source files library files or head files that have been created before in this dialog If you don t want to add any file please click Next ET TESTET e En WATER EER EA ARASA http www hitrendtech com Page13 of 20 Rev1 0 OHilrendtecn ATT 7025 7027 Development Tool s User Manual 210 SD 127 New Project Step5 Source Files Header Files Library Files Output Files Language Comp 6 Click Finish MedWinV3 creates a project file New Project Step6 Project description Compiler Tool Format Inter OMF Project Name first Project Path F vorkDirtirst Project Alias Tirst Project Include Path Proejct Describe Source Files Header Files Library Files Output Files F WwvorkDirtirstiDebugivirstim51 FW vorkDirtirstioOutputtirst hex 9 Creating a new file 1 Project New File WSU FE ARGH CEE ARASA http www hi
12. trendtech com Pagel4 of 20 Rev 1 0 Obileenatecn ATT7025 7027 Development Tool s User Manual 210 SD 127 Project Debug Memory Breakpoi Hew Project Olk F11 Open Project Import Project Export project Close Project New File Alt Fiz 4dd File Import File Make Cbrl F5 Build Ctrl F6 gi Translate Ctrl F te Cbrl Fa Build and Download Ctrl F9 Properties 2 Type the file name in the file name field and choose the file type you want to create New file wizard 1 New file i User File name mytitt asm Filetype Assemble language OG lanquage Description The steps to create a new assembler file of wizard are as follows 1 Select create assembler program enter a new name into field of file name The name should not contain 2 and The system default extension of a assembler file is ASM Following rules are recommended a Use A 7 or _ as first character of a name b Dontuse a too long name 3 If a C language file will be created the wizard will guide user as below WSUS FER IG HLA CEA FRAT PTE http www hitrendtech com Pagel5 of 20 Rev 1 0 O HiTenctecn ATT7025 7027 Development Tool s User Manual 210 SD 127 New file wizard Tirnerd INT1 Timert Serial Generation tnitinitialization _ interrupt routing Register bank default Trigger New file wizard 3 cpticns Include SFR define file Croose SFR fi
13. utput window will display lt Compi ler gt C51 COMPILATION COMPLETE WARNING S 0 ERROR S Make and Download 3 The program in ETE mode will be like the picture below def ine _MYTTT_C_ Ne Hinclude regSl h 03 Tinclude myttt k 04 05 6 unsigned char a b c 07 maint 8 hl I 19 a 1 10 b 2 1 etree 1 t 4 If program is in debugging mode the development tools inserts some debugging codes to corresponding hex files in output files If user has finished debugging the program and want to create original hex file please use Settings Emulator The check box Insert debugging code decides whether to insert some codes for debugging to hex file a WSUS FER IG HR CEA ABR ZS PTE http www hitrendtech com Pagel8 of 20 Rev 1 0 Obileenatecn ATT7025 7027 Development Tool s User Manual 210 SD 127 Settings Tools Window i Fr Emulator Working Director all Compiler Tools Commun cation el E Driver Manager Environment options v Insert debugging code 5 You can download your program to target board directly by using memory Download Memory Break ae pe Sona Program flash File File ElWvorkDinTest_AlNOutpufTest_All nex Download file according to postix support intel HEX BIN and Intel OMF form Options Mass erase before programming Program
Download Pdf Manuals
Related Search
Related Contents
Marmitek LMM32 user manual PDF Add-On Computer Peripherals (ACP) ADD-ST-LC-10M6MMF fiber optic cable Operating instructions Manuel d´utilisation OPERATION AND MAINTENANCE MANUAL Electronic Teledex Telephone 600-0480-59 User's Manual SkyLink 318TRS User's Manual FA-PAC(PC)M6RF,M11RF,F6RF,F11RF 取扱説明書 Heath Zenith AC-6507 User's Manual Copyright © All rights reserved.
Failed to retrieve file