Home
TICE99IDE User Manual
Contents
1. 4 E DUC M 9 tm57pal 20100930 inc 126 y 67 GOTO 1 10 68 ORG OL 69 1 20 ORG o Clear Bookmarks 71 72 73 INTERRUPT 74 VBUF 75 STATUS v 4 b 47 8 Insert Connecting TM57FLA80 Figure 4 18 Bookmarks 53 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual 4 6 Searching With the search function programmer can quickly search keywords in the program code area Searching function helps user coding more efficiently Use searching function to find out keywords to replace or modify Short cut which is a fast way to open find window is Ctrl F Once there is a string in the search edit you can press F3 to find out next one or Ctrl F3 to search previous one For shortcut key combination settings please refer to the menu ToolslOptions page of the Key Assignment 4 6 1 Find Find can search a specified string or words in current active editor page You have to key in a search string let IDE search it for you The caret will jump to corresponding line if it finds the search string If there is no any match string the end of file or begin of file dialog will be shown Once you have a search string you can press F3 or Ctrl F3 to search next or previous matc
2. 35 36 251 IDE User ER ER 36 29 2 C Compiler User LN 36 2 8 3 Assembler User Eu EU 36 SE 36 2 08 25 Update 0 Li bb 36 OOM AE 37 Dul ET BE I m ui 38 BAG CALE a ani 38 100071 0 BES CCC 42 1017010 ilm nn PV 44 EE ER a re E PUE EORR EECIESHEN REI PUTES NEUE SEDIT SESEERUNLURS A 49 4 TIE ee VEH STENT 53 eg DINO EE 54 4 6 1 Find 54 4 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual 10 FUG WY ee OT 29 2 0 Pind dad WT 57 OI E 58 bii siz gern fey s s i 58 1 budaq Download to ICE asma 60 GEET E Barana 0 777 E 7 700000 E E 62 4 5 Depus V LETULU n n 63 AD Switch Language nterface m 65 dl Lg in un uu 06 Gl Hex ING CONV Fin m 67 1 ll 69 5 Dope v 70 07 L URulr s r E 3 5 72 GAC ulu ni 73 M 74 CLLD EE ee 75 e er 76 Appendix A Meaning of LED on ICE 22 e ss 77 5 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual c_switch prj I nain El C Source Files c 21
3. 03 7 ROMPA 0000 0000 OO F Plane 2 bankl as 03 6 GBIT 0000 0000 OO m 03 5 RAMBA 0000 0000 OO 12 CHECK array 0 000000 03 4 TO 1 7 13 CHECEKCarray 1 000000 03 3 PD 0000 0000 OO D S man mem m 03 1 DCFLAG 0000 0000 OO i 03 0 CFLAG 0000 0000 OO z 04 770 FSR 0000 0000 01 z 05 670 PAD 01111111 7F 1227 z 06 770 PED 1111111 FF 255 D 70 ASA 0000 0000 OO xali E NEN nnnnnnnn nn Project Function Memory lx EE Hex Value FPlare Bank Used 53 Bytes 0035 Usage 412 D E FPlane Bank Remains 75 Bytes 0x004B Er DAbch_test20 2 Ee Global Var FPlane Banki Used 36 Bytes 00024 Usage 202 ee Auto Var FPlane Bank Remains 92 Bytes 0x005C PO DAbcb test E main Download To ICE Success i ex k Output search Result Figure 4 39 Help 69 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual 5 Debug ICE can simulate the status of chip via debug The registers of ICE will be shown on IDE which can be divided into memory registers ICE stack status and mnemonic code In the following we will describe in what situation using the appropriate debug function Single step Auto Single Step If you want to trace each source code to find out some problems then using Single Step Single step will run just one program counter step then
4. Edit Watch Add watch Inserk Watch Delete Watch watch TE Variable PEREU Watch ICE Status Stack Program Memory q var 06261 Value Figure 1 14 Watch 18 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information 1 11 ICE Status Stack UM TICE99IDE E User Manual Stack page shows the subroutine or program information when they have been called Whenever you call a subroutine or program the next address of execution point will be added to the stack record before execute the callee When callee has been return the address will be pop up from the stack Also it provides the information about ICE status such as W Working register PC Program Counter stack over flow and stack under flow PC Watch ICE Register Status 0 Stack Over Flow 0 Stack Under Flow ICE Status Stack 0 Program Memory Figure 1 15 ICE Status Stack Stack Level aad In the following example of C code when the main program calls subroutine subFoo the program counter i e next execution address after subFoo 0x20 will be pushed into the stack here StackO address is 0x0020 When subFoo is finished and returns to main it will pop up the address from the stack e Stack0 address 0x0020 to facilitate the implementation of the program to continue down QA pan c CO m mk 0x07 3 maini 4 zc int valuel nt value
5. Figure 4 29 Build and Download to ICE 2 61 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual 4 7 3 Make Library Libraries are no different than regular source files All they do is to break the code up into smaller parts so that they can be maintained better and easier to read TICE99IDE provides a tool to make a library easily User can link o file to build a customized library lib First the user needs to select an existing or input a new library file name at the field of the Library File Name And then press Add to select o file or press Delete to delete selected o file When pressing Add or Delete library will prompt message and update immediately TICES9IDE Beta Version V1 0 3 Build 4 Test Ioj File Edit View Project Build Debug Tools Help ales El amp Build ee Build and Download to ICE F Plane 1 bank 0 Compile File 22 00 OE FF 10 00 r FF FF FF 181 80 on 00 20 00 2 4 Configuration Make Library F Plane 2 bank1 H Plane z 13 e FF OF 03 00 00 00 00 14 15 1 l10 7F 00 00 00 00 3F 00 EM 16100 34 00 OO DI 4 00 00 s k EEPRUM FPlane Bank Used 53 Bytes 0x0035 Usage 412 FPlane Dank Remains 75 Bytes 0 004 FPlane Bank Used 36 Bytes 020024 Usage 28x FPlane Bank Remains 92 Bytes 0 005 7 Ge X BOO C a
6. beh Test writing Config Value 01777 main 000700 Downloading Memory occupied information for C project E array 002570034 Device Reset Success l BBBBSEC 0025 0028 EE EE EE se FPlane size 256 00100 l 2459190 002937002 FPlane Dark Used 53 Bytes 020035 Usage 412 2 UD470A03 020 0030 FPlane BankO Remains 75 Bytes 0 0048 Ls 3 06247539 003170034 KB M FAUNE M QE bei Tb 00240024 FPlane Dank Remains 52 Bytes Ox005 C FFlane Bank Used 36 Bytes 0 0024 Usage 2942 eee See See See Se amur See wll all mer ui information please check Heri Abe tes 12 12 dr Durun MCCS p an Result C Variables 53M F_F D bcb test amp 2012 12 12 HaSU DEBLIGFILES2012 12 17 Ha8l mem coo oH como Figure 1 11 Output Detail memory occupied information please check Ple D bch Eestiz012 12 17 FlasmEBLKGFILEY2012 12 17 Hast mem A 15 Preliminary tenx technology inc Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual 1 8 Search result You can see the result of search in search result panel There are two kinds of search search current open files and search files in current project You can double click the result line to jump to the line of corresponding source code Find Find in Project C tm5 FLASOLCD ed asm 23 movlw000001 DE a C tm5 FLASOLCD Icd asm 24
7. C Source Files c 2 maint 11111111 FF D S amp utaTesting 2012 12 3 1 11111111 FF z C Header Files bh long arraylmaxle4f xl x dh 11111111 FE Assembly Files T aam Include Files mc j Library Files lib a for i jan Test Files bt LCD Files led 1 Boon Other Files CHECK array sr CHECE array LHECK array D SZSCHECEK arrav unzigned char 1i 03 7 ROMPA 1000 0000 80 03 6 GBIT 0100 0000 40 03 5 RAMBA 0010 0000 20 000000 XX 0001 0000 10 1 00000 7 0000 1000 06 l i P 03 2 2FLAG 0000 01 00 04 e 031 DCFLAG 0000 001 0 02 03 0 CFLAG 0000 0001 01 z 04 7 FSH 1111 1111 FF z 05 670 PAD 0111 1111 7F z Up PED 1111 1111 FF z OF 7 0 ASA 1111 1111 FF g 2 Poi 1nnnnnnn an 0 1 d 3 l sch sch sch sch sesch esch 1 ra tn Compiling l Var name D k utolesbngh 20T 12 14 erorArray_Folane_Shift_OO000000 c Errar s Warning s Linking LINK Assignment the start address of RAM variable iz 0224 Errors Warning s Generating OB MTP OTPAHES file Done Code Size 88 Wordis Generating 51 OTP HEX File Check Sum 1604 generating CB HIE OTP HES file Figure 4 27 Build Project 2 59 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual 4 7 2 Build and Dow
8. CHECEK array O 000000 CHECE array 1 000000 PO DZSZOCHECEK arrav 2 00000 0 T CHECE array 3 000000 7 031 DCFLAG 03 0 CFLAG 4 7 FSR 05 670 PAD UM TICE99IDE E User Manual 11111111 THAT 11111111 1000 0000 0100 0000 0010 0000 0001 0000 0000 1000 0000 0100 0000 OUT 0000 0001 1111 1111 0111 1111 FF FF FF 80 40 20 10 08 04 02 01 FF 7F onu e 0x319000 C l sch sch l sch ec sch sesch lo xi 06 7 PED 1111 1111 FF H DUUORSR 1111 1111 FF E 02 innnnnnn op D k utoestmng 2012 12 14 erorsmray Fplane Shift 00000000 4 aray max 0s1 0 0220 012 12 14 Fplane Shift 00000000 c 10 OxFF D V utolestmg AUT 4 12 14 erorsArray Folane Shift 00000000 202 CHECK arrag 0 0000002 D SA amp utaTesting 2012 12 14 emork mau Fplane Shift 00000000 215 CHECK arapi OOU000F D SAutoTesting2012 12 14 eror ray Fplane Shift OO000000 c 14 CHECE arrav 2 000000 D A amp utaTesting 2012 12 14 Fplane Shift 00000000 2015 CHECK arapi 000000F Figure 4 24 Find and Replace 1 Text to Find Text to Replace Options Direction Forward C Backward Case Sensitive Match Whole Word Prompt on Replace Scope Ce Golbal C Selected Text Origin From Cursor C Entire Scope Replace Al Canc
9. EV2786B TMS7PEISA 1K 14 OTP 48 12 max TM57PE15AS IK 14 OTP 48 12 max TMS7REI2A 1K 14 MASK 48 12 max EV2787 TM57PE40 1 14 OTP 48 12 max m V EV2788 TM57ME20 2K 14 MTP 96 18 max TM57P11 1K 14 OTP 48 6 max 57 10 IK 14 OTP 64 14 max 12bit 6 TMS7PAI0A TK 14 OTP 64 14 max l2bit 6 57 11 1K 14 OTP 48 6 max 5 57 1 1K 14 OTP 48 6 max TMS7PEI2 1 14 48 12 max TMS7FA40 4 14 Flash 184 18 max 12bit 8 vagos TMS7FA40A 4K 14 Flash 184 18 max 12bit 8 TMS7PA20 2K 14 OTP 184 18 max 12bit 8 TMS7PA40 4 14 OTP 184 180 12bit 8 EV2796 TM57FLA80 8K 14 Flash 368 45 l2bit 6 V Preliminary Table 4 1 Supported IC list of TICE99 IDE 40 tenx technology inc Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual Indicate where the project is located using browse button Select Directory Desktop E Documents 2 aly Computer H 315 Floppy A s Local Disk C ka Local Disk D 3 DVD Drive E H O Shared Documents E 4 jianzhen s Documents 26 a My Network Places Z scan TICE99 PICs m Une x E F E EHAB Figure 4 3 Create a New Project 3 If you finish the needed information for the project then push the OK button New project will be created El C Source Files c Z C Header Files bh Assembly
10. 000000 000006 1 1 adcdata h 0010h 000000 000006 1 1900 60 movlw 0x60 Table ROM Address 1 adcdata 0011 000001 000007 1 0080 20 movwf pointer pointer Table ROM 1 adcsel 0011h 000001 000008 1 1900 2 movlw 0x02 1 pdd 0012h 111111 e ooooosr 1 0700 addwt pointer 0 Read Pointer 42 zd 1 ped 0013h E OOO000 r 1 2000 60 call Table ROM1 sl 4 ik D tenx technology inc Rev 1 1 2013 01 28 20 Preliminary Advance Information 1 13 Editor UM TICE99IDE E User Manual Editor provides users with a source code and editor area the C program file ASM program file or header file will be input file to the editor led asm export main tx2708 lcd WR io OO M Oy m CO fo I7 refer to program staa insert interrupt cod goto INTVECT call main by Prog include tz2708 lcdpin lcdetrl d d count 1 count 2 lcd data 1 lcd data 2 1 org Hain goto org 22 start Figure 1 17 Editor Preliminary 21 tenx technology inc Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual 1 14 Status Bar Status bar shows information about editor debugger and ICE type The editor information is about caret position and editor mode which is insert or overwrite mode It also shows debug mode while debugging the ICE connecting status and chip type mu Insert Single Step ES Connecting d TEL An Figure 1 18 Status Bar 22 tenx
11. Ox0024 Usage 28 E Auto Var FPlane Bank Remains SZ Bytes 0005C p DAbcb test Detail memon occupied information please check file D Vbch rtests2012 12 17 flaS DEBLIBFILES Er main mew Figure 4 32 Debug function with Project 63 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual cd asm 13 d count 1 l4 d count 2 15 lcd data 1 16 124 data 2 17 org 13 z 5 org ez start 23 mowvlw 000001 24 novwr eiketr 25 26 aoviv 1 211 27 movvr lcdpin 28 29 movlw 011111 30 movur lcdctf 3l 32 33 34 b Figure 4 33 Debug with Project Break point 64 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information 4 9 Switch Language Interface UM TICE99IDE E User Manual TICE99IDE now provides three kinds of language interface They are English Simplified Chinese and Traditional Chinese Click ToolslLanguage to switch the language if needed TICESSIDE Beta Version V1 0 3 Build 4 Test File Edit View Project Build Debug Tools Help paGlssu0 m 12 272 fal Simplified Chinese a Traditional Chinese F Plane 1 bankl FPlane Bank Used 53 Bytes 0 005351 Usage 412 FPlane Bank Remains 75 Bytes O00046 FPlane Bank Used 36 Bytes 020024 Usage 28 FPlane Bank Remains 82 Bytes 0 005C Download To ILE Success Search Result x OTP Creater TM57PE11 Convert Ta TMB7PE
12. Plane Watch for C code ICE Status stack Program memory and toolbars Those are helpful for programmer to get information more clearly 2 3 1 Project Manager Function Viewer Memory Window Project Manager Function Viewer and Memory are in the same panel To switch which tab page which you want to see click the menu of project manager function viewer or memory With the Project Manager you can easily visualize how all your project files are related Also you can select any file to display right click and perform various project management tasks such as adding or removing files Function Viewer lists all function declarations in all C files Memory Window contains the content for F Planes R Plane and EEPROM 2 3 2 Registers Viewer Registers viewer contains two tab pages One is F Plane and the other is R Plane You can switch tab to see the contents If registers viewer 1s disappeared click the menu item ViewlRegisters Viewer to show the panel The contents of register viewer will be shown when source code has been built successfully and the output is downloaded to ICE automatically 2 3 3 Watch ICE Status Stack Program Memory Watch will list C variables which user selected from C Variable tab or drag from source code editor ICE Status Stack displays ICE information including Working register Program Counter PC stack over flow stack under flow and contents of stack Program Memory shows up the list of mac
13. movwrclkctr ena e xi C tm5 FLAS0LCD led asm 26 moviw1111111b 5 uu C tm5 FLASOLCD Sled as 24 movwrledpin 28pir where i C tm5 FLASOLCD Sled asm 28 movlw01111111b Options C tm5 FLAS80LCD Sled asm 30 movwerledctrl 7 Case Sensitive Files in Project C tm5 FLASOLCD Sled asm 35 movlw11111111b Match whole Word 7 Opened Files C tm57 FLA80LCD Icd asm 35 movweledctrl CA keck ZE AON CIN 1 2001 aal HHH nn Cancel Figure 1 12 Search 16 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual 1 9 Variables Variables list all the variables in program including C and ASM variables In ASM variable you can double click the window to select what variables that you want to keep If you want to see all variables after you selected just press the button of Add Range Pane Ip Li bch testfla8l testi Global var DAhbch testflaB key O24 0024 struct Bnkl FPlane L A 0 0024 0 BYTE Bnkl FFlane C b 1 0024 1 BYTE Bnk FFlane L 1 0024 2 BYTE Bnk FFlane C d 10 O024 47 5 BYTE BEnk FFlane C B 1 0024 675 BYTE BEnk FFlane C 0 024 7 BYTE BEnk FPlane C Auto Var n DAbeb testifla8 D C Variables 45M F Plane 1 ASM F Plane 2 45M H Plane 00 1 1 md 0000 00000000 2 1 timer t lh 00000007 01 1 1 pc 0002
14. 00000007 1 1 1 status 0005 00000000 00 1 isr 0004 00000000 00 1 pad t 11111111 FF 255 1 pbd 0006 11111111 FF 255 1 0007 00000000 00 1 intFl 0009 00000000 00 1 timer nAh 11101010 EA 234 1 Hire le 11111110 rr SSM F Plane 2 ASM H Plane Remove Remove All i Add Al Figure 1 13 Variables 17 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual 1 10 Watch The following 3 sections will help you to trace your code while debugging Watch will show the variables which you want to trace Especially when you want to monitor the value of a variable or expression while you debug your code add a watch to the Watch List Window The Watch List window displays the current value of the watch expression based on the scope of the execution point Each time your program is executed the debugger evaluates all the items listed in the Watch List Window and updates their displayed values You can set a watch expression in the following ways The easiest way to set a watch is using mouse to drag a term from the Code editor e Right click Watch List Window IDE will pop up a watch properties dialog box and users can choose the maintenance action 1 Edit Watch modify watch 2 Add Watch add a watch 3 Insert Watch insert a watch above the line of focused line 4 Delete Watch delete a watch of focused line
15. 140 0 1 1 0 adjust of scale type MAC SHL IMMED 1 1 1 3 pop 1 _istkptr 0 flags 1 DT 1001 id 2 i MOVLU R Var 1001 1 idel 1 stkptr ADDWF 1 0 340C addaddr static dbg line D bcb test 20130107 fla80 Pointer Set Array RPLANE MAC STORE opl op2 2 1 L0003 RET MAC STORE PTRtoMEM 1 0 2 0 2 0 1 dbg line GOTO L0003 endproc dbg hg D Xbhcb ts 0 2010 a8 0 Pointer Set Array RPLANE 00000 L0003 MAC STORE f1 PARAM 1 stkptr 1 RET dbg line endproc Note although setting Reserved Memory Size for stkptr can avoid overwriting the data of STKPTR but it will consume more RAM memory to backup the data of STKPTR and more ROM program memory to save and restore the content of STKPTR within the function We strongly recommend reducing programming complexity instead of setting Reserved Memory Size for stkptr Preliminary 47 tenx technology inc Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual TM57 Setting E x Configuration Directories EV Options Calculate IRCH GC Main Board Supply Voltage Ge AM C 5V Best IRCF Default Figure 4 11 Project Setting 4 48 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual 4 4 Editor Options Editor setting helps programmer to change the text font style and text size for editor Users can press ToolslOptions t
16. 21 with LCD TME7ME20 1 Select a chip TMB MLAU 0 20 11 8 12 12 12 5 Project Mame Project Location Project Falder hd Create Project Folder 5 Determine create project folder or not Figure 4 2 Create a New Project 2 39 tenx technology inc Preliminary Rev 1 1 2013 01 28 UM TICE99IDE E User Manual Advance Information When selecting the target chip type if we click on the chip the left side of dialog will display the hint of chip related reference information The following table is the supported IC list of TICE99 IDE EVBoard Chip ROM RAM bytes Pin ADC LCD 5 support TMU3130 8K 14 Flash 16058 1288 48 EV1697 TMU3132 4 14 160 84128 4 20 EV1694 TMU3131 6 14 MTP 16078 128 4 28 max E TMS7FE80 8 14 Flash 160 84128 8 48 57 11 1K 14 OTP 48 6 max E ev ygo TMS7PEIBS IK 14 OTP 48 6 max 57 11 1K 14 OTP 48 6 max S TMS7PEIICS 1 14 OTP 48 6 max EV2781 TM57MA21 2K 14 MTP 184 18 max 12bit 11 EV2785 TM57ML40 4K 14 MTP 368 34 max V 8 28 V TMS7PEIO 1 14 OTP 48 16 max E 57 12 IK 14 OTP 48 12 max E 7 2 IK 14 OTP 48 12 max 57 12 1K 14 OTP 48 12 max TMS7REI2 1K 14 MASK 48 12 max TP6717 1K 14 OTP 48 16 max TMS7PEIS 1 14 48 12 max
17. 4 Bn He E 5777 E d 2 saiat 00 770 INDF 11111111 FF 255 VAL estin errorvarra ane 1 C Header Fies h aa long array max 0x10 0x20 0x30 0x40 ee Vuen R Assembly Files em 6 unsigned char i E 03 1577 7 Li 037 10000000 80 1 Library Files lib 8 for i 0 i 4 i Text Files txt 9 03 6 GBIT 01000000 40 1 LCD Files led 10 arrayti xFE 03 5 RAMBA 0010 0000 20 1 Other Files gt V cHECK array 0 000000FFE 034 TO 00010000 10 1 13 CHECK array 1 000000FFH 03 3 PD 0000 1000 08 1 E po oomo OK le 031DCFLAG 0000 0010 02 1 03 0 CFLAG 0000 0001 01 1 04 770 FSR 11111111 FF 255 05 670 PAD 0111 1111 76 127 06 70 PBD 1111 1111 FF 255 07 770 RSR 11111111 FF 255 E 08 i O8 7PWMOIE 10000000 80 1 08 6 TIM2IE 0100 0000 40 1 08 5 TIMTIE 0010 0000 20 1 08 4 TIMOIE 0001 0000 10 1 08 3 WKTIE 0000 1000 08 1 08 2xINT2E 0000 0100 04 1 081XxINTIE 0000 0010 02 1 x F Plane x Addr PC Range Search Result C Variables ASM E Plane Bank ASM E Plane Bank ASM P Plane ICE Status Stack Program Memory Figure 4 7 Open an Existed Project 3 43 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual 4 3 Project Setting When you want to modify configuration parameters for ICE you can press ProjectlProject SettinglConfiguration to change value of parameters The type of setting i
18. 7 nt var s q Valuel lt 24 10 valuez bi dl 1 14 1 55 15 valuez 2i4i 15 00001 22 2007 1921 MovL il void subFoofint xj 2 xl return m mmm wm mmm wm oe Preliminary 19 Stack Level CE OMM OMM Glock 1080 Stack 0000 Stack 0000 Stack4 0000 Stackhb 0000 1 0000 Stack 0000 tenx technology inc Rev 1 1 2013 01 28 Advance Information 1 12 Program Memory UM TICE99IDE E User Manual Program memory will list the content of ROM code While compiling process is success program memory will list program counter machine code mnemonic code and the parameter of operation code Program counter 3001 2010 1 Machine Code Paramete Mnemonic code GOTO CALL CLEF CLEF CLEF CLEF 01 0 10 m K Ae L S d 2 xz AE GOTO di MOM Wy i 2 SE MOVE Wy URAL MOV WF IN P Watch ICE Status Stack Proqram Memory Figure 1 16 Program Memory But if there just has one asm file in assembly project program memory will show the content of list file as below TICE991DE Beta Version 1 0 3 Build 4 Test Bl x File Edit View Project Build Debug Tools Help BaGicSguHO m mgakceg mdga3 e txxao0 000C HFP xi main asm ixj F Plane 1 bank oo 01 01 00 00 FF FF ona include 5 te
19. Beta Version 1 0 3 Build 4 C Test R x File Edit View Project Build Debug Tools Help po e pn ec mm EN Hi Run to Cursor Ctrl F4 x x 0 0 0101 amp EJ B3 Bh A Go FE Array Folane_ Shift 00000000 El F Plane 1 bank is A Free Run Chrl F5 a 00 770 INDF 0000 0000 00 D Single Step Fe e ml DO 00 OE FF a 1 770 TIMERO 0010 0101 25 E 2 Auto Single Step Che 10 10 0 D2 PC 0001 1110 1E 30 t l 00 07 FF FF FF 3F Cry step Over E alan nn mn 20 00 0D CC a Er 03 7 O i 027 R MPA 0000 0000 OD s sis 03 6 GBIT 0000 0000 oo SC 7 Reset ICE F2 ex ed a D35RAMBA 0000 0000 of Initialize ICE Board Ctrl F s Bf 0000 mimi oc SE eent oan m4 mp rray i 03 E 7F FF oF 3 mp o0 SE Insert Remove Break Point Crlrp 27121 000000 gt 5 danaa w Remove all Break Point CHrI E 3 000000 l 10172 001 00 00100 53F RR pues 03 1 DCFLAG 0000 0000 oo 18 00 34 00 00 00 00 t Debug with List File o D3O0CFLAG 0000 0000 oo we Debug with Source File 04 770FSR 0000 0000 oo EEPROM 05 670 PAD 01111111 76 127 06 770 PBD 11111111 FF 255 07 7 0 RSA 0000 0000 oo Er n8 annn nnnn Hex Value FPlane Bank Used 53 Bytes 00035 Usage 412 FPlane Bank Remains 75 Bytes 00046 E D bchb tested z EEN Global Var FPlane Bank Used 35 Bytes
20. Ground Color Bald 7 Select Number Italic Preprocessor Back Ground Color 3pace Se Underline String Symbol Strike Out autuimpurt on export main refer to program start ingert interrupt code here if need goto call main by Program Start library org 1 can fixed main main mowvilxr 0x maini mowwt xz mairt le 1 Default Figure 4 15 Editor Setting 4 Editor Options Debug Options Editor Keyword For ACM Editor Keyword For E Key Assignments 7 Fore Ground Color Bold Select Comment Direc Italic Back Ground Color Se t Se z Underline Strike Out include lt stdio h gt This is a sample file for Color setting r you can see the result in this edit when you setting a feature int i 3j void maini d float f 3 123 printfi Thiz is a sample file for Color setting in narii Des i e dt idi Default Figure 4 16 Editor Setting 5 51 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual Options T File None Figure 4 17 Editor Setting 6 52 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual 4 5 Bookmarks It is used to look for a certain period of record among the dataset either to move from
21. Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual Li x Find Find in Project Text to Find Options Direction Forward C Backward Case Sensitive Match Whole Word Scope Golbal C Selected Text Origin From Cursor C Entire Scope Cancel Figure 4 20 Find 2 4 6 2 Find in Project Find in Project will find out all the match string in project or opened files and list the searching result in search result window User can double click one item in the list to go to the record line in the editor TICESSIDE Beta Version V1 0 3 404 Test Bi xi File Edit View Project Build Debug Tools Help E E Undo 2442 Cu Redo Ckri zl Sh copy Chr do Cut Chris 00 7 0 INDF 1111 1111 FF 258 FEL Paste Cirl 3 DLT UTIMERO 1111 1111 FF 255 on arra Mae US Delete R 2PC 11111111 FF 255 Lk Select All CtrH A 6 unsigned char i EE m n 03 7 R MPA 1000 0000 80 1 4 Find 7 036 BB T 0100 0000 40 1 ai SE 10 C D35RAMBA 1010 0000 20 1 Find Next F3 11 ee Find in Project 12 7 CHECKt arrayll 1 000000 515 0001 0000 10 1 ind in Praject 13 CHECK array 1 000000 D33PD 0000 1000 08 1 i Find and Replace Ctrl F 14 CHECK array 2 000000 i O92 7FLAG 0000 100 o4 1 Pf Go to CtrheG e e EE O31DCFLAG 0000
22. Version Check User can check new version via Update New Version Check If there is no any new version it will show the newest version window otherwise update the newer part of IDE 36 tenx technology inc Preliminary Rev 1 1 2013 01 28 UM TICE99IDE E User Manual Advance Information 3 Toolbar Toolbar collects the common usage of menu The toolbar can be divided into four parts they are File Edit Build and Debug e In File toolbar there are 6 buttons on it They are New File New Project Open File Open Project Save and Save All The functions are the same as File menu The second toolbar is Edit Most of functions in menu are listed in here including Undo Redo Copy Cut Paste Delete Find Find Previous Find Next Find in Project The last button of Edit toolbar is Find and Replace Then Build Rebuild Build and Download to ICE and Compile File is in the Build toolbar The last toolbar is Debug it includes Go Free Run Single Step Auto Single Step Pause Step Over Auto Step Over Run to Cursor Reset ICE Initial ICE Board Set Remove Break Point and Remove All Break Point 37 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual 4 Build a Project TICE99IDE provides C and inline assembly compiler it also provides pure assembly compiler TICE99IDE services two types of project t
23. a tool to do source code tracing and to find out where the problem is if it has bug in it In Tools you can switch the language interface dynamically QTP creater hex file converter and set the editor option In Help you can find out user manual including IDE C compiler and Assembler about information and update software File Edit View Heu k XE Unda Ckrla z oe Project Manager Open M Redo Ctrl Function Viewer E E Memory window E save Ba Copy Chr EH z EE Save As d Glut Ctrl x GQ Registers viewer Save Project Fe Paste tobrl Save Project As Watch BH ICE Status Stack E Save Al Lf Select All 5 E Program Memory E3 Close di Find c r Xy Close All d Find Previous Ctrl F3 20 1 Recent File d Find Next S ASM 2 Recent Project Find in Project ASM ES See cia Find and Replace Ctr F na Pi 3 Output P Go to Ctrl G A Find and Search Result LCD Editor Edit E Build Debug Figure 1 2 main menu 1 7 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual Project Build B New nud d B Remove Gj Exist Files Rebuild F11 Build and Download te ICE 10 uu Project Settings lo M MN VUL DRM MD Compile File F12 Configuration ki Release Make Library Figure 1 3 main menu 2 Debug To
24. and Debug When the item is checked the toolbar is visible Or you can uncheck it to hide the toolbar 27 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual 2 4 Project Project provides a centralized file management mechanism It performs various project management tasks such as opening adding or removing files from a project 2 4 1 Add New When programmer clicks this menu item ProjectlAddIlNew the IDE will create an empty document and Unit 1 n will be named to it This is one way to add file to project When you save the file it will show a save as dialog to let you save another filename for this file and the project manager will be changed too 2 4 2 Add Exist File The other way to add files to a project is adding an existed file You can click this item to choice the existed file and project manager will add the file you selected in project When you click this menu item ProjectlAddlExist Files IDE will open an open dialog to let you select the file you want to add in project 2 4 3 Remove There are two ways to remove files from the project 1 tap out on the ProjectlRemove menu item and IDE will pop up a project files window Figure 2 2 allows users to remove files or 2 within the tree of project management click the file item which will be removed then right click in the pop up menu select Remove menu item It only removes the specified files f
25. be used to design some patterns for reuse and save it as a file and whose default extended file name is pat The size range of pattern is from 2 by 2 to 32 by 32 First you have to decide the size of pattern Then use draw tool to place black dot on the pattern you decided in first step If you place in an error position you can use eraser to erase it Other draw tools are ellipse line rectangle and font Font is convenient tool to let you draw text more easily By the way there are five edit functions They are cut copy paste undo and redo After you have finished a pattern you can use Save to File to keep what you draw The pattern file is a serial image you can use Add Panel to Tail or Insert Panel to enrich your patterns or remove current pattern by Delete You can redefine the size of pattern by LCD pattern definition Developers can use scroll bar to change to the panel that you want to modify or use indicator to input a pattern number to jump to pattern directly Ge LCD Pattern Editor Unname File Edit Draw Pattern Setting Help sis Figure 6 2 LCD Pattern Editor 73 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual 6 2 LCD Attributes Once you create a pattern file you can use LCD Attributes window to load the pattern file Use Open File to load the pattern and it will be shown on patterns list Select a pattern and
26. consists of F planel F plane2 R plane and EEPROM areas It will show content of 4 memory areas while debugging The color of memory content depends on the current step and previous step If the execution result between two steps is different the color will be red otherwise the color is black The area will show when the memory space is not used When you are in debug mode and the ICE is stopped you can double click the memory address to modify the value of memory directly if the memory address is allowed to be modified Once you change the value the value will be updated immediately on the corresponding address in register F Plane 1 hankll F Plane 2 har k1 Figure 1 9 Memory 13 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information 1 6 Register UM TICE99IDE E User Manual Register panel shows the contents of registers Register address name and the value are listed in tree style in the window Similar to memory display it will be colored with red when content is changed otherwise the color of content is black when it is the same You can modify the register content during project debug process if the register is modifiable There are three types of presentations to show content of registers Clicking right mouse to show the popup menu you can select binary column hexadecimal column and value column to show You can choose what types of demonstration you want the register presen
27. it will stop All current statuses or register values are shown on IDE User can use this information to determine the problem If you want to press the button of single step many times another choice is using Auto Single Step to save the times you press the button Once you want to stop auto single step press Pause to stop it Step Over Auto Step Over If you do not want to step into a function call press Step Over Same as Auto Single Step you can use Auto Step Over instead of Step Over continually If you want to stop Auto Step Over press Pause Run to Cursor You can use Run to Cursor to pass the code that you have tested Reset ICE When you want to start debug from beginning Reset ICE will help you to achieve Go You can set break point to stop the ICE when you use Go function Using Insert or Remove Break Point to maintain the setting of break point function One thing should be mentioned is all EV has break point limitation now The maximum number of break point setting depends on the chip you selected Debug by source file debug by list file There are two ways to debug the code One is by source file the other 1s by list file One line in list file means one program counter However in C program one line in source will map a range of program counter If you want to trace source code more detail our suggestion is using list file Otherwise choose source file to debug Pick one
28. one record to another record of the sequential search for a specific keyword A bookmark marks a location in a dataset so that an application can easily return to that location quickly In Editor area user can right click to use the pop up menu and then use bookmarks function Each bookmark records the file name and line number and will show a bookmark icon Blat the left side of the editor Up to 10 bookmarks can be marked Using Goto Bookmarks to return to the location of the bookmark main asm 33 a 84 35 INPUT 36 PUR Kon 7 P 7 DEFAULT HIGH 37 PUR Indo PB DEFAULT HIGH 38 VBUS PB1 DEFAULT LOW ODD Eedo PB2 DEFAULT HIGH 40 HDD 5 pB3 DEFAULT HIGH 4l G OUT 9 43 MPUR Cut DEFAULT HIGH 44 PUR_ Si P i DEFAULT HIGH 45 PUR Paste 2 DEFAULT LOW 46 ODD P 3 DEFAULT HIGH B a HDD Delete P 4 DEFAULT HIGH 48 SAT PA5 DEFAULT LOW 49 Select All E Set Bookmarks 1 main asm 51 S ss ODDF Goto Bookmarks 2 main asm 47 54 HDDrp 7 S 55 3 TM57FL ASQ inc 11 s COUNTERF EQU 4 57 MAINENDF EQU 5 B FESETE EOU 6 5 main asm 1 59 60 COUNTER 6 main asm 1 61 COUNTER2S EQU or ez COUNTER38 EQU 12 63 COUNTERSS EQU 211 64 27 65
29. project When one file is main file there will be a selection icon in front of the file name which is shown in Figure 1 7 4 tmb57FLAS LCD on C Source Files C Header Files Es Assembly Files ww lcd asm EI Include Files tx2708 inc Library Files Text Files 2 LCD Files 2 08lcd LCD Other Files Add Exist File Remove Project Settings Set Main File Memory Project Figure 1 7 Project Manager 11 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual 1 4 Function Manager Function manager only supports c files in your project After you compile a project successfully the program administrator shall automatically list all the functions which are defined in all c files of the project You can double click the function prototype line it will jump to corresponding line of source code file when the file is opened or open it and jump to corresponding line if the file is not opened We now only support the word start with int char float double void and there s pointer version We will support user define structure in future version 4 void main void C Documents and Settir int loop void C Documents and Settings Function Project Figure 1 8 Function Manager 12 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual 1 5 Memory Memory panel
30. run one step according to the mnemonic code However source file will run one statement according to ASM or C file 33 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual 2 7 Tools In Tools you can switch language interface dynamically We provide three languages now they are English Simplified Chinese and Traditional Chinese You can decide what language interface you want to use and then select it The other function of Tools is Option In Option you can set text font and size for editor 2 7 1 Language English The language interface is switched to English 2 7 2 Language Simplified Chinese The language interface is switched to Simplified Chinese 2 7 3 Language Traditional Chinese The language interface is switched to Traditional Chinese 2 7 4 QTP Creater Output Coding Request Form of current project it includes hex file name checksum system configuration and other information 2 7 5 Hex File Converter Hex file converter translates the source chip hex file to destination chip hex file Table 2 1 shows the supported list Source Chip Destination Chip TM57PE11 TM57PE11A TM57PE11A TM57PE11B TM57PAIO TM57PA10A TM57PA20 TM57PA20A Table 2 1 Supported List 34 tenx technology inc Preliminary Rev 1 1 2013 01 28 UM TICE99IDE E Advance Information User Manual 2 7 6 Options Option provides three kinds of setti
31. stack and program memory Figurel 1 TICESSIDE Beta Version V1 0 2 Build 16 Text 81 x File Edit View Project Build Debug Tools Help oo es gn pi DRAN al Project Function Memory d Plane Dk mU wm m Coppecting uus TMEZELASO es wm Compiling Addi PC Range Dat Bank no Plane File D bcb testc switch test c DAbcb teste swit 0 Error s wW amina s een Linking Global Var 55 LINK Warning D tens Program TICE SSIDE4201108420110804_c Auto Yar OOBS LINK Warning D tens Program TICE 9SIDE4201108420110804_c l DAbcb t 0159 Error s 2 Warnings AE cb test ge Generating OBJ MTP OTP HE file main PC 00010 DA Done value1 0018 0038 0039 int Enk FPlane DA Code Size 82 Word s 52h Word s Check Sum 27 e value FA76 1003670037 int Bnk FPlane DA e on aia arse var 0505 0034 0035 int Enk FPlane DA 000 N n N Variable of C and ASM 4 Output Search Result C Variables ASM E Plane 1 ASM F Plane 2 ASM D Plane Watch ICE Status Stack Program Memory Figure 1 1 TICE99IDE main window 6 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual 1 1 Main menu When first executing TICE99IDE th
32. technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual 2 Main Menu Main menu provides a serial of functions which will be useful and convenient for you to use the IDE It s including File process editor process view panel project management build a project debug a project option of IDE and help 2 1 File In File menu you can create a new file or a project close a file or a project and exit program 2 1 1 New File New Project Open File Open Project Let s start from File New File lets developers create a new empty document for editing The new file is not collected to current project it is individual You have to do it by yourself When you select File New project to create a new project IDE will show a new project window you can select a specify chip for the new project and assign where the project will be located Open File can open an existed file and show it on a new editor Open Project opens an existed project and you can easily visualize how all your project files are related in the Project Manager page If there are some files in project are opened then project is closed these file will be reopened automatically when opening the project next time 2 1 2 Save Save As Save Project Save Project As Save All Close Close All Save can save current editing file If the opening filename is not assigned like Unit the Save As dialog will be
33. way you feel free View the variable value when debugging When you are debugging and you stop debugging you can use mouse to point to a variable and IDE will show a hint message box to display the current value result of this variable IDE provides a convenient way to verify the value of a variable at any time when debugging 70 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual lest c rplane int testi x4 int test7 0x40 FPLANE int v int z STR TYPE il E 3 4 typedef struct STE DEF 5 5 7 8 maint d int testa GLR TYPE Ek unsigned long sss 420405 test3j test 2 testl test3 testlZtest Figure 5 1 Tooltip expression evaluation 71 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual 6 LCD Editor LCD provided by the IDE editor is an independent function LCD editor edits the content which will be displayed in LCD Some chips support the LCD function The function of LCD Editor contains three parts LCD Panel Editor LCD Attributes as well as LCD Pattern Editor LCD Panel Editor is main window However let s start with LCD Pattern Editor 11 aS Figure 6 1 LCD Panel Editor 72 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual 6 1 LCD Pattern Editor LCD Pattern Editor window is an editor which can
34. 0000 0001 01 1 O4 7 0 FSR 1111111 FF 255 5 670 PAD 01111111 7F 127 06 770 PBD 11111111 FF 255 07 7 0RSR 11111111 FF 255 E 08 08 7 PWMOIE 1000 0000 80 1 08 6 TIM2IE 0100 0000 40 1 08 5 TIMTIE 0010 0000 20 1 08 4 TIMOIE 0001 0000 10 1 08 3 WKTIE 0000 1000 08 1 08 2 XINT2E 0000 0100 04 1 08 1 XINTTE 0000 0010 Search Result C Variables ASM F_Plane Bank0 ASM F_Plane Bank1 ASM R Plane ICE Status Stack Program Memory Figure 4 5 Open an Existed Project 1 Press FilelOpenlProject the Open File dialog will appear In the dialog you can find out where your project is The extended file name of project is prj Select the project and push the open button to open the existed project open cs Look in tm57FLA80LCD D 2 ck ES My Recent Documents Desktop tmS7FLAGOLCD prj My Documents W ar My Computer AN m SMe ae File name D Places Files of type Project files pri Cancel 2 Figure 4 6 Open an Existed Project 2 42 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual TICESSIDE Beta Version V1 0 3 404 Test File Edit view Project Build Debug Tools Help BASS KA ckt 201 AANST Sael o NTC E E D AutoT estings2012_12_14_error Aray_Fplane_Shift_OO000000 c 2 Ei 201212 17 flaB0 pri C TM57FLA80 Bye c max
35. 0010 02 1 D30CFLAG 0000 0001 DI 1 D47 0FSR 11111111 FF 255 05 5 0 PAD 01111111 7F 127 z 06 770 PED 1111 1111 FF 255 z Di 70 RSR 1111 1111 FF 255 EF 02 1000 em Search Result C Variables Figure 4 21 Find in Project 1 55 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual Find Find in Project Text to Find v Options Where Case Sensitive Files in Project Match Whole Word C Opened Files Cancel Figure 4 22 Find in Project 2 TICESSIDE Beta Version 1 0 3 Build 4 Test Z DI xi File Edit wiew Project Build Debug Tools Help Be 2012 12 17 0 TMS FLZ Bee pe d C Source Files c z maint 1111 1111 FF D SAutoT esting 201212 31 i 11111111 FF C Header Files bh long arraylmaxl f xl 0x 11111111 EF Assembly Files asm Include Files inc Library Files lib a for i D 1000 0000 80 Text Files txt Pod 0100 0000 40 LED Files led x EE 2 0010 0000 20 Other Files CHECK array 000000 2 0001 0000 10 CHECK array 000000 17 0000 1000 08 CHECK array 00000 E CHECK array 000000 m DERE BIB UM 03 1 DCFLAG 0000 0010 02 03 0 CFLAG 0000 0001 01 0477025 1111 1111 i FF 05 670 PAD 01111111 VF DB 7 0 PEL 11111111 FF OF FO RSA 1111 1111 i PF E 00 unzigned char 1 L L L L L L L TI
36. 11111111 FF Se 4 I Is x T Hex Value AddUFE Range 4 arra Figure 4 36 TM57PE11 Convert To TMS7PET1A 1 67 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual Convert TMS7PEI1 To TMS PEITA Convert LiXRCD 15M 0925 OK HEX to LiXRCD 15M 0925 OK 114A hex 4 37 TMS7PE11 Convert To TM57PE11A 2 Notice Convert succees Please re verify the program 1 Fast Internal Clock Frequency is 4MHz 2 PA except PAY pull high resistance status after reset is disable 3 Whether WKT WDT can stop oscillating under SLEEP mode 4 LVR voltage is 2 0V 2 9V Figure 4 38 TMS7PE11 Convert To TM57PE11A 3 68 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual 4 12 Help This user manual only introduces how to use the IDE C compiler and Assembler If you want to know how to write code in IDE please refer to the C Assembler programming guide TICESSIDE Beta ersion 1 0 3 404 Test File Edit View Project Build Debug Tools Help ao eo BO amp mL we user manual E Compiler User Manual Fz Assembler User Manual F Plane 1 bank About 0000 0000 IU EE 01 7 0 T MER 00100101 25 Z PC 0001 1110 1E 30 8 00 00 0E FF 00 04 H l 00 07 FF FF 3F 18 80 00 00 20 00 00 Ka Update Mew Version Check
37. 4 11 Hex File Converter TICE99IDE provides a tool to convert a hex file from one chip type to another type for programming It will pop up a confirmation dialog after selecting a hex file Even the conversion is successful it still has something to re verify please pay attention to see the detail TICESSIDE Beta Yersion 1 0 3 404 C Test mi x File Edit View Project Build Debug Tools Help BD eo Rp Lous 1 et xxU00001C et na ane Shift 00000000 TMS7PE11 Convert To TMS PET11 E 201212 12 80 L TMS FLZ E C Source Files c TM57PE11A Convert Ta TMS7PE11B 1111 1111 7 7 D MAutoTesting amp 2U12 127 10 Convert To TMS7PA104 10x10 0x20 0x30 0 j 1111 1111 C Header Files h TMS7PA20 Convert Ta TMS7PAZ04 1111 1111 m Assembly Files asm Include Files inc i o C Library Files lib Options 4 i Program Request Form 03 7 H MFA 1000 0000 s coe Text Files tt OSEGBIT 0100 0000 40 m LED Files led e d siarrayr ZzFF 03 5 RAMBA 0010 0000 20 Other Files f 12 7 CHECK arrayl01 000000FFH as n 13 CHECEK Carray 1l 000000FFH 0000 1 000 s 14 CHECEK array 2 000000 15 JF CHECE arrzay 3 O00000FFH be 7 7 7777 P 03 1 DEFLAG 0000 0010 02 5 i 03 0 CFLAG 0000 0001 01 04 770 FSR 11111111 FF 05 670 PAD 0111 1111 F 05 770 PED
38. C Done 255 g Code Size 49 Word s 31h Word s 000007 5 INCF Check Sum 1796 Z 00 040 RET Check Device Status T 00 ch Bn FPL DA 00 D2C CALL Whiting Config Value 001 00 m TOVLT Downloading 00 DA Bn FPA 5777 Device Reset Success 00 DA Bn FPA L E NOVUF Download To ICE Success 00 DA Bn FPI MOVLW OOF MOVWF E Bn FPI 00 DA Bn 1943 MOVLU 00 DA Bn FPI ODODOF 0080 MOVUF 00 D Bn FPI 000010 NOVLW 00 D Bn FPA 000011 OOB NOVUF 00 D Bn FPI 000012 1939 MOVLW 00 D Bn FPI 000013 0082 MOVUF 00 DA Bn FPI 000014 1939 MOVLI 00 DA Bn FPI 277757 777 0 DA Bn FP 100 00 DA Bn FPI wem Watch ICE Status Stack Program Memory r n rr C Variables ASM E Plane 1 ASM E Plane 2 ASM D Plane Output Search Result Figure 4 1 Create a New Project 1 38 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual The new project window will be displayed Select your target chip type in chip list Next choose your project type assembly or C Assembly Give a name to the new project and decide which file folder to store this project x Please Select A Project Type Description TM56F 440 EVBoard E2735 TMS F440 ROM 8K 14 Flash 40 HAM 368 bytes 8 Ports 45 pins masx ADC 1226
39. DI en x D SA amp utaTesting 2012 12 14 enorAray Folane Shift OOO00000 c 4 long amav max 10x10 020 0 Hex Value Dr SA amp utoTesting amp 2012 12 14 Fplane Shift 00000000 c 10 array i FF D sAutaTesting amp 2012 12 14 Shift OO000000 c 12 CHECE arrav O0 000000 DrS amp utaTesting 2012 12 14 Fplane Shift 00000000 2 3 11 0000002 D sAutaTesting amp 2012 12 14 Fplane Shift 00000000 21 4 21 000000 D MAutoTestings2012 12 14 Fplane Shift 001 2012 12 14 errorlArray Fplane Shift 00000000 13 J CHECK array 1 OOOOO0FFH gt Figure 4 23 Find in Project 3 56 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information 4 6 3 Find and Replace TICESSIDE Beta Version V1 0 3 Build 4 C Test File Edit View Project Build Debug Tools Help Ee cH A a 4 Redo Ctrl Bp copy Chic Cut CHER FEL Paste Chlo 7 Delete select Al CtrH A 1 Zdefine max 4 Zz maini Ei long 1 10 10 0 unzigned char 1i 03 7 03 6 GBIT 03 5 HAMBA Find Ctrl F for i 0 i 4 144 is Find Previous CErH F3 Find Next F3 Gr Find in Project CN Find and Replace Ckrl R Hf Go to Chrl G
40. Files asm Include Files inc Library Files lib o Test Files t t be LCD Files led Other Files Figure 4 4 Create a New Project 4 41 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual 4 2 Open an Existed Project If you have an existed project and you want to modify it You can use Open an Existed Project to do it TICESSIDE Beta Version V1 0 3 Build 4 Test File Edit View Project Build Debug Tools Help New hm pi D 4444 Casa Er EI X D AutoTesting 2012_12_14_enror Array_Fplane_Shift_00000000 c Z save Ctrl s 0 1 define max 4 Bi Save As 2 main 00 770INDF 11111111 FF 255 c stingX2012 12 14 errorVirray Fplane Shift B save Project l OL7 0TIMERO 11111111 FF 255 B save Project As CN s long array max 0x10 0x20 0x30 0x40 oer 11111111 FF 255 B save All 6 unsigned char i 03 EJ close Ela 4 0 i 03 7 R MPA 1000 0000 80 1 D Close All 9 03 6 GBIT 01000000 40 1 R 10 arrayti XxFF 035RAMBA 00100000 20 1 Recent File 12 CHECK EREETRWBI 000000FFH 03 4 TO 0001 0000 10 1 Recent Project 13 CHECK array 1 000000FFH 03 3 PD 00001000 08 1 14 CHECK array 2 000000FFH Ext 15 CHECK array 3 000000FFH 5 55 031DCFLAG 00000010 02 1 03 0 CFLAG
41. Insert E Hex Value 03 6 GBIT 03 1 DCFLAG 03 0 CFLAG 047 0FSR 05 670 PAD 06 770 PED DzT RSR i Qa 0A 7 Phas hole FRETE 03 7 ROMPA 03 5 RAMBA 1111 1111 1111 1111 1111 1111 1000 0000 0100 0000 0010 0000 0001 0000 0000 1000 0000 0100 0000 0010 0000 0001 1111 1111 0111 1111 1111 1111 1111 1111 3 nnn nnn FF FF 80 40 20 10 08 M 02 01 FF 7F FF FF on ASM F_Plane Banki 45M F Plane Banki 45M A_Plane 255 255 sc sch l i l sch sch sch Eat 255 255 Addr PC Range tenx technology inc Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual Editar Options Debug Options Editor Keyword For 45M Editar Keyword Far C Key Assignments Font Options Tab Stops Editor Font Duden Font Bize 10 Other Options Jh Auto open recent project when start IDE Code Completion Default Cancel Figure 4 13 Editor Options 2 Editor Options Debug Options Editor Keyword For 45M Editor Keyword Far C Key Assignments Timer ms El Default Cancel Figure 4 14 Editor Options 3 50 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual Editor Options Debug Options Editor Keyword For 45M Editar Keyword Far C Key Assignments Comment 1 Fore
42. M SR fed dS AS 0 FS PRA e tenx technology inc TICE99IDE User Manual 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 tenx technology inc Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual AMENDMENT HISTORY Add eeprom Upgrade the screen shot Modify the typo Add memory occupied information Add delete watch description Add list debug in program memory Modify make library and add concept flow chart Change 2 7 5 title to Hex File Converter and add chip li
43. MAC STORE FR MAC SHL IMMED opl 1 1 ads 1 0 idel 1 77 R Tar LED opl LU HAC STORE 1l stkp tr D EI HAL STORE MEMtOPTR op2 0 stkptr 0 0 2 0 0 0 3 pop 1 adjust of scale type istkptr flags 1 D SH id 7 flags 1009 nFlags func line D bcb test 20130107 fla8 0 Pointer Set Array line segment proc main segment X dbg CALL i dbg l R Var i dbg MOVLW ADDWF CALL 201 dbg RET dbg endproc Reserve byte memory to backup STKPTR CODE 2 CODE 3 line D bcb test 20130107 flat Pcinter Set Array RE initialize defdata line D bhch test 20130107_ flat Pcinter Set Array RE MAC STORE IMMED 140 50 2 val Flags 1001 1 line D bcb test 20130107 fla80 Pointer Set Array RE MAC STORE FR _14 0 0p1 1 0 adjust of scale type MAC SHL IMMED opi 1 1 3 pop 1 istkptre flaqs 1 DTe1 R 77 777 1 0 idel 1 stkptr HAC STORE 1 stkptr 0 1 MAC STORE MEMtoPTR op2 0 FTT D 2 0 0 0 c Push id 5 flags 1009 nFlags 1 func ptzi line D bcb test 20130107 flat Pcinter Set Array RE line save the temporary variables and results to STKPTR Preliminary 46 tenx technology inc Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual proc E proc fl segment CODE lt 3 segment CODE 3 i l 1 1 Up MeN dbg line D bcb test 20130107 fla80
44. Pointer Set Array RPLANE dbg 0150121 80 Set Array 0000 MAC STORE IMMED 140 51 2 val 1 Flags 1001 MAC STORE stkptr fl PARAM 1 1 k R Varlil i 3 i 1 dbg line D hcb test 20130107 fla8 0 Pointer Set Array RPLANE dbg line D bcb test 20130107 fla80 Pointer Set Array 0000C MAC STORE FR 0 opl LU adiust of scai type MAC STORE IMMED 140 51 2 val 1 Flags 1001 MAC SHL IMMED 1 1 1 3 1 istkptr 0 i7 1 DT 1001 MOVLW R Var 1001 1 0 idel 1 stkptr 3 ADDWF De ddadd j return R Var i MAC STORE 1 stkptr40 1 Lj x x V 98 1 133 137 MAC STORE MEMtoPTR op1 0 stkptr 0 0 2 0 0 0 D bcb test 20130107 f la80 Pointer Set Array RPLANE t a STORE FR 140 1 1 0 adjust of scale type MAC SHL IMMED 1 1 1 3 pop 1 istkptr flags 1 DT 1001 id 2 i 1001 1 0 idel 1 stkptr MAC STORE l etkptrr 1 i push id 1345 flaqs 1009 ma EST ZU V 938 1 133 137F6C i l opid 1l iQues dbg line D bcb test 20130107 fla80 Pointer Set Array RPLAN AC ADD M SCH A MM 533 malinaseerumti 11 07 a ii MAC STORE MEMtOP R opl 0 stkptr 0 0 2 0 0 0 MP2 icallsub 1241 2 MOVLU _R Var 1001 1 idel 1 stkptr l l T ADDVF 1 0 340C addaddr static return R Var i SAS GE 0 op2 0 2 0 1 dbg line D bcb test 20130107 fla80 Pointer Set Array RPLANE 0000C GOTO L0003 MAC STORE FR
45. Rebuild Build only compiles files in a project however it will not download code to ICE You can use this menu item to check the code you written to determine whether it 1s correct or not If there is any error the message will be displayed in output panel Double click the error line the caret will go to the place of editor where the error occurs Rebuild will clear the o files bin files before build the project 2 5 2 Build and Download to ICE Different from Build Build and Download to ICE will download code to ICE after a successful building 2 5 3 Compile File Compile file only compiles current file you are editing You can use this function instead of Build to check only one file 2 5 4 Configuration Debug Release These will produce debugging information whiling compiling If release is checked o file will not contain debug information 2 5 5 Make Library TICE99IDE provides tools let user can create own library in C and assembly language The methods and concepts are shown in Figure 2 4 Two stages 1 Create object file Programmer uses compiler assembler to translate source code files into object files 0 2 Create library After create object files user can run library maker to select object files and combine functions into a library file lib 30 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual Link o to lib Library F
46. T11A TM57PE114 Convert T TMS7PE11B TMS7P410 Convert To TMS7P4104 Figure 4 34 Switch Language Interface 0e10 Us TMB7PA 2 Convert To TMB5FPAZUA Program Request Form i Options 4 itt 10 larrayti OFF 11 1 12 DSCHECEK array 0 000000 13 CHECEK array 1 000000 14 CHECK array 2 000000 15 SCHECE arrav 3 000000 16 H inl xi ksnoo000CcSeEmm w me o En Hes Value eo 00 770 INDF 0000 0000 D D 7 0 TIMERO 0010 0101 i D n2 PC 0001 1110 1E 30 E 3 i 02 7 R MPA 0000 0000 00 03 6 GBIT 0000 0000 oo 02 5 BAMBA 0000 0000 00 03 470 0000 0000 oo 03 3 PD 0000 0000 oo 03220 0000 0000 oo 03 1 DEFLA 0000 0000 00 03 0 CFLAG 0000 0000 oo 04 770 FSR 0000 0000 oo T 05 670 PAD U1111111 76 127 2 DB 7 0 PBD 11111111 FF 255 T oF 7 0 ASR 0000 0000 oo 711 jer 08 Dr AF Pasha E nun nr ri El Var name E DAbch test2012 Global Var E Auto Var Ze test main A ara Hex value Preliminary 65 tenx technology inc Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual 4 10 QTP Creater QTP Creater is for output Coding Request Form of current project it includes information that hex file name checksum system configuration total code size and usage rate TICESSIDE Beta Version 1 0 3 Build 4 Test R File Edit View Project Build Debug Tools Hel
47. additional RAM space to capture and save the contents of STKPTR and restore the data previously saved Programmer has 4 selections of reserved size 0 1 2 4 byte s The default setting is 0 byte non reserved STKPTR is a reserved area for register variables in C compiler It holds temporary variables and results during the execution of a program If user selects outside 0 C compiler will allocate RAM space to store STKPTR and add extra instructions within function in order to save and restore the content of STKPTR 44 tenx technology inc Preliminary Rev 1 1 2013 01 28 UM TICE99IDE E User Manual Advance Information Directories Include Path C Program Liesen TICE SSIDE Beta Version 1 0 2Build Bl Library Path C Program Filesstens TICESSIDE Beta Version V1 0 Build El Ge C 1Bwte C 2Bytes 4 Bytes Default Upgrade T Code Figure 4 10 Project Setting 3 We provide some situations needed to set Reserved Memory Size for STKPTR to avoid error occurs 1 One function invokes another function call and callee modifies the data of STKPTR in process This situation will overwrite the STKPTR saved by caller previously Once callee returns caller will retrieve the overwritten STKPTR 2 The left side of assignment statement is array or pointer and right side is function call ex 1 func Before call function the data of array or pointer will be saved to STKPTR 3 Function exp
48. all Auto step over execute step over automatically Reset ICE program counter Initial ICE board Add remove break point Remove all break point 10 tenx technology inc Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual 1 3 Project manager Users can use project management to centrally manage chip properties file the relevant library files and source files These files are divided into several groups They are source code files c files assembly files asm files header files h files include files inc files the library files text files txt files LCD files lcd files and other files You can double click the file name the IDE will switch to corresponding file if it has already opened or IDE will open the file automatically Programmer can create a new file to edit which will be named as Unit means 1 n serial number When saving the new file the save as dialog will appear and let user to save as a c or other type of file After saving the file project manager will not classify the file you save into corresponding categories You must add an existing file to the opened project so that you can save time in programming and reuse the code as needed In the area of project tag right click the mouse to show a popup menu dialog In the popup menu you can add existing files to a project remove file from project set the project and set main file Main file only supports assembly
49. e E Compiling D V utolesbngh 201 2 12 14 emarsray Fplane Shift 00000000 0 Error s Qv aming s Linking LINE Assignment the start address of RAM variable iz 0224 l 1 wWammglsl Generating OB MTP OTP HEX file Done Code Size 58 Wordis 58h Wordis Check Sum 1609 Var name Hex Value Figure 4 28 Build and Download to ICE 1 60 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual TICESSIDE Beta Version V1 0 3 Build 4 Test File Edit View Project Build Debug Tools Help eos 2 maint 00 770 INDE 0000 0000 1 01 770 TIMERO 0010 0101 37 long 1 10 10 0 001 1440 30 unzigned char 1 03 7 ROMPA 0000 0000 03 6 GBIT 0000 0000 vn 03 5 HAMBA 0000 0000 CHECK array 0 000000 E 17 IKCHECEK array 1 000000 0000 0000 2 3 CHECK array 000000 CHECK array 000000 03 2 2FLAG 0000 0000 forli 03 1 DCFLAG 0000 0000 03 0 CFLAG 0000 0000 04 770 FSR 0000 0000 05 6 70 PAD 0111 1111 06 7 0 PED 1111 1111 pe 07 770 ASR 0000 0000 EF 06 nnnn nnnn Hex Value FPlane Bank Used 53 Bytes 00035 Usage 412 FPlane Bank Remains 75 Bytes 020046 E DAbch test 2 Global Var FPlane Dark Used 35 Bytes 020024 Usage 28 Et Auto War FPlane Bank Remains 82 Bytes 0 005 DAbch test E main CH
50. e thing that catches your eyes is the main toolbar which is provided by the IDE the main menu Main menu offers all the functions of the IDE The first level of main menu contains File Edit View Project Build Debug Tools and Help In the File menu you can create a new or open an existed project or file After editing files you can save then close it it is the same way when dealing with project Also you can close the TICE99IDE by pressing the exit button You can even open file or project by recently opened files and recently opened project in the file project list that are the file project which you have ever opened before Edit menu provides the functions which editor requires including basic functions copy paste cut delete select all undo redo and advance functions such as find find and replace search in project or opened files and goto Figure 1 2 In the View menu you can choose to switch the window to view including project manager function viewer watch ICE stack status registers monitoring output or search result LCD editor and toolbar option Figure 1 2 Project menu includes adding file to project removing file from project and project setting Build is to compile source file which will translate source files to obj files files and execution files bin files User can decide whether it is necessary to download the compile result to ICE Figure 1 3 Debug is
51. el Figure 4 25 Find and Replace 2 57 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual 4 7 Build a Project Once you finish the coding then it is the time to compile the code Press BuildlBuild to test the code whether it is correct or not If there has any error or warning the output window will show all the error or warning messages Use the output window to correct the code When there is no any error in the code press BuildlBuild and Download to ICE to prepare to simulate the program 4 7 1 Build File Build File helps users to check C codes or assembly codes to determine whether they are correct or not Users can verify if there is any error in code and then correct it TICESSIDE Beta ersion 1 0 3 404 Test z nl File Edit View Project Build Debug Tools Help DO Em gm F10 El Rebuild Fil S Build and Download to ICE Ctrl F10 4 eork mau Fplane Shift 00000000 d 12 12 1 flatil ax 1 m C Source Files Compile File Fiz DD 770INDF 11111111 FF 255 A D AutoT amp UI CU TIMERU T1111111 FF i 200 C Header Files Configuration t Bbrraylmaxl f xl x l l OF PC 11111111 FF 255 Assembly Files Make Library ned char 1 Include Files Library Files 05 6 2 mud wid Les 255 B MPA 1000 0000 80 1 Text Files tet 9 3 5 BB T 0100 0000 40 1 LCD Files
52. h string TICESSIDE Beta ersion 1 0 3 404 C Test s mi xi File Edit view Project Build Debug Tools Help Ki Z um US e m XU 494 M go a u e 0xxxoooce m m 24 Redo Ctrl u B VAulaTesting 203 12 14 Shift 00000000 WE ac Bad d Cut SES 2 maint eo 00 770 INDF 11111111 FF 255 ey Paste C KE 1 i ax1 0x10 0 01 770 T MER 11111111 FF 255 on arra has Ux E Delete 02PC 1111 1111 FF 255 vt Select All Ctrl A 5 unsigned char i E 03 CCP SN 7 Pod DA ROMPA 1000 0000 80 1 H Chr 8 for i 0 i 4 i i Am ce 9 5 B T 0100 0000 40 1 ae Dia UE 10 D35RAMBA 0010 0000 20 1 Find Next F3 l 1 jene Ql Find n Pro 12 CHECK array 0 000000 5 0001 0000 10 1 m in Project 13 CHECK array 1 000000 D33PD 0000 1000 08 1 Find and Replace Ctrl F l4 L HELEtorrayl21 000000 o L DA2TFLAR 0000 100 of 14 CHECE array 3 000000 E Pi Goto SCH S1DCFLAG 0000 0010 020 1 DROCFLAG 0000 0001 O1 1 04 770FSR 11111111 FF 255 05 670 PAD 0111 1111 7F 127 06 770 PED 1111 1111 FF 255 07 770 ASR 11111111 FF 255 E 08 e L DR 7 Plath Oe 3000 nmm en 1 x 15 2 Insert Esc F Plane Hex Value Addr PC Range Output Search Result E Variables ADM F Plane Bank ASM F Plane Bank ASM H Plane Figure 4 19 Find 1 54 tenx technology inc
53. hey are C Assembly project and assembly project However C Assembly project may include both C and assembler program or contains only C programs alone Programmer can select project type Then following the step below step by step to create a project coding build it download it to ICE and test it 4 1 Create a New Project When you want to create a new project press the FilelNewlProject in toolbar TICES9IDE Beta Version V1 0 2 Build 14 8 x File Edit View Project Build Debug Tools Help ET 2 MAGS o O H Save Ctrl 5 a a e 0xso0000C 935 Bj Save As E B save Project 00 70 INDF 000 00 0 R Save Project As M B save al Q7 0TIMERO 0000 01 1 E close gU IB close Al 00 2 PC 000 1 1 md WE E 93 57 men 03 0 CFLAG 000 00 0 Recent Project 021 DEFLAB 0000 00 00 00 00 322FLAG 000 00 0 00 03 00 02 3PD 0000 oo 28 00 2 08 10 34 TO 000 00 0 035 RAMBANK 0000 00 035 GBIT 000 00 0 03 7ROMPAGE 0000 00 o 04 4771 ESR mm F Plane Compiling 3000 GOTO D bob_test c_switch sub c 00 082 NOVFW D beb_testc_switch test c 0 Error s D wamina s iid Linking 825 LINK Warning D MensSProgramNTICESSIDEN201106 20110627 ciLibran CHIPLIBNTM5 FI 00 MOVUF D Error s 1 Wamingls m e 2 E 000005 OAA INCF Generating OBJ MTP OTP HEX file 2 BTFS
54. hine code To view this panel click the menu item 2 3 4 C Variables ASM F Planel ASM F Plane2 ASM R Plane User can see the detail information of C Variables ASM F Planel ASM F Plane2 and ASM R Plane which list all variables of source code When successfully compiled the source code and start debugging this window s content value of each variable will be updated automatically The color of variable text will be changed when the result is changed between the two actions If it does not show up click the menu ViewlC Variables or ViewlASM X Plane to let this visible 26 tenx technology inc Preliminary Rev 1 1 2013 01 28 UM TICE99IDE E Advance Information User Manual 2 3 5 Output Find and Search Result Output shows the result of compiling assembling and linking process If there are any error or warning messages it will be listed on the output panel you can double click the line IDE will jump to the corresponding line in editor Output panel shows the information about memory occupied of variable in C project Find and Search Result jumps to corresponding line when the keyword you search has been found Click the menu to let the panel visible 2 3 6 LCD Editor LCD Editor is only for the chip which supports LCD function The IDE will enable this menu item when chip supports LCD and disable when does not support 2 3 7 Toolbar Toolbar controls 4 sub toolbars to show up or not They are File Edit Build
55. ile M ame D bcb_test Hla80_test fla80_test lib Library Content List testo Add Delete Figure 2 4 Make Library Concept C Source File c ASM Source File asm C Source File c ASM Source File asm Compiler Assembler Object File Library File lib Figure 2 5 Concept of Library Maker 31 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual 2 6 Debug 2 6 1 Pause Pause stops all debug steps When the ICE is in Go Free Run Auto Single Step or Auto Step Over mode press Pause to stop debugging Others it will be no action 2 6 2 Run to Cursor Run to Cursor will run to the line where the caret 1s located and wait for next debugging instruction 2 6 3 Go Free Run Go and Free Run both will execute the code which was downloaded to ICE The difference between Go and Free Run is Free Run will not stop when encountering break point but Go will stop at the breakpoint in place if breakpoints are set 2 6 4 Single Step Auto Single Step Single Step during debugging it will execute code line by line or execute one machine code when debugging with list file When debugging ASM file one line source code will correspond to one list file line One line source code will correspond to multiple list file line when debugging C file Auto Step is that IDE w
56. ill automatically and periodically implement Single Step which is according to time setting The timer of Auto Single Step setting is set in ToolslOptionlDebug Option The timer unit is millisecond 2 6 5 Step Over Auto Step Over Step Over is a special kind of step It will execute a program one line at a time stepping over functions while executing them as a single unit Step Over will execute one statement when it is not a function call 2 6 6 Reset ICE This will reset ICE s program counter value to 0 and set the debug mode to be single step mode 2 6 7 Initialize ICE board Initialize ICE board will download the file that FPGA needed confirm ICE connecting status and power status test RAM and ROM and reset ICE 32 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual 2 6 8 Insert Remove Break Point Remove All Break Point Add Breakpoint will allow the debugging steps to stop at the breakpoint To interrupt the running program debugging line you can double click on the code line to set the breakpoint To cancel a breakpoint just double click on the code line which has been set a breakpoint then you can switch a non interrupted state Remove all breakpoints removes all breakpoint settings 2 6 9 Debug with list file debug with source file There are two ways to debug One is with list file and the other is with source code List file debugging will
57. ing file Save all files Undo Redo Copy the selection text Cut the selection text Paste the coping text Delete the selection text Search specific text in current editing file Search specific text from the current position to the beginning of the file Search specific text from the current position to the end of the file UM TICE99IDE E User Manual Search specific text and display each occurrence in a project at output window Search specific text and replace it with new text Compile all files in the current project Delete all output files before compiling all files in the current project Compile all files in the current project and download the output files to ICE Compile current editing file Pause debug process Run to the cursor your program is executed at full speed then pauses and places the execution point on the line of code containing the cursor Run run your program but it will ignore break point Auto Run run your program then pauses on the location of break point if it has Single Step the debugger walks through your code one statement or instruction at a time Auto Single Step the debugger walks automatically through your code one statement or instruction at a time Step over same as Single Step except that when the execution point 1s on a function call the debugger executes the function at full speed and then pauses on the line of code or instruction following the function c
58. mp HH Cre F10 4 emorsray Fplane Shift DODCODOCOL c 5H d m F12 DDT7DINDF 0000 0000 00 a gt 1 770 TIMERO 00000 25 R pr rey wax 0x10 0x mp 0001 1110 1E 30 ned char i EL 03 D37ROMPA 0000 0000 00 03 6 GBIT 0000 0000 00 D35RAMBA 0000 0000 DD 0 0 000000 75 7 2 di rem mansi 7CHECK arrayl31 000000 aub NR EU D31DCFL G 0000 0000 00 130 EFLAG 0000 0000 00 04 770 FSR 0000 0000 oo 05 670 PAD 01111111 7F 127 06 770 PED 11111111 FF 255 07 7 0 RSR 0000 0000 oo BW mp DB 7 PARIDIE non nnnm fin n Hex Value E DAbch_test201e Global Var E Auto Var DAbch test Ee main CL Link o to lib n Library File Name EATICE SSIDE test2 test3 lib Browse Library Conten Preliminary Figure 4 30 Make Library 1 X TICESSIDE Files already added to library Delete Figure 4 31 Make Library 2 62 tenx technology inc Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual 4 8 Debug with Project TICE99IDE has several kinds of debug including Pause Run to Cursor Go Free Run Single Step and Step Over Auto Single Step and Auto Step Over are extended from Single Step and Step Over It will run Single Step or Step Over when timer is triggered Timer can be set in Tools Options Debug Options The Unit of Timer is millisecond TICESSIDE
59. ng Editor 1 Set the text font font size and tab stop for editor 2 Determine whether the new IDE automatically open the project which has been opened before 3 When user checks Code Completion then in code editing process the Editor will display a resizable prompt window which lists the valid elements for the user to select and add to your code 4 Setthe color of keywords numbers colors comment text etc Debug Set Auto step of the time setting and the timer unit is millisecond e Key Assignments set the keystrokes for each item of menu 35 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual 2 8 Help Help collects information about the IDE including usage of IDE the version number of compiler assembler and linker which are executed by IDE and update function of the IDE 2 8 1 IDE User Manual This will open an IDE user manual pdf file which corresponding to the language If you are in English language interface it will open English version user manual and so on 2 8 2 C Compiler User Manual This will open a C compiler user manual pdf file which corresponding to the language 2 8 3 Assembler User Manual This will open an Assembler user manual pdf file which corresponding to the language 2 8 4 About About window displays copyright information versions of IDE C compiler Assembler and Linker 2 8 5 Update New
60. nload to ICE Once all the codes in one project are correct you can download the codes to ICE to simulate the action of the codes Use Build and Download to ICE to download the binary execution file to ICE Note Before you download the code to ICE you have to plug the ICE to PC and turn on the ICE board Make sure the connection to PC is success TICESSIDE Beta Version V1 0 3 Build 4 C Test el x File Edit View Project Build Debug Tools Help BOgiES pes F10 Rebuild Fil Build and Download ta ICE CErl F10 E 3012 1217 Haan ax y ax 4 A C C Source Files Compile File 12 e 00 770 INDF TATI FPF 299 D Autoe lea DLZ DTIMERO 11111111 FF 255 C Header Files Configuration t brravy max xiU x i z PE 11111111 FF 255 po Assembly Files Make Library ned char i Include Files z Library Files lib a 8 for i 0 i 4 i 7V 7y ve Test Files tet 03 6 GBIT 0100 0000 40 1 LCD Files lcd xFF 03 5 RAMBA 0010 0000 20 1 L Other Files e EE 03470 0001 0000 10 1 13 CHECK array 1 000000 03 3 PD 0000 1000 08 1 2 SI tete 02705 man 216 3 03 1 DCFLAG 0000 0010 02 1 D30CFLAG 0000 0001 1 1 0470 FSR 11111111 FF 255 05 670 PAD 01111111 7F 127 06 770 FBD 11111111 FF 255 D7 7 DRSR 11111111 FF 255 E 7 08 1 gt 1 R 2 in 7 1000 r er 1 E Project En eege F Plan
61. nx TM57FLA80 6 inc 00 770 INDF 0000 0000 D Plane pointer equ 0x20 01 70 TIMERO 0000 0001 01 00 001 001 001 00 00 FF ES 77 02 PC 0000 0001 01 08 7F OF 03 00 00 00 00 Table ROM Address o 03 q l 00 7F 00 00 00 00 36 00 1257 pointer Tables RON 03 7 ROMPA 0000 0000 00 18 00 34 00 00 00 00 00 ool pointer 0 Read Pointer 2 03 6 GBIT 0000 0000 00 4 7 Val e Pointert2 03 5 RAMBA 0000 0000 00 EEPROM 03 4 TO 00000000 00 0x60 Table ROM Address 03 3 PD 0000 0000 00 pointer pointer Table ROM 032 ZFLAG 0000 0000 00 0x02 pointer 03 1 DCFLAG F Plane Read Pointer 2 0000 0000 Insert KS Connecting TMS7FLA80 E 1 Compiling 000000 2 00000001 dixe dee E indi 0000h 0000004 000000 2 Linking 1 timer 0001h 000000 000000 2 REG EE rich 1 pc 0002h 000000 000000 2 GE 1 status 0003 000000 7 Done 1 fsr 0004 000000 000000 1 Val Code Size 101 Wo 1 pad 0005h 111111 Check Sum 28C7 000000 1 Check Device Statu 1 pbd 0006h 111111 D mov Lg Table ROM Address Writing Config Value 1 Ist 0007h 000000 000001 1 0080 20 movwf pointer pointer Table ROM 25 1 1 int 0009 000000 000002 1 1900 2 movlw 0x02 Download To ICE Su 1 timerll ODDAR 111010 000003 1 0700 Read Pointer 2 s loea dei GE EE E mo a H a ointerit 1 pwm duty 0
62. o open option window In editor options you can change the font name size and tab stops By the way users can change keyword color of C and ASM to fit own habit In Other Options IDE will auto open recent project when option Auto open recent project when start IDE is checked The editor will popup code completion proposal when Code Completion is checked Key Assignments provides function that customizes short cut for all menus user just chooses the short cut at Keystrokes and then presses Assign New Key TICESSIDE Beta Version V1 0 3 Build 4 Test File Edit View Project Build Debug Tools Help Bgisgiam c Language E 20232 17 Ha8 pri C TM E C Source Files c 7 D k utolfestnga 2012 12 5 C Header Files Assembly Files asm Include Files inc Library Files lib sol et Test Files D tet LCD Files led S Other Files 10 11 12 13 14 16 M Search Result Preliminary E OTP Creater TMS7PE11 Convert To TMIS7PE11 TMS7PE114 Convert To TMS7PET1B TMS7P410 Convert To TMS7P4104 TMS7P420 Convert To 2 Program Request Form 1 4 D 4 Project 1 2 i Uxl l x larrayt i CHECK array CHECK array 01 1 CHECK array 2 3 CHECK array Figure 4 12 Editor Options 1 49 C Variables irt xFE 000000 000000 000000 000000 wit
63. ols Pause F4 H Run to Cursor Ctrl F4 Se A Go OTP Creater SimpliFied Chinese Traditional Chi k Free Run Chrl F5 7 11 Convert Ta TMS7PE114 Traditional Chinese 1 single Step F TMS7PE114 Convert To TM57PE11B 1 auto Single Step 1 6 7 1 Convert To TM57PA10A l Step Over F7 2 Convert To 2 CH Auto Step Over Program Request Form Step Out Fa Options 7 Reset ICE Fa 8 Initialize ICE Board Ctrl Fa F 4 Insert Remove Break Point CErl B Remove Al Break Point ctrl E Debug with List File m Debug with Source File Figure 1 4 main menu 3 Help E IDE User Manual F1 Compiler User Manual Fz Assembler User Manual About a Update Mew Version Check Figure 1 5 main menu 4 8 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual 1 2 Toolbar Toolbar is a shortcut to execute the function in main menu and it contains almost most of the functions of the main menu User can press button in toolbar rather than select it in main menu Fie a SS De RH c BE 3 44d Cer CS Build xj ees m G xox 00101 8 He Figure 1 6 toolbar 9 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information m 22 HIHI Ie Preliminary Create a new file Create a new project Open an existed file Open an existed project Save current edit
64. p Bai e 0xx10000 C e Fa Creater ane Shift 00000000 TMB7ZPFE11 Convert T TMEFPE A TMS7PEL1A Convert To TIS 7PET1B TMS7PAIU Convert To 1 2 Convert To TIS 7PA2 A Pragram Request Form 1 F Plane 1 bank ew 00 770 INDF 0000 0000 00 A 01 770 TIMERO 0010 01 1 25 E z PC 0001 1110 1E 30 1 f xl x 0317 R MPA 0000 0000 oo 5777 035 GBIT 0000 0000 00 a ee 03 5 0000 0000 00 12 CHECK array 0 000000 7 0000 0000 000 13 CHECK array 1 000000 D33PD 0000 0000 00 0 40 EI m m cazznas emm co o Em D31DCFLAG 0000 0000 00 D30CFLAG 0000 0000 DO 04770FSR 0000 0000 00 D5 6 DPAD 01111111 7F 127 05770 PED 11111111 FF 255 d OF 0 RSA 0000 0000 oo ER a Bmw nnn nnnn nn FPlane Bank Used 53 Bytes 020035 Usage 412 FPlane Dank D Remains 75 Bytes 020046 Hex Value E Dich tested EE Global Var FPlane Bank Used 36 Bytes 020024 Usage 202 G Auto var FPlane Bank1 Remains 82 Bytes 00050 L DAbcb testi E main Download Ta ICE Success ae i 2j em k Search Result Figure 4 35 QTP Creater 66 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual
65. pd x 03 5 BAMBA 0010 0000 20 1 Other Files Se EE 034 TO 0001 0000 10 1 13 CHECK array 1 000000 03 3 PD 0000 1000 08 1 D akea ogg ee man 16 031 DEFLAB 0000 0010 z 1 D30CFLAG 0000 0001 OT 1 DM7 F5R 11111111 FF 255 05 670 PAD 01111111 7F 127 06 770 PBD 11 FF 255 7770 5 11111111 FF 255 E 08 1000 AAA er x D S amp utaTestingk2U12 12 14 emop mau Fplane Shift OO000000 c 4 long array mas Us sz C D sA utaTesting amp 2012 12 14 emorAman Shift 00000000 c 1 l sFF D SA amp utaTesting 2012 12 14 Fplane Shift 00000000 2121 LHECE armag QODODOF D AutoTesting amp 2012 12 14 errorVArray Fplane Shift QO000000 c 13 CHECK arav 1 000000 D sA amp utaTesting amp 2012 12 14 enork mau Fplane Shift 00000000 214 LHECElarrayl21 0000002 Dr SA amp utaTesting 2012 12 14 Fplane Shift 00000000 2 156 C HECE armag 3 000000F Hex Value Figure 4 26 Build Project 1 58 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual File Edik View Project Build Debug Tools Help TICESSIDE Beta Version V1 0 3 Build 4 Test nl x EG SS HE cz es AAAI Sasa et BOOOOCS HE Xl D VAutoT estingvz012 12 14 errorV rray Fplane Shift 00000000 E 201232 17 elo Mol mam d
66. ression ex retVal funl fun2 Before calling the second function the result of the first function will be saved to STKPTR 4 The more complexity of the programming the more internal interactions will be affected Need to save STKPTR during the execution We strongly recommend the following program coding style to avoid the above situations To state more particularly using simple programming statement instead a complex one Original Code The Best Way retVal func 1 func array 1 retVal 10 retVal funl fun2 retVal e fun2 45 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual In order to illustrate how this works two kinds of case will be described one is reserved memory is not set the other is setting 1 byte reserved We will point out the differences in s file int E Var EC int 1i int f1 1 1 R Var i return mairt 1 R Var i t ji 5 Yarl l segment proc main segment d dbg CALL i D dbg i R Var i dbg MOVLW ADDWF CALL dbg RET dbg endproc CODE 2 CODE 3 3 line D bcb test 20130107 fla8 0 Pointer Set Array initialize defdata line D bcb test 20130107_ fla8 0 Pointer Set Array STORE IMMED 1 140 0 2 val 0 Flags 1001 line D bcb test 20130107 fla60 Pcointer Set Array
67. rom the project tree but the file is not actually deleted from the file storage directory Remove From Project mi xi File Name tesL c c swich lib c switch MIU codedefdata define TMB5ZFLABU Soe CFG Figure 2 2 Remove from project dialog 28 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual 2 4 4 Project Setting There are two ways to set project properties 1 Click on the menu bar ProjectlProject Settings menu item or 2 within the tree of project management then right click in the area and in the pop up menu select Project Settings Project settings include IC configuration settings select the library directory and EV settings The configuration settings will be downloaded and write to the ICE before the program codes does The configuration settings can be set as different types of projects with ICE The configuration tab will show the configuring value when you change the setting of configuration Another Project Settings page is a directory to specify the directory path that can be found in the compilation and assembler which uses the directory path to find the header files or library files EV option contains two main functions one is to calculate the best IRCF for chip and the other is to switch the ICE voltage TM57 Setting X Configuration Directories EV Options PROTECT Code Protect Selection protect 0200 MCPD MWELYA Power Do
68. shown and then you can type a filename you want and press yes button to save it Save As let user save current opening file to another filename However if the file 1s in project it will not change the filename in the project it only saves a copy file to disk Save Project is saving current project that you opened If you want to change to another project name you can use Save Project As Save All will save all opened files including the file which is not in project Close can close current opened file If you want to close the project please press Close AII button then it will close current project including all the files which have been opened 2 1 3 Recent File Recent Project Recent File lists the recent opened 4 files at most Recent Project stores the recent 10 projects at most By clicking recent item it will open corresponding file if the file is not opened or switch to an opened file You can also open project that you recently opened from Recent Project which will be the same as Open Project 23 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual 2 1 4 Exit Exit the IDE program Are You Sure rou Want Ee Exi the Proqram Figure 2 1 Exit notice dialog 24 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual 2 2 Edit In Edit menu you can edit your code more q
69. st Add C compiler assembler user manual Modify the screen shot of new project Modify the table of supported IC list Modify project setting and screen shot section 4 8 delete the other debug screen shot Modify the description of debug function Dec 2012 2 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual CONTENTS AMENDOVENT HISTOR e EEEE E RE 2 1 Vo ge ONE ssn 6 E EE 7 LEA Kelt E 9 EE 11 MAA OVC COIN Hn 12 LSN OT E 13 EE 14 TI UUuc o Po 15 10 LE Ur H 16 1 l r TT TT 17 110 77 itli ii 3 RENE 18 LLL L olu a b 19 1 17 Program Bn TE Tt ct 20 IL l udircooa n nun nin 21 LI 100 Ba i n 22 xuullumucucc n udan 23 2lIu n mn mn T 23 2 1 1 New File New Project Open File Open Project 23 2 1 2 Save Save As Save Project Save Project As Save All Close Close All 23 21 3 ISecent Ile Recent PEOIS E 23 DER NI qe in 24 e M 25 22 1 000 CO MER 25 D2 Eo Cut Past Delete select A E 7 2 2 3 Find Find Previous Find Next Find in Project Find and Replace Go to 25 PX OW TE A n P 26 2 3 1 Project Manager Function Viewer Memory Wumdow 26 2071757100 r 26 2 3 3 Walch ICE Sta
70. switch to LCD Panel Editor window then you can place the pattern to LCD Panel Editor or load external bitmap file to place on LCD Panel Editor Except this you can set the value of pattern they are Segment and Common The Segment value always represents column on the other hand the Common value always represents row LCD data shows content of LCD RAM LCD Attributes C Program Files tenx TICES9IDE Beta Version NLP Segment Common Pattern Source 7 Seg fo Pattern Editor Patterns Com 0 C Bitmap File A S LCD data adar Hex 9 1 2 3 AA 55 AA 55 AA 55 AA 55 AA 55 AA 55 AA 55 AA 55 AA 55 AA 55 Figure 6 3 LCD Attributes 74 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual 6 3 LCD Panel Editor In LCD Panel Editor you can layout the image which will be displayed on the LCD panel connected with you chip You can use grid CH a ruler to arrange you image At the same time you have to set the size of grid That includes width and height from 1 to 32 This depends on the pattern size that you draw in LCD Pattern Editor LCD Panel Editor places the image according to the Pattern or bitmap file according to the switch you selected pattern editor or bitmap file If you place the pattern on a wrong position you can use select pattern il to move to correct place Select pattern can choose more than one pattern The other way
71. tems of configuration is displayed according to the ICE types For example they are IRCF WDTE 3V 5V Selection CLKS LVR ICVPD as well as PROTECT After you choose one configuration item the corresponding information will be shown at the bottom part of the panel It includes name item description selection description and hex value All you can do is clicking combo box of value to choose the one that you want At the same time the value will be changed to respond the configuration setting value TICESSIDE Beta Version V1 0 3 Build 4 Test File Edik View Project Build Debug Tools Help DD U Remove 2 2012 12 uH Project Settings Sl E Source Files cl Figure 4 8 Project Setting 1 TM57 Setting x Configuration Directories EV Options Code Protect Selection H protect 0200 MCPD MWELYA Power Down in ON in Step mode 0 00 122 LWA LV reset mode Disable DD 1072 CLES Fast Clock Source Select FIRC 38H z 0x01 Br MUM Selection Ev YCC maximum workin SY 0200 T WDTE WDT Reset Enable Disable WOT Reset Enable Q0 611 IRCF 1 5 k pum wm mu mmo emm wm 1 izi Value 01 00 Mame IRCF 44 FIRC frequency adjustment control amp Y5 15 14 00000 Value D DxDD Default Upgrade To Code Figure 4 9 Project Setting 2 For C project in the tab page of Directories there will show a selection Reserved Memory Size for stkptr It will reserve an
72. test c 3 int valuel 00 770 INDF 0000 00 C Header Files Ph r value2 a int var 6 01 770 TIMERO 0000 01 Include Files inc 7 valuel 24 02 Library Files lib 8 value2 54 T c switch lib 9 var valuel value2 5 value2 60 value2 60 02 PC 0000 01 Text Files tt 10 var valuel value2 valuel gt 20 valuel 20 value2 03 2 TT 3 LCD Files ed 12 svitch valuel 03 0 CFLAG 0000 00 i 2 Other Files 4 03 1 DCFLAG 0000 00 c switch MT codedefdata define 14 case 1 03 2 ZFLAG 0000 00 15 value2 1 zs 16 break 03 3 0000 00 T case 2 03 4 TO 0000 00 18 value2 2 A r 03 5 RAMBANK J0 rAtact OD A BRETT Ti 19 break H Project Manager Function i Editor ESSENT Register j RE z value2 3 i Manager and Memory 27 5 i 03 7 ROMPAGE 0000 00 z3 case 4 E 04 E 24 value2 4 04 7 0 FSR 0000 00 25 break 5 26 case 5 E 05 value2 8 05 6 0 PAD 0111 76 gt 6 06 z and the Searching Result Compiler Result Debug Result Ji 1 Introduction The TICE99IDE is a development tool of tenx technology inc we provide an Integrated Development Environment IDE for users to develop their code for tenx chips It supports TM57 serial chips and TMU serial chips for now The IDE contains 4 components They are editor project manager compiler and In Circuit Em
73. to move pattern is query attribute It provides Segment and Common information and you can move the pattern at the same time Once you finish use save file to save LCD file the extended file name is LCD This file can be added into project 75 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual 7 Shortcuts Function Shortcut File Save Ctrl S Edit Undo Redo Ctrl Z Ctrl Y Copy Ctrl C Cut Ctrl X Ctrl V Ctrl A Ctrl F Ctrl F3 5 Ctrl R Ctrl G Paste Select All Find Find Previous Find Next Find and Replace Go To Build Build F10 Rebuild FII Compile File F12 Build and Download to ICE Ctrl F10 Debug 4 Ctrl F4 5 Ctrl F5 6 Ctrl F6 7 Ctrl F7 F8 RFU Ctrl FS RFU 9 Ctrl F9 Ctrl B Short cut 1 Pause Run to Cursor Go Free Run Single Step Auto Single Step Step Over Auto Step Over Step Out Auto Step Out Reset ICE Initialize ICE Insert Remove Break Point Function Help Table 7 1 Shortcuts ON 1 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual Appendix A Meaning of LED on ICE board B V5 0 Power from AC Adapter B DONE FPGA download file success ICE can work properly 77 tenx technology inc Preliminary Rev 1 1 2013 01 28
74. ts You can collapse or expand the tree node if you only want to see the whole value of the register Once you collapse the tree node the whole value will be only shown in hexadecimal column 00 770 INDF 11111111 FF 255 1 770 T MER 11111111 FF 255 z PL 11111111 FF 255 o 03 03 7 R MPA 10000000 80 1 03 6 GBIT 0100 0000 40 1 D35RAMBA 0010 0000 20 1 03 470 0001 0000 10 1 03 3PD 0000 1000 1 03 2 2FLAG 0000 0100 04 1 03 1 DEFLA 0000 0010 02 1 t 020 EFLAR annn r 1 D4 7 0 FSA 1255 2 05 6 0 PAD n Hexadecimal D6 7 0 PBD 20 07 7 0 RSR 11111111 FF 255 E ne be 08B 7PWMDE 10000000 80 1 08 6 TIMZIE 0100 0000 40 1 m ri EF TIk41IE Fu A A0 1 F Flane Figure 1 10 Register 14 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual 1 7 Output Output panel shows information while compiling assembling and linking source code The information could include the information of warning and error You can double click the warring line or error line it will jump to the line of corresponding source code El m 7 Sr address of RAM variable is Ox24 Hex Value Gdd HL Range mots aming s mat E Generating DBJA MTP TP HEX file Dane Global Code Size 88 Wordis 58h Word s e Auto War Check Sum 1609 Check Device Status
75. tus Stack Program MetllOby 26 2 3 4 C Variables ASM F Planel ASM F Plane2 ASM R Plane 26 2 3 5 Output Find and Search Result 27 5 01 0 10556 m o 27 2771710 ca 27 Ze EO CCU E 28 EE RE 28 3 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual 28 ENIMS MERI e E 28 2211100170 29 LIIS ME 30 PASS Buld Rebuild E 30 2 5 2 Build and Download 10 IC EE 30 25 COMPE A cern eee ii si 30 eeler EE 30 PASSE Sg e ec m 30 PX gud 32 SE EE 32 2 6 2 Run tO Cursor ccccccceccececcscecccceccscecuccececcececeecececcscseececesceceececaecscstscesescecesceceecsceseecesescess 32 2 6 3 Go Free Run 32 2 50 d Single Step Aut SINS 1S Te D a 22 2077700 E 32 32 20 7m MAAN EE 32 2 6 8 Insert Remove Break Point Remove All Break Pomrnt 33 2 6 9 Debug with list file debug with source Die 33 34 2711111010 1 rl mm UTEM 34 2 7 2 Language Simplified Chinese 00 PY uv 0777777777 7 34 2 1916207 100 or 34 77 1UELUul ERK 34 2 7 5 Hex File Converter 34 PATROL x
76. uickly by edit functions they are Copy Cut Paste Delete as well as Select All If you want to recover back from a typo you can press Undo Once you change your mind from undo you can redo it Edit menu also provides a serial of search function including Find Find Previous Find Next Find in Project and Search then replace 2 2 1 Undo Redo When you encounter a typo you can use Undo to recover back the step that you typed Once you change your mind you can press Redo to do the action again 2 2 2 Copy Cut Past Delete Select All Copy Cut Past Delete and Select All can let programmers type their code more quickly 2 2 3 Find Find Previous Find Next Find in Project Find and Replace Go to You can use Find when you want to search a word or a letter in a file After you find one in you searching you can use Find Previous or Find Next to reach previous or next one target word directly If you want to search word or letter in a project please use Find in Project Find and Replace let you find out the word that you want to replace Go to will move cursor to the line you specified 25 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual 2 3 View There are many panels in TICE99 including Project Manager Function Viewer Memory Window Registers Viewer Output Find and Search Result C Variables ASM F Planel ASM F Plane2 ASM R
77. ulator ICE debugger TICE99IDE provides editor which allows users to edit modify the code Project manager manages all files inside the project including the C and ASM files Compiler will compile source code that users entered ICE can simulate ROM program execution and output the result Before the simulation process it must connect PC with TICE99 hardware The following we will focus on these four components of the application window in the IDE and providing a more detailed explanation The main component of IDE window can be divided into four parts to illustrate The first part is located on the upper left corner of the IDE window this window contains three functions project manager function manager and memory The upper right part contains only register tab page F Plane R Plane The middle of the area is an editor where you can edit and modify the program code on here On the bottom of the IDE it can be divided into three parts The lower left corner is the compiler linker program which will display messages which contains compiled outputs debug results and search results Second part of the bottom 1s variables which contains C variables and ASM variables The ASM variables can be divided into four parts F Planel F Plane2 R Plane and EEPROM If user begins to debug the contents of all variable of C and ASM will be updated automatically The lower right corner of debugging message contains three tab pages watch C variable ICE status
78. wn m UN in Stop mode 00 12 1 LV reset mode Disable 000 10 2 CLES Fast Clock Source Select FIRC 4MHz 0201 Byz V 5V Selection Ev WEC masimum workin s WOT ResetEnable daaa nun 5 FIRC frequency adjustme 5 E Value 0201 00 Mame MDTE TM57 Setting X SYST15 141 Ox0000 WOT Reset Enable Configuration Directories EV Options Value Disable WOT F Directories Include Path D Mten Programn T ICESSIDE STICESSIDE sre Pi Library Path D tengsPragram TICESSIDE TICESSIDE sre Reserved Memory Size for stkptr Ce j C 1Byte C 2Butes C 4 Bytes List of paths C Program Filesstens TICE OOIDE Beta Version 1 0 2Build01 4 C Program Filestenss TICE OOIDE Beta Version V1 0 2Build01E D VenhProg am TICE SSIDE 201 1044201 10406 D tenssPragram TICESSIDE 201106 20110627 c D tenssPragramsTICESSIDE 201107 20110725 c D tenssPragramsTICESSIDE 201108 20110804 c Default Upgrade To Code Path Default Upgrade To Code E Add Delete Figure 2 3 Project Setting 29 tenx technology inc Preliminary Rev 1 1 2013 01 28 Advance Information UM TICE99IDE E User Manual 2 5 Build Build can check the code you written whether it is correct or not and compile the code into an executable file bin file or an object file o file It can also download an executable file to the ICE for online debugging 2 5 1 Build
Download Pdf Manuals
Related Search
Related Contents
User Manual - Akashy Survey Toshiba Portégé Z15t-A1210 Flexible Incoming Call Restriction Feature / #1A ESS (経木シリーズ) チェーン式 取扱説明書 Whistler 1783 Radar Detector User Manual DataWorx PLC - AutomationDirect Epidemiologia do câncer de mama Copyright © All rights reserved.
Failed to retrieve file