Home

T-Link-EV5274/5278 User Manual Rev 0.92

image

Contents

1. UVZ gE 4 CAKei C51 RtxTiny2Z Examples Traffic Traffic UV2 E 5 C Keil C51 Examples Blinky Blinky UV2 i m E 6 C Keil C51 Examples CSample CSample UV2 4 Win7_ULT_SP1 DATA DJ O geet TEST asm Create a new Vision project Copy tenx 8051 Startup Code to Project Folder and Add File to Project 3 UM T Link EV5274 5278 E 11 Rev 0 92 2015 09 03 lt T Link EV5274 5278 User Manual V 4 9 CPU Data Base selection dialog box will be show up Select the tenx F8051 Devices and click on OK button gt Select a CPU model for EV Board model refer to Note 1 and the right window shows some of the parameters of this single chip model Select a CPU Data Base File tenx F8051 Devices Generic CEU Data Base terc LUT LA cwices c Options for Target Target 1 Device Target Output Listing User c51 51 BL51 Locate BL51 Misc Debug Utiities Database terx F8051 Devices Vendor Lenx Device TM52F5274 Use Extended Linker LX51 instead of BL51 Toolset C51 Use Extended Assembler 5x51 instead of 451 Target name EV5274 8051 based MCU contains 8K bytes Flash ROM 512 bytes on chip SRAM 8051 standard Timer 1 2 U ART Real time Timer3 2 PWM 12 bit ADC 11 Interrupts priority levels Watch Dog Timer and LCD Debug code range 00 032 36 006 Ux 1 0UD bx Tff Not debug code range 500 032
2. KL gt T Link EV5274 527 User Manual Rev 0 92 tenx reserves the right to change or discontinue the manual and online documentation to this product herein to improve reliability function or design without further notice tenx does not assume any liability arising out of the application or use of any product or circuit described herein neither does it convey any license under its patent rights nor the rights of others tenx products are not designed intended or authorized for use in life support appliances devices or systems If Buyer purchases or uses tenx products for any such unintended or unauthorized application Buyer shall indemnify and hold tenx and its officers employees subsidiaries affiliates and distributors harmless against all claims cost damages and expenses and reasonable attorney fees arising out of directly or indirectly any claim of personal injury or death associated with such unintended or unauthorized use even if such claim alleges that tenx was negligent regarding the design or manufacture of the part lt gt i T Link EV5274 5278 User Manual AMENDMENT HISTORY 1 x E RES 2 4 gk P6 x 315 P7 4 P12 5 P14 6 P17 V0 91 May 2015 7 P20 8 P21 9 P22 10 P27 11 P29 B 28 12
3. Limit Speedto Real Time mon MON390 Dallas Casa Mode v Load Application at Startup v Run to main Nt Load LPC900 EPM Emulator Programmer Initialization File id ST uPSD ULINK Driver NE Infineon XC800 ULINK Driver ADI Monitor Driver w m v Breakpoints v Toolbox Briter i Watchpoints amp PA Watchpoints Memory Display Memory Display CPU DLL Parameter Driver DLL Parameter 58051 S8051 DLL Dialog DLL Parameter Dialog DLL Parameter DP51 DLL p552 TP51 DLL p552 Cancel Defaults Help 4 14 Utilities dialog box settings Click on Use Target Driver for Flash Programming option and select tenx F8051 Driver as shown below Update Target before Debugging LPCS88 EPM Emulator roars Init File TPS ULINK Driver Edit Infineon XC800 ULINK Driver ADI Monitor Driver NXP LPCS5x ULINK Driver tenx F8051 Driver Use Exte Command Arguments Aun Independent Cancel Defaults Help UM T Link EV5274_5278_E 15 Rev 0 92 2015 09 03 lt i T Link EV5274 5278 User Manual 4 15 Click on settings button and the Flash Download Setup window will be show up check the Download Function desired option as shown below Cee General Edit LCD Online check Bod TM52F5278 Download Function evice SS Erase Flash Option Reset Option Make tenx iv P
4. P30 H V0 92 Sep 2015 1 P26 27 UM T Link EV5274 5278 E 2 Rev 0 92 2015 09 03 lt gt i T Link EV5274 5278 User Manual CONTENTS AMENDMENT HISTORY i TRIO UON EOG EIER eR Ka ANGENAN ORANG NE KENEN GK GAENE NGANGEN EROR ESI EEDS 2 L asa a ba uuu ss FOA UG 4 P rodu DOT 4 3 T Link EV5274 5278 Hardware Description 5 4 How to start using T Link EV5274 5278 simulation 7 5 How to use four wires to program or simulate by T Link Board 19 6 How to update tenx IDE amp T Link F W 20 7 How to use Touch Key Application 22 5 How touse ADDO HU OR u uuu au aquqa FO UF OY FUN CDC das 26 D LVRS ul Lu oo Sa nas A Ta E aa ap aaa a IIR IUE 28 DNE Tq FY EWAN AF FYFYR n 29 UM T Link EV5274 5278 E 3 Rev 0 92 2015 09 03 lt T Link EV5274 5278 User Manual 1 Outline Tenx tenx technology F51 amp L51 Series single chip is compatible with 8051 the user can use Keil uVision series of software as a development environment this article will introduce the software and hardware configuration in Keil C 2 Introduction Fi
5. The T Link ICE Board can use four wires VCC VSS P3 0 P2 4 P3 1 P2 5 or five wires VCC VSS P3 0 P2 4 P3 1 P2 5 P3 3 to program user must to select 4 wire in Utilities dialog box settings 5 1 Utilities dialog box settings Click on Option button and select 4 Wire as shown below WDTE 0 76 WDT Disable FRCF When CLEPSC 3 and select FF range ICE Operating frequency maybe out of range 0 4 0 o v PROT 1 7 Not Protected XRSTE 1 6 Disable LVYR 1 574 LV Reset 2 9 VCCFLT E3 Disable PWRSAV 1 2 Not MVCLOCK 1 1 MOVC Unlock Address range of IAP 2 30 No use ICE Mode 2 4 5 Wire E u Conc b WZire UM T Link EV5274_5278_E 19 Rev 0 92 2015 09 03 lt T Link EV5274 5278 User Manual V 6 How to update tenx IDE amp T Link F W 6 1 Update tenx IDE Click on Online check button and Update the TM52DII IDE in Utilities dialog box as shown below Online update General Edit LCD Online check Version Infomation V 1 3 0 0 FAW Version Update T link ICE Board There are new version Mew Version 15 v1 3 0 2build000 Ifyou want to update please press Execute or Save as else press Cancel Save as Cancel 6 2 Update T Link F W Connect TUT52 Writer to USB and T Link Board as shown below T link Board TUT52 Writer V1 1 UM T Link EV5274_5278_E 20 Rev 0 92 20
6. Q6 Why the user clicks on Debug button as shown below window and then exit the Debug Mode SampTarg Convert Fail Fail to open Hex file Please rebuild project and check Create HEX File HEX 80 Select Folder for Objects Name of Executable TEST Create Executable TEST Debug Information Z Browse Information Create HEX File HEX Format HEX 80 gt Create Library TEST LIB Create Batch File UM T Link EV5274_5278_E 32 Rev 0 92 2015 09 03
7. A D Converter EMU CS NOISE PROCESS T3Flag 0x21 0 Display Touch Key AP and Run TX3799 3702 will use this interrupt vector as ICE void INT8 PiI void interrupt 8 using 2 bu 0x0000 i yy IsrIdx 8 0 0000 515 So H fendif auxc on PC void INT9 IEZ void interrupt using 3 0 is p pun Bine Eres We S re mainc B Appc E SPLRout TouchSet E TouchSc B AdcScan c E TouchFu E TouchF Disasse x Make tenx file D MyData BIN 3712 TK verif a checksum is OxC3C5 Success InitTarget dwz 3282 InitTarget OK dw3 3282 checksum is OxC3C5 Load 3 712_ TarTdxz9 OK dw3 63 ScanCalBufi TkCalParmIn tenx F8051 Driver 11 0 00000000 sec UM T Link EV5274 5278 E 23 Rev 0 92 2015 09 03 lt T Link EV5274 5278 User Manual V 7 3 Fill in TK Data ex TK name address and TK Bits and Total TK Channels Key in symbol name for watch TK Name or Address Ex i 0x20 5cOxFFOD 22 TK data bits 8 or 11 Total TK channels 1 Example TK data address i 0x22 TK data address i 0x22 TK data bits 8 TK data bits 11 Total TK channels 0x3 Total TK channels 0x2 User must User must Copy TKDL 7 0 of 1st TK into i 0x22 Copy 5 b00000 TKOVF TKDH of 1st TK into i 0x22 Copy TKDL 7 0 of 2n
8. needs to confirm Code Range and Option settings the Open Project will save the settings and the New Project will be default settings in the Option dialog box Foch Download ur General Edit LCD Online check Devi TM52F5278 Download Function evice v I Erase Flash Option Reset Option Make tenx iv Program Flash Iv Verify Flash Option Number hex F 1000 i Don t Show ICE Message Don t Show AP Message Overwrite Item Description Selected Function WDTE 0 7 6 WDT Disable FRCF When CLKPSC 3 and select 31 PROT 1 7 Not Protected XRSTE 1 6 Disable EVR 1 5 4 LV Reset 2 3V VCCFLT 1 3 Disable PWRSAYV 1 2 Not MVCLOCK 1 1 MOVC Unlock Address range of IAP 2 3 0 No use Options for Target Target 1 Device Target Output Listing User 51 A51 BL51Locate BL51 Misc Debug Utilities Configure Flash Menu Command Use Target Driver for Flash Programming teru F8051 Driver Update Target before Debugging Fie Edi C Use Extemal Tool for Flash Programming Command Ex Arguments __ Run Independeni Ok Cancel Defaults Help UM T Link EV5274_5278_E 18 Rev 0 92 2015 09 03 lt gt i T Link EV5274 5278 User Manual y 5 How to use four wires to program or simulate by T Link Board
9. 15 09 03 a lt gt ik T Link EV5274 5278 User Manual V 6 3 Click on Update T Link ICE Board button to update T Link Board F W as shown below Online update General Edit LCD Online check Version Infomation wi 3 1 2 FAW Version Update T link ICE Board tenx F W Update Notification Waaa Mew F W version is v3 b8 Upgrade F W to a new version UM T Link EV5274 5278 E 21 Rev 0 92 2015 09 03 A lt Aik T Link EV5274 5278 User Manual 7 How to use Touch Key Application The Touch Key Application work in Debug Mode user can use application to view the results of TK Data The TK Data must be stored in XRAM and IRAM range as shown below 7 1 Click on Debug into Debug mode vous File Edit View Project Flash Debug Peripherals Tools SVCS Window Help Dada kah h mm d z ae a e oe 7 HY 21 4239 Target 1 51 23 Source Group 1 tenx F8051 Driver 4c CAP NUM SCRL OVR R W UM T Link EV5274_5278_E 22 Rev 0 92 2015 09 03 A lt gt i T Link EV5274 5278 User Manual V 7 2 Click the Debug menu and select Display Touch Key AP and Run File Edit View Project Flash Peripherals Tools SVCS Window Help Dadga ca d di Start Stop Debug Session Ctri F5 Lo MW es ELO M PPN ples Reset CPU UVA a m gt a a Run SS ET Target 1 stop El Group 1 P INTO IEO C 0009 m Step Fll pid interrupt 7 usin
10. 274 5278 Board of USB mini type connector to PC EV5274 5278 Board 4 7 Confirm Device Manger 20 ATA BEV HEH A EE 28 4 gh bl157 Win7SP1 4 443 DVD CD ROM E EL TEN ne Genere USE Dazz gt Lid pr y Ce IDEZ gm gt IEEE 1394 ym gt amp PRES eS d nes gt l SEE po BM RARBRSAE gt Bs RESERES Erg BAR EAHA Generic USB Hub W Generic USB Hub W Standard Enhanced PCI to USB Host Controller 4 Standard Enhanced PG to USB Host Controller Leu USB Root Hub on USB Root Hub D SREERQCEESRE b Ie EX lx H aaa UM T Link EV5274 5278 E 10 Rev 0 92 2015 09 03 T Link EV5274 5278 User Manual 4 8 Open KEIL C gt Click the Project menu and select New Project window gt Fill in the project name and click Save Project Copy tenx 8051 Startup Code or not New Multi Project Workspace Open Project Close Project Export Manage Select Device for Target Remove Item 4 S Options 2 Build target Rebuild all target files E Batch Build El BAUS 28 gt Translate GM L1 TEST plg 2014 9 23 FF Li Stop build y eis TEST 2014 9 23 FF L ra F1 1 G Keil C51 Examples HELLO TEST uvproj 2 CAKeil C51 Examples NHelloNHello uvproj E an 3 51
11. 8 ICE Mode 2 4 5 Wire 9 Operating Voltage 3 0 3V mode Q2 How to use UV3 and UV4 version in the same time A2 If user wants to install UV3 and UV4 version in the default path UV3 amp UV4 version in CA Keil in the same time the user musts to change C51 folder name because there will be two C51 folders and then install tenx F51 amp L51 IDE file if user needs to use UV3 version the UV4 version must to change C51 folder name However the user wants to install UV3 and UV4 version in the different path UV3 version in CA Keil UV4 version in DA Keil the tenx F51 amp L51 IDE amp Keil C version UV3 or UV4 must be installed in the same path Eee UM T Link EV5274 5278 E 29 Rev 0 92 2015 09 03 a lt gt i T Link EV5274 5278 User Manual Q3 Why the user clicks on Debug button as shown below window ICE Mode Mote System Clack frequency Suggestion In ICE mode don t use maybe P24 P25 or P30 P31 ICE A IM52F5274 F5278 less than BMHz pins or change its pin mode B TM5h2Fh274BIFh278B less than 8MHz Do not show next time When the user writes program file must be avoid to control P3 0 P2 4 P3 1 P2 5 pin For example P3 P2 Mode configuration change gt if do not show this window in the next time gt please check Do not show next time option or to confirm Don t Show ICE Message is checked in the Flash Download Setup window Flash Downlo
12. ad Setup VLT83 C General Edit LCD Online check 52F5278 Download Function Device TM52F5278 Erase Flash Option Reset Option Make tmc M Program Flash Verify Flash Option Number hex 5F 1000 iv Don t Show ICE Message Dont Show AP Message Overwrite FRCF Item Description Selected Function WDTE 0 7 6 WDT Disable FRCF When CLKPSC 3 and select 31 PROT 1 7 Not Protected XRSTE 1 6 Disable LVR 1 574 LV Reset 2 3V VCCFLT 1 3 Disable PWRSAV 1 2 Not MVCLOCK 1 1 MOVC Unlock Address range of IAP 2 3 0 No use UM T Link EV5274 5278 E 30 Rev 0 92 2015 09 03 gt ik T Link EV5274 5278 User Manual Q4 Why the user clicks on Debug button as shown below window and then exit the Debug Mode CAKeiNUVANUvA exe A4 Because the user selects chip model and EV Board model does not match please recheck chip model and EV Board model Q5 Why the user clicks on Debug button or Download button as shown below window and then exit the Debug Mode or Download Mode CAKeiNUVANUVA exe Ah Debug section overlap Please reference user manual Debug vector is 0x0033 and error address is 044002 A5 Because the user writes program file is out of ROM code range please refer Note 2 in Page 14 I UM T Link EV5274_5278_E 31 Rev 0 92 2015 09 03 lt i T Link EV5274 5278 User Manual
13. asm 8 88 Target 1 Options for Target Target 1 51 53 Source Group 1 E TEST asm Device Target Output Listing User C51 A51 BL51 Locate BL51 Misc Debug Utilities tenx TM52F5284 Xtal MHz 6 0 Use On chip ROM x0 0x32 0x3B 0x3FFD Memory Model Smal variables in DATA Code Rom Size Large 64K program Use On chip XRAM 0xFF00 0xFFFF Operating system None Off chip Code memory Off chip Xdata memory Code Banking Banks 2 8051 L4C21 CAP NUM SCRL OVR R W 8 2 Click on setting Button in Utilities Digital box as shown below Options for Target Target 1 Device Target Output Listing User csi 451 BL51 Locate BLS Miso r Configure Flash Menu Command Use Target Driver for Hash Programming Update Target before Debugging EE Edit f Use Extemal Tool for Hash Programming Command Arguments UM T Link EV5274 5278 E 26 Rev 0 92 2015 09 03 A lt gt i T Link EV5274 5278 User Manual 8 3 Click on LCD Edit Button and check show LCD in debug option as shown below LCD Setting General Edit LCD llOnline check Edit LCD K gt I show LCD in debug Free run timer set ms LCD File Name CAUserswd Documents 123 LCD PAT file path CAR IAID DP atMlCEBM 8 4 Click on Debug into Debug mode and the LCD Application will be sh
14. c3b Hc Tff d XRAM range Note 1 TM52F5274 74B 78 78B For EV Board model Chip Model EV Board Model TM52F5274 74B EV5274 5278 TM52F5278 78B UM T Link EV5274_5278_E 12 Rev 0 92 2015 09 03 lt 4 10 Option for Target dialog box settings Chck the Option for Target button in the main menu the project file is created must also be relevant to the project file settings as shown below l gt T Link EV5274 5278 User Manual Ea dS m mm iE uu amp rrr 3 a Bia MN _ Options for Target Target 1 5 63 Source Group 1 f TEST asm Device Target Output Listing User C51 A51 BL51 Locate BL51 Misc Debug Utilities tenx TM52F5268 Xtal MHz 80 Use On chip ROM xx0 0x32 0x3B 0x1FFD Memory Model Small variables in DATA Code Rom Size Large 64K program Operating system None 1 r Off chip Xdata memory Start Size Size E 1 _ _ _ T r Off chip Code memory Code Banking Start End far memory type support Banks 2 gt Bank Area 00000 oxFFFF T Save address extension SFF k tenx F8051 Driver CAP NUM SCRL OVR R W 4 11 Output dialog box settings To confirm Create HEX File option 1s checked as shown below Options for Target Target i 0 Output Usr C51 A51 BL51 Locate BL51 Mis Debug Utilities Select Folder for Objects Na
15. d TK into i 0x23 Copy TKDL 7 0 of 1st TK into i 0x23 Copy TKDL 7 0 of 3rd TK into i 0x24 Copy 5 b00000 TKOVF TKDH of 2nd TK into i 0x24 Copy TKDL 7 0 of 2nd TK into i 0x25 Note 1 Any touch key channel on ICE pins maybe P1 2 P1 3 cannot be enabled 2 Press OK user code will auto freerun and ignore any break point Cancel 7 4 Click on OK button and the TK AP will be show up Settings Update Refresh SaveDats Mode About UM T Link EV5274 5278 E 24 Rev 0 92 2015 09 03 lt i T Link EV5274 5278 User Manual 7 5 TK AP Function as shown below Le Refresh TK Data Lo Close the TK AP and Debug Mode EIS este TERT UP DET PUT PETI DEI T LIRE A PETI ROLL dylu SS eer UTR I i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i 2 2M i i 223 2 1 i ZA 2 M 225 i i i i i i i i i i i i i i i i i i i i i i i i UM T Link EV5274 5278 E 25 Rev 0 92 2015 09 03 lt ik T Link EV5274 5278 User Manual 8 How to use LCD Application The LCD Application can edit and work in Debug Mode user can use application to simulator LCD Module please refer to UM EV22 52XX LCDAP SV090 User Manual for more information 8 1 Click on Option for Target button in the main menu as shown below File Edit View Project Flash Debug Peripherals Tools SVCS Window Help a ER Pa m Pa P usui f TEST
16. el UM T Link EV5274 5278 E 16 Rev 0 92 2015 09 03 ik T Link EV5274 5278 User Manual 4 17 FRCF Fast Internal RC settings Click on Option button after the Overwrite FRCF is checked the user can adjustment 32 frequency levels The default is 7 3 Mhz Flash Download Setup V1 1 9 P General Je CD Online check Device TM52F5278 E Download Function N Option Reset Option Make tenx M Program Fla Verify Flash Option Number 000000 iv Dpnt Show ICE Messag Item Description Smart Option ww 1 H 01 WDTE 0 7 6 02 FACF When CLKPSC 3 a 01 03 PRGT 1 7 04 XRSTEQ1 6 3 05 LVR 1 5 4 06 VCCFLT 1 3 04 XRSTE 1 6 Disable 07 PWRSAV 1 2 eee 08 MVCLOCK 1 1 05 LYR 1 574 Lv Reset 2 9V 09 Address range of IAP 2 33 06 VCCFLT 1 3 Disable 07 PWRSAY 1 2 Not ny 08 MVCLOCK 1 1 Movc Unlock 09 Address range of IAP 2 370 use Cancel 0 UM T Link EV5274_5278_E 17 Rev 0 92 2015 09 03 lt i T Link EV5274 5278 User Manual 4 18 Click on OK to return to Flash Download Setup window and then click on OK to return to Utilities window this all new project configuration is complete and click on OK to exit the Option for Target window the user can start programming now Note To change chip model user
17. etup click Next Tenx DLL Modify List 72 Version 1 1 9 2 on 2014 09 18 2014 09 18 Add and modify list 1 Modify CFGW check in TM52P5216 TM52P5214 2 Modify TM52P5214 5216 Download to flash error 71 Version 1 1 9 1 on 2014 09 17 2014 09 17 Add and modify list 1 Update t51 cdb 0x36 gt 0x3B 2 Modify parameters in Touch key AP f dAn ar ar Select Destination Location Where should tenx F518L51 series be installed A Setup will install tenx F518L51 series into the following folder To continue click Next If you would like to select a different folder click Browse Browse At least 2 7 MB of free disk space is required Back UM T Link EV5274 5278 E Rev 0 92 2015 09 03 m 4 4 Click Install Setup tenx F51 T ux Ready to Install T Link EV5274 5278 User Manual Setup is now ready to begin installing tenx F518L51 series on your computer Click Install to continue with the installation or dick Back if you want to review or change any settings Destination location C Weil Completing the tenx F51 amp L51 series Setup Wizard Setup has finished installing tenx F518L51 series on your computer The application may be launched by selecting the installed icons Click Finish to exit Setup UM T Link EV5274 5278 E Rev 0 92 2015 09 03 A lt gt i T Link EV5274 5278 User Manual V 4 6 Connect T Link EV5
18. g 2 WR h O Step Over Fio 3 Step Out Ctrl F11 L r 9 Run to Cursor Line 10 BI 1 5 NOISE PROCESS amu Delay CS Simu Delay s spi_routirjes h Bean MU ICS NOISE PROCESS s reg320 h TaWlsmnv23 AN i a tx37xxreg h 8 t3710red h Enable Disable Breakpoint Ctrl lsTouchScan lt l d Ls TYPEDEE bill tl FouchSetupe s touchsetub h gt Disable All Breakpoints intrins h e Kill All Breakpoints Ctrl gt Shift amp App c ISR c O5 Support FUxF8 5 div SPL Routines c Execution Profiling gt TouchSetup c s touchcomm h i E typedef h Inline Assembly E A TouchScan c Function Editor Open Ini File mu TF Yy a NN a 8 fe Project Display Touch Key AP and Run checksum is OxC145 Load D TKV3 TX3710_ V3 ScanCalBufl double click or F2 to add gt 5 Show Next Statement Insert Remove Breakpoint F9 IC TYPE Memory Map OK dw3 15 ScanCalBuf1 ASM ASSIGN BreakDisable BreakEnable BreakKill g Call Stack del Watch 1 E tenx F8051 Driver t1 0 00000000 sec 2 verify j amp ision3 Bile Edit View Project Debug Flash Petipherals Tools SVCS Window Help SES SBE OSH RU yg Jani gt 2 o amp F m RO e poet P Interrupt C 08E6 10 i INTO IEO C 0009 d interrupt 7 using 2 Serial Timer I2C Interface CS NOISE PROCESS u Delay PWM Unit S Simu Delay
19. gure 2 1 is T Link EV5274 5278 development board the left portion is called EV5274 5278 Board and the right portion is called T Link ICE Board to connect PC to use the user can simulate TM52F5274 74B 78 78B through this development board please refer to TM52F5274 74B 78 78B datasheet in detail P12 SOP32 Extended Connector Reset Button ICE Chip Main Chip T Link ICE Board U2 1 g CO EUS274 5278 UCE PONER P13 SOP32 Extended Connector USB Connector P6 External Power P4 EXT T Link Power SW P11 Internal Power SW Figure 2 1 T Link EV5274 5278 Board Target System PCB F5274 74B 78 78B UM T Link EV5274_5278_E 4 Rev 0 92 2015 09 03 i T Link EV5274 5278 User Manual 3 T Link EV5274 5278 Hardware Description 3 1 Power Setting e P Connect to external power EV5274 5278 Board e P4 Internal or external power source selection EV5274 5278 Board e P11 Internal power selection T Link Board MCU Power PH Pre m _ USB or 3 3V EXT Power 3 2 USB Connecter e P3 Mini USB connector to PC T Link Board 3 3 Reset Button e Reset Reset Button EV5274 5278 Board 3 4 External Power Connecter e P6 External VCC connecter EV5274 5278 Board e P5 External GND connecter EV5274 5278 Board 3 5 MCU External Frequency FXT SXT e crystal FXT 1 8M SXT 32 768K EV5274 5278 Board e C9 matching capacitor EV5274 5278 Board e CIO matching capaci
20. me of Executable TEST Create Executable TEST Debug Information Z Browse Information V Create HEX File HEX Format HEX 80 Create Batch File Create Library NTEST LIB UM T Link EV5274 5278 E 13 Rev 0 92 2015 09 03 ik T Link EV5274 5278 User Manual 4 12 BL51 Locate dialog box settings Unchecked Use Memory Layout from Target Dialog in BL51 Locate option and fill in Code amp Xdata Range Note The chip code available range has divided into download mode and debug mode please refer to Note 2 Options for Target Target Device Target Owfut Listing User C51 A51 PL51 Locate Misc Debug Utilities Juse Memory Layout from Target Dialog Code Range 0x00 0x32 Qx3 0x0cff 0x 1000 0 fd Space Base egments Xdata Range Oxf DO Oxffff Idata Stack Linker TO TEST control RAMSIZE 256 string Note 2 TM52F5274 74B 78 78B EV5274 5278 Code Range area Program ROM Code Range XRAM Range Chip Model LORD D Download Mode 95 Debug Mode TM52F5274 74B 78 78B 00 0x3 gt 0X00 0x32 0x3b Ox0cff 0xff00 0xffff EV5274 5278 i 0x1000 0x1ffd UM T Link EV5274_5278_E 14 Rev 0 92 2015 09 03 lt ik T Link EV5274 5278 User Manual V 4 13 Debug dialog box settings Click on Use option and then select tenx F8051 Driver as shown below Options for Target Target 1 C Use Simulator Settings
21. ow up as shown below EE LCD Editor File Edit aAA e El er c system 2458 Y 108 TM52F2280 UM T Link EV5274_5278_E 27 Rev 0 92 2015 09 03 i T Link EV5274 5278 User Manual 9 LVR Setting Notes System clock LVR Options Minimum F5264B F2280B Source Frequency 1 0 F5268B F2284B F5288B F5274B F2230B F5278B F2234B 2 9V 2 9V FRC I 7 3 MHz 2 9V 2 3V 2 3V FRC 2 3 7 MHz 1 9V 1 9V 1 8V FRC 4 1 8 MHz FRC 8 0 9 MHz Note Please refer to TM52XXXX 02SV11 AP Note for more information UM T Link EV5274_5278_E 28 Rev 0 92 2015 09 03 Re ik T Link EV5274 5278 User Manual y 10 O amp A Q1 How to program a user file on TWR98 Writer A1 The User must make tenx file to program in Utilities dialog box settings or enter Download Mode and Debug Mode as shown below Hash Download Setup V1 3 1 2 General No LCD Device Online check Download Function DONE Erase Flash Option Reset Option Make tenx Y Program Flash jw Verify Flash Option Number hex 00420000 Dont Show ICE Message Dont Show AP Message Overwrite Item Description Selected Function FIRC When CLKPSC 11 and select 0 PROT 1 7 Mot Protected 3 ARSTE 1 6 Pin Reset Enable 1 MOVCLOCK 1 5 MOVC Unlock 5 WDTE 1 4 WDT Disable LVRE 1 1 Low Voltage Reset Enable Address range of IAP 2 3 0 Mo use
22. rogram Flash Iv Verify Flash Option Number hex 5F 1000 i Dont Show ICE Message Don t Show Message Overwrite FRCF Item Description _ Selected Function WDTE 0 7 6 WDT Disable FRCF When CLKPSC 3 and select 31 PROT 1 7 Not Protected XRSTE 1 6 Disable LVR 1 5 4 LV Reset 2 3V VCCFLT 1 3 Disable PWRSAV 1 2 Not MVCLOCK 1 1 MOVC Unlock Address range of IAP 2 3 0 No use 4 16 Click on Option button and the Smart Option will be show up about the option configuration please refer to TM52F5274 74B 78 78B datasheet Flash Download Setup VL 1 93 D Online check 1 Download Function M Erase Flash Option Reset Option Make tenx v Program Flash Verify Flash Opjion Number hex 000000 Device Dont Show ICE Mel Smart Option um 01 WDTE 0 776 WDT Disable m Kem Description 01 WDTE 0 7 6 02 FRCF When CLKPSC 3 and select ZF range ICE Operating frequency maybe out of range 0 40 lo 2 FRCF When CLKA 03 PROT 1 7 Not Protected gt 08 PROT 1 7 04 EE 04 XRSTE 1 6 Disable gt 05 VR 1 5 4 05 LYR 1 54 Lv Reset 2 9V 06 VCCFLT 1 3 g Disabe gt 07 PWRSAV 1 2 oe VCCFLT 1 3 Disable 08 MVCLOCK 1 1 07 PWRSAV 1 2 Not 09 Address range ofM gg MVCLOCK 1 1 MOVC Unlock 09 Address range of IAP 2 370 No use Canc
23. tor EV5274 5278 Board UM T Link EV5274 5278 E 5 Rev 0 92 2015 09 03 f gt T Link EV5274 5278 User Manual 3 6 PIN Assignment amp Description EV5274 5278 Board contains TM52F5274 74B 78 78B main chip packaged 1s SOP 32 pin as shown below table for the pin assignment instructions VSS 4 YVYppRSTaINT2p37 20 TIWSEG7MISOPL7 6 2 CLD SEGMADMPLS 8 COMWO3G 24 TKMSEGH AD7 PWMIA PLS 9 SEGOPO 25 TKMSEGI ADVPWMOAPI2 vcc UM T Link EV5274_5278_E 6 Rev 0 92 2015 09 03 T Link EV5274 5278 User Manual 4 How to start using T Link EV5274 5278 simulation First Install the tenx TM52DII IDE file to follow steps to complete the installation the IDE amp Keil C version must be installed in the same path the default path is CA Keil 4 1 Select Keil C version click Next gt s Setup teme PS18151 sere Welcome to the tenx F51 amp L51 series Setup Wizard This will install tenx F518L51 series version v1 3 1 2 on your computer It is recommended that you close all other applications before continuing Click Next to continue or Cancel to exit Setup UM T Link EV5274 5278 E 7 Rev 0 92 2015 09 03 T Link EV5274 5278 User Manual 4 2 And then click Next gt Please read the following important information before continuing When you are ready to continue with S

Download Pdf Manuals

image

Related Search

Related Contents

VANDEX BB 75  Beschreibung  User Manual  Multiquip Drums MT-85H User's Manual      User Manual - Western Avionics Ltd    Valueline VLCP73900B power cable    

Copyright © All rights reserved.
Failed to retrieve file