Home
USER'S GUIDE
Contents
1. eese 2 1 2 1 Tools under File View and Voice View Modes ii 2 REV 2 A UTR Aui 2 1 2 2 eSL eAM IDE Main User Interrato 3 1 2 2 1 The eSL eAM IDE Sub Windows 3 1 2 2 2 eSL eAM IDE Menu Bar and its Commands 10 eo TOOD e 35 1 12 24 Document Bi osen r A erased USO DIESE 36 Pa SATUS B era ae 36 2 Getting Started with eSL eAM IDE 38 Zi ONION nani 38 2 2 Starting the eSL eAM IDE Program i 38 2 3 Create a New Project for SPI project refer to Appendix E 39 2 4 Add and Remove Source Files from to Project csse 4 2 4 1 Create New Source File for the Pro Ct a cueieee torpor ora oa sax vaa copa irene 4 2 4 2 Add the Existing Source Files to the New Project 42 2 4 3 Open Source File or Display its Path i 42 2 4 4 Deleting Source Files from PrOJeEct 43 2 5 Add and Remove Voice Files from to Project 43 2 5 1 Add Existing Voice Files to the PrOJECt 43 23 2 Encode speech Files in the PED Clio 45 23 Buld Midi Files in the PLO CCl oe criari lara 47 2 6 Edit a Source File From and Within the Project neseesssseeennsssssssserrrssssssssserrssssss 49 Zi SION dre eR mm 49 2 7 1 Compiler Assemble and Link Files to Generate Binary Fi
2. al A LAZ B Reed ATR AES Farm Watch Window IO Window f calls a Rend KI Call Stack Window eSL eAM IDE Main Window Layout 1 2 2 1 The eSL eAM IDE Sub Windows E Project Window File View Mode Project Filename prj and Projec type Target Microcontroller g source Files f READ_PROM ASM 3 ar Header Files Em Object Files E Library Files H List Files w Map File FileView Mode eSL eAM Series eSLZ000 IDE User s Guide The Project window under FileView Mode tab holds the Source Header List and Map Files Where Source Files asm c are the source assembly and c files that are added into the current project Header Files are the header files of source Object Files 05j are the object files that are added into the current project Library Files a are the library files that are added into the current project List Files st are the list files of source files Map Files map are the file generated by the linker e 3 Chapter 1 Gen The root node of the Project window shows your current micro controller project filename and Project type executable or library project B Project Type Executable Project are the project that can debug and download source data on simulator and ICEeSL Library Project are the project that can t debug and download source data o
3. PC O 7 O eSLZ000 Self test ok GOOD PD 0 7 ET x R2 Display Input pin can be anyone of Port B 15 0 or Port C 7 0 Output pin can be anyone of Port B 15 0 Port C 7 0 or Port D 7 0 Display pin can be anyone of Port B 15 0 Port C 7 0 or Port D 7 0 NOTE 1 Because the initial value of the Port D is Low D1 and D2 are turned ON after power on 2 The I O pin setting number should not be the same in input output and display 3 When checksum is fails the program jumps into the infinite loop eSL eAM Series eSLZ000 IDE User s Guide e 89 Appendix D D 3 Self Test Flow Chart Connected the delf test circuit Power ON Test LED D1 ON GOOD LED D2 OFF in Self testing mode Fail OK Check sum Fail Check sum pass D1 OFF Output D1 OFF Output D2 OFF Display D2 ON Display 90 o eSL eAM Series eSLZ000 IDE User s Guide Appendix E e Appendix E How to Create and Use External Voice Project E 1 Create SPI Voice Project Besides internal DROM it could be played from external ROM or SPI flash You could use External project to set related instrument and samples There were some steps as followed In External voice project 1 Create a new External Voice project x Files Projects Microcontroller Project Name E Locati
4. 2 4 1 Create New Source File for the Project If your source file is yet to be created you can take advantage of the New dialog by clicking New command from the File menu to create your new source file filename and use the ESL EAM IDE text editor to compose its content l Click the Files tab of the NEW dialog and select the type of source file you want to create from the EMC Source File list box 1 e asm default for assembly file c for C Language file and h for header file New the first assembler file asm eSL eAM IDE will include vector def register def eSLMacro def Interruptvector def and eSL or eAM speech melody macro define file eSLMSMacroDetfine def or eAMMSMacroDefine def automatically When new the first c file c eSL eAM IDE will include interruptvector h and include ecc extend h for each new c file NOTE In asm project eSLMSMacroDefine def or eAMMSMacroDefine def must be preceeded by interruptvector def In c project ecc extend h must be preceeded by interruptvector h Pre assign a jv Add to Project 3 EMC Source Files EMC Source File filename for the EMC Header File Project Name P1 pry new source file File Name Location Click to browse DDF Test FROM OF 7 for appropriate folder New Dialog Showing File Tab for Creating a New Source File eSL eAM Series eSLZ000 IDE User s Guide e 41 Chapter 2 G
5. D WD DAT AW ork esL esL prok te E Select library project New Dialog Showing Project Tab for Creating New Project eSL eAM Series eSLZ000 IDE User s Guide e 55 Appendix A A 2 1 2 Add and Remove Source Files from to Project Please reference Section 2 4 A 2 1 3 Edit a Source File From and Within Project Please reference Section 2 5 A 2 1 4 Build Project With your source file s inserted into the project you are now ready to compile your project With the source file s shown in the Project window Click Rebuild All command to assemble and link all inserted files regardless of having been recently modified or not Click Build command from the Project menu to assemble and link only those source files that were recently modified eSL eAM IDE will assemble and link all source files to generate binary a files using your project name as filename The binary file is automatically saved in the same folder where your source files are located Status of the assembly operation can be monitored from the Output window as shown below Building library speechlib a 0 exror z warmer Output Window Showing Successful Compile Assemble amp Link Compilation If error is detected during compilation pertinent error message will also display in the Output window Double click on the error message to link to the source of error from corresponding program text line in the Editor window ECC W
6. Type 2 1 C 5Kbps 7 3Kbps 9 6Kbps 11 9Kbps 14 2Kbps 16 5Kbps Type 2 2 C 3 6Kbps C 4 8Kbps 6 0Kbps 7 2Kbps C 84Kbps 9 6Kbps C 10 8KbpsC 12Kbps 13 2Kbps C 14 4Kbps Type 3 C 12Kbps C 16Kbps 20Kbps Type 4 C 24Kbps C 32Kbps 40Kbps Type 5 PCM Type 6 5Bits eDPCM C BBits eDPCM Plus Configuration Echo fo Enhance Disable Style IV Filter On Medium L Output DAC File Info d speechmp3 boaboal mp3 A 11025Hz Enhance Echo o sj M Filter ON Style Medium Select Speech Property for mp3and wma file 3 Play speech user can click D button to play speech Before the first playing the dialog will auto download builded speech data into ICEeSL 62 o eSL eAM Series eSLZ000 IDE User s Guide Appendix B Flay Midi amp Speech Dialog ical Re SINT il TY F rag Licwnload Speech Downoad DE Di _ __ I pa e B 4 Build and Play Midi B 4 1 Change Different Midi Tone Library What is midi tone library The midi tone library 1s the file 1np which collects different instrument or percussion data User can create this file from EZWave please refercnce EZwave Guide How to download midi tone library GT In this dialog we support default midi tone library Uuser can click d button to download defult midi tone library as new act
7. 0 After this setting the system will generate a breakpoint trigger at PC Ox8A Hardware Breakpoint Setting SEI Type CPC RAM I US C Revisterids0 HIE only RAW hexadecimal digits C RAV Read C Wite C RIN 0x00 0x7FFE I ADDRESS 0x00 0x IFFF orto UxFFFF rosta x00 0xFFFF MESE 0x00 0xFFFF I MASK 0x00 0xFFFF Iv Enable SETI M Enable SET2 Logic Select Run after Breakpoint trigger SETI gt SET Su i SETI OR SET2 e 0 2047 Iv Enable Breakpoint IV Enable Counter n 1 255 CANCEL Va eSL eAM IDE D ESLZ000 TEST_CODE CE_TEST ICE_TEST ASM ice_test asm E File Edit View Project Debug Tool Setting Window Help SHiBe pan AS E CH 1avP esas 68 O58 Li ice test asm ax RE SIRO P R3 R0 0x3F98 R3 1 eSL eAM Series eSLZ000 IDE User s Guide e 69 Appendix C e C 1 2 RAM Break Read Write The data memory breakpoints can be set to one of three modes address break address with data break address with data mask break 1n addition every mode support Data memory Read Data memory Write and Data memory Read or Write Data memory address from 0x000 to Ox IFFF for eSLZ000 platform others from 0x000 to 0x07FF Data memory data from 0x0000 to OxFFFF Mask data from 0x0000 to OXFFFF For example If user set RAM break condition as address with data write The RAM address as 0x50 data as
8. 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 eSL eAM IDE Program Main Window eSL eAM Series eSLZ000 IDE User s Guide Da Chapter 2 2 3 Create a New Project for SPI project refer to Appendix E To create a new project you need to configure your project by following these steps Open 1 From the Menu bar of the eSL eAM IDE main ad window A Insert Files into Project click on File or Project menu and choose New command from the resulting Pull down menu Insert Tones into Project Insert Percussion into Project 2 The New dialog shown below will then display 5 Build F Rebuild Al CHEF st Rebuild Source Code Files Projects Microcontroller Project Name Location DAD DATA Work eSL esL praojE Project Type Executable bin Browse Icon bul Select type HER AA New Dialog Showing Project Tab for Creating New Project eSL eAM Series eSLZ000 IDE User s Guide e 39 Chapter 2 Gen 3 Select Projects tab from dialog and assign a 1 Project Filename arget and Project Type Microcantroller name for the new project in the Project Name box suffix prj will auto append to the filenam
9. A 2 Create New Library file The eSL eAM IDE support two methods to create library A 2 1 Create library file from eSL eAM IDE A 2 1 1 New Project To create a new project you need to open eSL eAM IDE Save Close and configure your project by following these steps Insert Files to Project 1 From the Menu bar of the eSL eAM IDE main na n rt Perusian into Project window click on File or Project menu and choose a i New command from the resulting Pull down menu Rebuild Al CF st Rebuild Source Code 54 e eSL eAM Series eSLZ000 IDE User s Guide Appendix A 2 The New dialog shown below will then display 3 Select Library Project from Project Type combo box 4 Locate the folder where you want to store the new project You may use the Browse icon to find the appropriate folder 5 Select the target microcontroller for your project from the Macro Controller list box 6 Select the project type for your new project from the Type group box default Is ASM Project Type 7 Click OK button after confirming all your Executable or Library choices and inputs x eSL2000 speechlib files Library Proje The new project 1s created with the defined project name microcontroller Pe and project type you have selected ie Libary Fes displayed on top of the Project Ba window Library project only has File xs Files Projects Microcontroller Project Name Location
10. Available User RAM DS Size 165 words zn Speed amp Pitch Control When users enable speed pitch control the speed pitch control will be activated Besides when users enable speed pitch control and record option function at the same time real time pitch control function from the peripheral device A D converter will be activated This option only support at eSL serial body eSL128SA eSL256SA eSL512SA eSL eAM Series eSLZ000 IDE User s Guide e 29 Chapter 1 Gen eSL128A eSL256A eSL512A eSL032A and enable when select 2 channel and other speech option Beat Tracking When users enable tempo detection tempo detection function from the peripheral device A D converter will be activated This option only support at eSL serial body eSL128A eSL256A eSL512A eSLO32A and enable when select select 2 channel and other speech option Hand Writing Recognition When users enable Hand Writing Recognition which is under 1 channel play option the HWRE function will be activated User can use HWRE and 1 channel play in the same project but different time Only eSL512C can enable this function Speaker Dependant Recognition When users enable Speaker Dependent Recognition the relative library will be included There are five options for recognizable methods duration which are 2 words 3 words 4 words and extern memory And the later occupy more RAM size Speaker Independent Recognition When users enable Spe
11. eSLZ000 IDE User s Guide Chapter 1 Directory Option Dialog Project Setting Dialog Des LBDSPRINTT NewRom HW Eelessenclude D eSLEDGSPHBINTT NewRom_ HW edebug nclude esm speech melody source Directory Option Dialog supports user specify directories to search for header files and libraries Include files Add the directory dir to the head of the list of directories to be searched for header files This can be used to override a system header file substituting your own version since these directories are searched before the system header file directories Library files The linker searches a standard list of directories for the library which is actually a file named library The linker then uses these files as if it had been specified precisely by name Connect Setting Select which printer port is connected to ICEeSL eSL eAM Series eSLZ000 IDE User s Guide e 33 Chapter 1 Connect Fort 378H Cancel Connect Dialogue Window Menu New Window Open another window of the same file New Window you are currently editing for split window viewing Cascade Tije Cascade Arrange all open files in cascade z formation Arrange Icons Alpes iT Tile Arrange all open files editing in tile gt formation v Lhelloc Close All Close all open files im Windows 1 hello c Indicates number of files and filenames of source file s currently active in the Editor window Window
12. unsigned int _ ram ui a 2 2 2 s511 00541 zmain R E3 0014h 00543 lt main 00544 main 00545 main 00546 lt main 00547 lt main gt 00548 main LE BE JME OlFCh D NESLTESTMARRAYTYPE C 11 char __ram c_a 2 2 2 1 2 00549 main RO R3 001ch 0054B main R1 1 10h Me SL eAM Series eSLZ000 IDE User s Guide Chapter 1 Monitor Window The Monitor window show data which get from IO 0x7D Before use this window you must enable monitor data flag at menu Debug Enable Monitor Data and connect to ICEeSL Note The limit of sample rate for monitor data is 8K samples per second E Monitor Window Click Right mouse button you can change the format for time ruler Monitor Window Click Right mouse button you can change the format for level ruler B v Sample Value Hex Percentage ilo 1604 elfo flush buffer size FullScale Discrete PeriodAlign Clear Save so 4 100 MENENNNNNNNNNNEEEEENI gt 2000 a Zoom Selection Monitor Window 4 Monitor Window 8 950 Index ed n eee als tue sa E amp flush buffer size FullScae Discrete Peron Clear Save 50 4 o FullScale Discrete Periodign Clear Save so 100 flush buffer size Before Zoom Selection After Zoom Seletion eSL eAM Series eSLZ000 IDE User s Guide e 15 Chapter 1 Full Zoom Out Monitor Window x D 3 933 flush buffer size
13. 0x9ABC logical function as SETI OR SET2 Loop counter as 1 Run after breakpoint trigger as 0 After this setting the system will generate a breakpoint trigger at PC 0x013E Hardware Ereakpoint Setting D pite tel EXT Cro 0 Recistenikl Ero miite only R N hexadecimal digits v Read Write OR Ww ADDRESS 50 0x00 0x1FFR M ADDRESS 0x00 0x IFFF SABC 0x00 0 DATA 0x00 OxFFFF MASK 0x00 OxFFFF M Enable SETI F Enable SETA Logic Select Fun after Breakpoint trigger SETI gt SETZ E BEES 0 2047 SET OR SETZ Iv Enable Breakpoint Iv Enable Counter Em 1 255 CANCEL 70 o eSL eAM Series eSLZ000 IDE User s Guide Appendix C CT TESTE TESTA i E E File Edit View Project Debug Tool Setting Window Help e x ld i SA o o PD MS sselmtgue m mdmoee 7 ice_testasm BE De m E PROM 32589 of 32768 words used 99 45 DROM 0 of 524288 words used 0 00 C 1 3 I O Break Read Write The I O breakpoints can be set to one of three modes address break address with data break address with data mask break in addition every mode support Data Read Data Write and Data Read or Write I O address from 0x00 to Ox7F I O data from 0x0000 to OXFFFF Mask data from 0x0000 to OXFFFF eSL eAM Series eSLZ000 IDE User s Guide e 71 Appendix C For example e ae If user set IO break condition as address with data read
14. 4000 4000 4000 4000 4000 4000 4000 4000 D d CE verity PROM data 0020 00FF 0000 0000 FFFF AAAA ARAA AAAA 0000 4000 4000 4000 4000 4000 4000 4000 4000 ICE verify PROM data OK 028 0000 0000 0000 0000 0000 0000 0000 0000 4000 4000 4000 4000 4000 4000 4000 4000 0000 0000 0000 0000 0000 0000 0000 0000 4000 4000 4000 4000 4000 4000 4000 4000 0000 0000 0000 0000 0000 0000 0000 0000 4000 4000 4000 4000 4000 4000 4000 4000 0000 0000 0000 0000 0000 0000 0000 0000 4000 4000 4000 4000 4000 4000 4000 4000 0000 0000 0000 0000 0000 0000 0000 0000 v 4000 4000 4000 4000 4000 4000 4 000 4000 FAST MM sin 05 Coll DOS Red NUM eSL eAM Series eSLZ000 IDE User s Guide e 81 Appendix C e C 1 7 Run After Breakpoint Trigger This item means the system will run how many instructions after break has trigger The dialog can be fit instruction number from 0 to 2047 When break has trigger whether SET condition occur firstly or SET2 the instructions counter will start If SETI has trigger and instructions number over than SET2 the SET2 break can t be trigger The same as SET2 has trigger and instructions number over than SETI the SETI break can t be trigger Note RPT instruction as one instruction number For example If user set SETI break condition as RAM break that address read The RAM address as 0x55 logical function as SET OR SET2 Loop counter as 1
15. As Save current active document save ATT under new filename Open Project Save All Save all current active documents save Project Open Save Close Open Save Close the active project Close Project Project Print Print the active document Print Ctrl P Preview Preview the printed format of the Print Preview active document Print Setup l l l Setup Define printer settings Recent File i i ra Recent Files View the record of the recently Recent Projects closed file Exit Recent Project View the record of the recently closed project Exit Exit from eSL eAM IDE Program 10 e eSL eAM Series eSLZ000 IDE User s Guide E Edit Menu gt Undo Ca Redo lt Backspace hift Delete Cale Cale V db Cut Copy GA Paste select All Go to Line ib Find Find in Files Replace Cil Cleo Ctrl F CtlH View Menu View Toolbars v Status Bar Iv Contro Bar Captions v Gradiend Captions m Project Iv mpecial Register v RAM Bank v IO E Output Iv Document Bar ROM Status Trace Buffer Debug Windows d Monitor Window Undo Redo Cut Copy Paste Select AII Go to Line Find Find in Files Replace Toolbars Status Bar Control Bar Captions Project Special Register IO RAM Output Document Bar ROM Status Trace Buffer Debug Windows Monitor Window eSL eAM Series eSLZ000 IDE User s Guide Chapter 1 Cancel the last ed
16. Guide New Open Save Close Insert Files to Project Insert Special Register Insert Tones into Project Insert Percussion into Project Chapter 1 Create a new project Open an existing project Save the active project together with all related data Close the active Project window Insert program source files into project Insert Special register into Special register window Insert music tones into project Insert percussion into project Compile modified files only Compile all source files and all voice file regardless of their recent change status Compile all source files regardless of their recent change status Toggle ICE SW Toggle Machine Cycle Enable Monitor Data Go Free Run Run to cursor Reset Switch to ICE or Simulator to debug program by simulator or ICE Enable Disable Get Machine Cycle count Enable Disable Monitor I O Address Data Run program starting from the current program counter until breakpoints are hit Run program starting from the current program counter until Break Execution command stop debugging occurs Run program starting from the current program counter up to the location where the cursor is anchored applies to ICE debug mode only Perform hardware reset register contents are displayed with initial values e 19 e Chapter 1 ae Step Into Execute instructions step by step with register contents up
17. ROM or The Data of the current RAM address ROM or RAM address Watch Window When value change the font will change to red color RamReserve RAM 0x0000 EquY alue OxD00a RomReserve ROM Ox 2e3 EQU Symbol no address value eSL eAM Series eSLZ000 IDE User s Guide e 13 Chapter 1 Watch Window for C Project The current data memary You can use mouse right click address at ICEeSL to exchange hex and decimal Watch Window When value changes it 15 shown m red ji RAM Ox07fe ia RAM OxO7 3 i O 0x0 RAMI 0x0783 3 LE x00 RAM 0x0783 ue O RAM 0x07 2 Ustttt Lf RAM DXUTA Oxfffe LE 0x01 RAM 0x0785 l 10 RAM 040785 Oxtttd L 1 RAM 0x0786 Oxdffc LE 0 01 RAM 0x07f7 eu 0x00 RAM Oxf me 0 01 RAM 0x0719 fo E Disassembly Window The Disassembly window shows your target program as assembly code The highlighted instruction shown indicates the Active procedure You also can select the Disassembly Window as the active window to debug your target program but take note that eSL eAM IDE does not allow user to set breakpoint in the Disassembly window El Disassembly Window E test dis 00536 main BO R3 00a0h 005386 Mei gt LUT O0 Linh Ro R3 000ch zmain i 00h lt main i USh zmain R1 imain imain zmain IF NE JMP O1FCh Li ESLTESTSARRAYTCBE Celi
18. Run after breakpoint trigger as 6 After this setting the system will generate a breakpoint trigger at PC 0x014E Hardware Breakpoint Setting Type e PC e po CPC CRAM CHO Register RU RY write only fe Resistere Ry waite only R W hexadecimal digits RAI hexadecimal digits amp Read Write RAW Read Write C OI W ADDRESS OxDO Ox IFFF ADDRESS 0x00 0x0007 F DATA COxOUO DxFFFP TM MASE Ox00 OxF PPP M Enable SETI Logic Select SETI gt SET2 SET OR SETA Iv Enable Breakpoint M Enable Counter foi 1 253 Eun after Breakpoint trigger IW DATA SASA Ox00 0xF FFF MASK OxOO OxFFFF F Enable SETZ eSL eAM Series eSLZ000 IDE User s Guide Appendix C l DTE DAESLZOQATEST CODEMCE TESTUCE TEST SM ice testasm alx Ip File Edit View Project Debus Tool Setting Window Help H fa x E E AST7 RIEUPA Ig 000808 ice testasm alz RB 0 E DE JeS1Z000 ice_test f nue m Oxa A Source Files R2 0x300 RI 00000 p ice testasm B3 Ox m x585 4 Header Files D R2 RI 55 R3 OxFFFF S register def RO 0x93e4 i Al IO PORTA RO 7 10 write test write 029904 to 10 0206 R Ox00FE aA Library Files i 7 B x24 List Files p3 MS RO ODIFE A ice test st R OeGARC Ri OOO a Map File R3 R2 data memory write test write Ox9ABC to DM Ox50 UK E R3 0x55 R2 0x5670
19. ar Save so 4 100 flush buffer size ar save so 4 100 Before Full Zoom Out After Full Zoom Out Full Zoom Iin Monitor Window zi 3 790 8 861 8 862 8 863 8 864 8 865 8 866 8 867 flush buffer size ar Save so 4 100 flush buffer size ar __save_ 50 4 100 Before Full Zoom In After Full Zoom In ey Zoom Out Monitor Window l x al b 3 782 flush buffer size ar Save 50 4 100 MEN flush buffer size ullScale iscrete eriod Align ear Save 50 4 100 Before Zoom Out After Zoom Out 16 e eSL eAM Series eSLZ000 IDE User s Guide Chapter 1 ra Zoom In Monitor Window 8 778 8 780 8 782 8 784 8 790 flush buffer size FullScae Discrete Periodign Clear Save so 4 100 flush buffer size FullScale Discrete Perin Clear Save so 4 100 RR gt 2000 Before Zoom In After Zoom In liy o Zoom Bar Monitor Window flush buffer size FullScale Discrete Period Aign Clear Save so 4 100 flush buffer size flush buffer size FullScale Discrete PeriodAign Clear Save so 4 aoo FullScale Discrete PeriodAign Clear Save so 4 l oo gt 2000 After zooming in After zooming out eSL eAM Series eSLZ000 IDE User s Guide e 17 Chapter 1 Full Scale Set all samples full scale Monitor Window P xi 9 Index flush buffer size FullScale Discrete PeriodAign Clear Save 50 4 50 flush buffer size FulScale Discrete Pain Cl
20. defined breakpoint is cleared if F9 or the hand icon is clicked the second time with the cursor positioned on the defined breakpoint To clear all existing breakpoint click Clear All Breakpoints command from Debug menu or its icon from Toolbar Note that this method of clearing a breakpoint will also remove the breakpoint footprint Otherwise to Disable or Enable all existing breakpoint click Enable Disable All Breakpoints command from Debug menu or its icon from Toolbar Note that this method of disable or enable all breakpoints will also disable or enable all breakpoint footprints eSL eAM Series eSLZ000 IDE User s Guide e 51 Chapter 2 DEE O mp TI C1 s n O Ci E qn NM 3 S 52 e Gen 2 8 2 Debugging Tools Start and perform debugging with the following commands from the Debug menu or their pertinent icons from Toolbar ICE SW Switch Debugger mode between ICEeSL and Simulator Go Run program starting from the current program counter until breakpoints are hit Free Run Run program starting from the current program counter until Break Execution command occurs All defined breakpoints are ignored during free run Step Into Execute EZ parameter step by step with register contents updated at the same time Step Over Same as Step Into command Run to Cursor Run program starting from the cur rent program counter up to the location where
21. eAM Series eSLZ000 IDE User s Guide e 83 Appendix C Gen C 1 8 Hardware Breakpoint Supported Instructions 1 PC break all instructions type can support but RPT inner instruction not supported 2 RAM break all instruction type can support but RPT inner instruction not supported 3 I O break only support following instruction type a BS IO address b address from 0x0 to OxF b BC IO address b address from 0x0 to OxF c BTG IO address b address from 0x0 to OxF d Rd IO address address from 0x0 to 0x7F e IO address Rs address from 0x0 to 0x7F f PUSH IO address address from 0x0 to 0x7F g POP IO address address from 0x0 to 0x7F 4 Register break only supports the following instructions a Rd Rs operate Rt b Rd operate Rs c Rd Rs d Rd Rs e Rd RAM address f Rd imm16 g Rd imms h Rd Rs i Rd Rs p Rd P Rs k Rd P Rs 1 POP Rd m SWAP Rd 84 e eSL eAM Series eSLZ000 IDE User s Guide Appendix C eSL eAM Series eSLZ000 IDE User s Guide e 85 Da Appendix D Appendix D How to Use Self Test D 1 IDE Tool Self Test Function Setting After opening an existing or new project click the Setting menu and click Project JEW ESLZ000 ICE CHIP TESTYDE TOOL ESLIDEYO 1 De bag Tool Setting Window Help From Project Setting Dialog enable the Enable self type check box to allow IO port
22. eSL eAM Series eSLZ000 IDE User s Guide e 23 Chapter 1 im SPI Data Flash Download data to ICEeSL SPI Data Flash 24 e eSL eAM Series eSLZ000 IDE User s Guide Chapter 1 ae EMF Download Boot Flash Download data to EMF Boot Flash DROM Flash Download data to EMF DROM Flash SPI Data Flash Download data to ICEeSL SPI Data Flash Play Midi and Speech Dialog please refer to Appendix B Play Midi 4 Speech D ialog i E al EE Tool Bar Output Bar Control Bar status Bar Open and build midi file user must select form type fisrt Open and build speech user must select coding type first Connect ICE Change Midi tone library Instrument And Percussion Load IDE support default Midi tone library file Info output active Midi tone library file builded midi and speech file eSL eAM Series eSLZ000 IDE User s Guide e 25 Chapter 1 26 e Gn Control Bar Play midi or speech button Pause midi or speech playing button Stop midi or speech playing button Restart Reset playing button No Repeat playing midi or speech button Repeat playing midi or speech button Sound on button Sound off button Volume slider bar Output Bar The Output bar displays messages indicating results of midi or speech compiling just performed such as connection midi or speech file information and change inp InstrumeNt Project data including their respective er
23. external data flash esLieAM IDE c X Ba o a Generate Mask File Play Widi Speect Download FROM Download DROM Download SFI 94 e eSL eAM Series eSLZ000 IDE User s Guide Appendix E en E 3 Other Settings E 1 1 Speech Project If the coding type of speech was not selected in speech project user must manually insert new coding type from coding type setting option The SPI speech play setting would be completed User could play speech from external SPI flash esL eAM IDE File Edit Wew Project Debug Tool Setting Window Help gt ld ie BS G cue ne Project Ss flor M Connect Coding ype stack Size IDE Setting Coding Type Dialog Coding Type M Type TO Types PCM Cancel eSL eAM Series eSLZ000 IDE User s Guide e 95 Appendix E E 1 2 Melody Project 1 First users must know related instrument list percussion instrument list Tone file and percussion file would show out vlg file in SPI and melody project Users must combine related tone instruments and percussion instruments in SPI and melody project So users could insert new instruments percussion instruments tone files and percussion files in melody project NOTE Instrument percussion instrument tone and percussion files are in vig file of project 022 Harmonica 22 C5 43929 words emp 022 C6 5353 words O56 Slap Bass l smp 036 C3 15215 words 004 Rhodes piano emp 00
24. node contains two child nodes Auto and Manual Initially Auto node is empty even if the MIDI files have been added into the voice project Only after the Build or Rebuild All command is executed from the Project menu that the eSL eAM IDE starts to automatically collect the instruments from MIDI file and display them under Auto node On the other hand you can manually add instruments into the voice project by clicking the Insert Tones into Projects command from Project menu or clicking mouse left button at the Manual node under Tone node in this window and select the desired instruments from the resulting Insert Tone dialog The selected instruments are then shown under the Manual node eSL eAM Series eSLZ000 IDE User s Guide e5 Chapter 1 Gen Percussion Node contains the percussion instruments defined by your MIDI files Like the Tone node above the Percussion node also consisted of two child nodes Auto and Manual It is also initially empty regardless of the presence of MIDI files in the voice project Only after clicking the Build or Rebuild All command from the Project menu that the eSL eAM IDE starts to automatically collect the percussion instruments for MIDI files and display them under Auto node Likewise you can manually insert percussion instruments into the voice project by executing the Insert Percussion into Projects command from Project menu or clicking
25. sample rate and Bit Rate The Bit Rate will exchange between different coding type and different sample rate Code Type eSL eAM IDE support Typel Type6 coding type for eSLZ000 eSL032A eSL128A eSL256A and eSL512A others only support Type4 Type 5 Type 6 Default 1s Type 3 and bit rate is 12Kbps Plus Configuration include echo from 0 5 style hard medium and soft and enhance Mark Number set the max mark number for indicate speech file Enable Beat Tracking Enable this function IDE will automatically add beat tracking flash on and flash off marker into wave NOTE 1 Default flash On marker number is the maxinum number in marker number combobox 2 Defualt flash Off marker number is the the maxinum number 1 in marker number combox 3 The beat tracking markers are accurate when wave sample rate is 8K Play Control Panel eSL eAM IDE allow user can immediately listening speech data status through select different code type plus configuration and playing option You can listens speech from PC software or ICEeSL hardware x ES e3L 128 ctry files Executah E Tone Playing Option include upsample and output port These options are only enable at hardware connected status Filter On used to make the wave sound smoothly Output port includes three interfaces DAC p PWM 32K and PWM 64K P Besides using Speech Property Dialog L you also can select Overview all speech files option by R Click mouse a
26. setting eSL eAM Series eSLZ000 IDE User s Guide e 87 Appendix D 88 e Project Setting Dialog Compile Linker Customize v Auto download voice data only for Executable Proyect v Auto verify PROM only for Executable Project Use Basic Peripheral function Macro Body Type JeSLZ000 Power On Frequency 16 384MHz SPI Data Format BYTE m System Applied Voltage 3 Bateries d 5 id PORTO Applied Voltage E Bateries Vi Self est Bee TEINT lt lt Input Port select sof Enable self type Se Input FORTC Je Output PORTD Output Port select isplay 3 La Str plody Channel Option aee Display Port select 2 or Melody only PF 81482 or SI Melody S1 support algorithm Type 2 4 5 only C S482 o amp l4 Melody Support all algorithm f No Speech and Melody Available RAM size from Address On to Address Chr FFF eSL eAM Series eSLZ000 IDE User s Guide La Appendix D D 2 Self Test I O Application Circuit When power is switched ON output signal is initially High then turns to Low At the same time DI is turned ON and enters into the self testing mode When self testing is completed output signal becomes High and D1 turns OFF If checksum fails Display 1 D2 will then turns OFF Otherwise checksum Ok D2 is turn ON yeg O Self testing on TEST PB 0 15 1 Switch S1 in Input RI NS Output
27. the numeric keypad calculator mode is off highlighted when on B Scroll Lock key SCRL is dimmed when cursor control mode is off highlighted when on 36 e eSL eAM Series eSLZ000 IDE User s Guide Chapter 1 eSL eAM Series eSLZ000 IDE User s Guide e 37 Chapter 2 Chapter 2 Getting Started with eSL eAM IDE 2 1 Overview This chapter provides a step by step description on B How to create a new project under File View Mode B How to add remove existing source file in a project B How to build projects B How to debug a project 2 2 Starting the eSL eAM IDE Program To start eSL eAM IDE Program click on the eSL eAM IDE icon from desktop or from Windows Start menu When starting from the Start menu click Programs then look for eSL eAM IDE group and click on eSL eAM IDE icon Once the program 1s started the main window of the program displays File Edit View Project Debug Tool Setting Window Help Gg X868 o o Ims MAS uom ix F220 010C 09FB C6CF EOAE 5BA5 ADAF 79C2 B3D9 05F1 1B E EE2C 7241 344B 3F4A F842 0178 008E 4410 0116 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 6431 D11C 67FA 72CE E7AE 99A5 FBAF D2C2 16D9 7FF2 890E 302C 7E42 204B 084A A242 F631 1C1B BSFA 1DCD F4AE DBA5 54AF 3DC3 82D 08F2 010F 772D 8F42 084B CF4A 4541 7531 591B F1F9 C3CC 01AD 2FA6 BEBO AACI 71DA 9BF3 810F C32D 9842 F 24B 8F 49 E441 FO30 7B1A 19F8 SFCC OEAD 67A6 37B0 2DC4
28. with mask The IO address as 0x07 PORTB data as OxFFC6 mask as OxFFOO low byte don t care logical function as SET OR SET2 Loop counter as 1 Run after breakpoint trigger as 0 After this setting the system will generate a breakpoint trigger at PC 0x014B Hardware Breakpoint Setting i pr i X C Do C Eecistenk0 ds vite onlay RAW hexadecimal digits 0 Read rte COIT M ADDRESS SU 0x00 0x FPP Dee SAEC 0x00 OxFFFF leer Ox00 UxFFFF F Enable SETI Logic Select SETI gt SET2 SET OR SETA Iv Enable Breakpoint M Enable Counter 5mm 1 253 Eun after Breakpoint trigger I num 0 2047 PC C RAM TO C Fesister RO RY write only Bei tiresadecimal digits Read C Vitta C RAW m ADDRES AE x 00 0x0079 FFCG odoo 0xFFFF FF00 k00 0xFFFF Iw Enable SETS cance eSL eAM Series eSLZ000 IDE User s Guide Appendix C eSL eAM IDE D ESLZO0ONTEST_CODENCE_TESTICE_TEST ASMI ice_test asm PROM 32589 of 32768 words used 99 45 C 1 4 Register Break RO R7 Write Only The register breakpoints can be set to one of three modes address break address with data break address with data mask break but in register domain only support address write Data Write Register address from 0x0 to 0x7 Register data from 0x0000 to OXFFFF Mask data from 0x0000 to OxFFFF eSL eAM Series eSLZ000 IDE User s Guid
29. 04 4 Source Files DEBUG_TEST PI 0x0000 8 ice testasm R2 0x300 R2 5678 Header Files R3 0x2 3 resister def D R2 R3 88 iodo i ei RO 0x993c4 n OxO5FE TO PORTA RO 10 Write test SETI break condition trigger R4 0x3FE Rb 0 LOS IPC 0142 Ra 0x050 RZ 0x9ABC Ra 0x55 R2 0x5678 n to DM UXSS SET2 break condition trigger B 0 R2 R3 data memory reaf t ROM Status System will generate breakpoint IO PORTB I0 wpad test rpad Ee PROM 32588 of 32768 words used 99 45 R4 0x7 F3 0x0 LOOP R4 R3 R2 R3 R5 ENDL NEUE DROM 0 of 524288 words used 0 00 R1 0x0 RO 0x100 JME DEBUG TEST RET R4 1 gt P R0 R1 RAM data move to program memory n R5 0xFF hi 3 Voice View FileView ICE download PROM data DO 9008 0000 0058 0000 0000 0000 93C4 FFFF PROM Download ICE Reseting 3A5A 55A5 5A5A A5A5 5A5 A5A5 5A5A A5A5 0000 0000 0000 0000 8000 0000 0000 0000 0006 SASA ASAS SASA ASAS SASA ASAS SASA ASAS 0142 1A4F 0000 0000 0153 0154 0000 0000 0010 1212 2323 3434 4545 5656 6767 7878 8989 ICE download PROM data OK D000 0000 0240 0000 0000 0000 00 0018 9494 ABAB BCBC CDCD DEDE EFEF FOFO 0101 ICE verify FROM data OFF 0000 0000 FFFF AAAA AAAA AAAA 0020 1122 2233 3344 4455 5566 6677 7788 8899 ICE verify PROM data OKI 1028 0000 0000 0000 0000 0000 0000 00 0028 9944 AABB BBCC
30. 4 C5 23706 words emp 004 Ch 10728 words O24 Acoustic Guitar Nylon emp U24 C4 17957 words emp O24 Ch 13579 words emp 024 Ch 7774 words 2 Percussion Auta SMD POSSH 1501 words SMD POSSH 2917 words SMD PO46H 21670 words SMD PUSSH 0686 words 3766 words 1374 words 96 o eSL eAM Series eSLZ000 IDE User s Guide Appendix E 2 If there were not related instrument or percussion instrument in melody project you could insert manual instruments from manual dialog User could insert desired instruments Project x Fl eSL512 MELODY E43 Tone El ADI Auto 22 Ha 036 Sl 004 Eh U24 Ac B TI Fercussior E Auto FOVOH FOSSH Insert Tone OD Bright Acoustic Pinno O10 Music box 1 xnbehn ne eSL eAM Series eSLZ000 IDE User s Guide IInstrument li 1 0x00 20x01 6 0x05 Dest Instrument e 97 Appendix E e 3 After inserted manual instrument or percussion instrument user could select related wave samples Instrument list 1 Tone instrum z l Use FE 036 024 Ha 0x02 004 036 S UxUs Usd __ 004 Eh Percussion 1 0x00 07O 0x01 035 C Auto i 070 FUYOH 4 Finally you rebuilt melody project and run user s melody project on the ICE chip 98 e eSL eAM Series eSLZ000 IDE User s Guide
31. 8 words used 0 00 trigger C 1 6 Loop Counter The loop counter can be setting from 1 to 255 default set to 1 If user defines logical select is SETI OR SET2 the SETI break and SET2 break will be count together When SET 1 break and SET2 break count times equal user define count times the system will generate a breakpoint trigger If user define logical select is SET1 SET2 the loop count will be increase one only at SET1SET2 break condition trigger eSL eAM Series eSLZ000 IDE User s Guide e 77 Appendix C e Example 1 SET1 OR SET2 If user set SETI break condition as RAM break that address with data writ The RAM address as 0x55 data as Ox5678 SET2 break condition as register break that address with data write The address as 0x02 R2 data as OxSASA logical function as SET1 OR SET2 Loop counter as 3 Run after breakpoint trigger as O After this setting the system will generate a breakpoint trigger at PC 0x0142 Hardware Breakpoint Setting Type e PC e po C RAM VO C FegisteriK0 R72 write only OxOO OxFFFF Iw Enable SETZ Eun after Breakpoint trigger I num 0 2047 Logic Select SETI SET2 Iv Enable Breakpoint M Enable Counter am cancer 78 e eSL eAM Series eSLZ000 IDE User s Guide Appendix C HSC RIBUPA sER d6088E Ice testasm Projet l DE R5 0 E RB 0 deSLZ000 ice_test fi Dp 0 93
32. ARN CD ATES TLIBRARY alc 31 non ANSI rules misine prototype for testl ECLCERR COATES TLIBRAR Y al c 7T missing id undeclared identifier c ECO WARN CD ATES LIBRARY alc 15 non ANSI rules old style function definition for teste ECC WARN CD ATES TLIBRARY alc 13 non ANSI rules missing prototype for teste speechlib a 1 error s 4 wanes Output Window Showing Compiler Assembler amp Link Compilation Errors 56 o eSL eAM Series eSLZ000 IDE User s Guide Appendix A Modify source files to correct the errors and repeat Compiler assembler and link operations NOTE 1 eSL eAM IDE doesn t support debugger in Library project 2 Library project only has File view 3 Library project cant insert voice file A 2 2 Create Library File from Library Tool User can create new library file form library tool by Exit following these steps 1 From the Menu bar of the tool main window click on File menu and choose New library command from the resulting Pull down menu 2 The New Library dialog shown below will then display 3 Locate the folder where you want to store the new file You may use the Browse icon to find the appropriate folder 4 Click OK button after confirming all your choices and inputs alli New Library File Mame newiib Ok File Path D AEDSPIDE led_pil Cancle eSL eAM Series eSLZ000 IDE User s Guide e 57 Appendix A A 3 Library Tool S
33. CCDD DDEE EEFF FF00 0011 30 0000 0000 0000 0000 0000 0000 00 40030 0011 0022 0033 0044 0055 0066 0077 0088 D000 0000 0000 0000 0000 0000 00 0038 0099 0084 00BB 00CC 00DD O0EE 00FF 0000 D000 0000 0000 0000 0000 0000 00 0040 1100 2200 3300 4400 5500 6600 7700 8800 D000 0000 00 0046 ASAS SASA ASA5 SASA 0000 4000 4000 4000 k 23 F Ready FAST EH Lado Dos Red NUMI eSL eAM Series eSLZ000 IDE User s Guide e 79 Appendix C e Example 2 SET1 SET2 If user set SETI break condition as RAM break that address with data writ The RAM address as 0x55 data as 0x5678 SET2 break condition as register break that address with data write The address as 0x02 R2 data as OxSASA logical function as SET1 SET2 Loop counter as 2 Run after breakpoint trigger as O After this setting the system will generate a breakpoint trigger at PC 0x014E Hardware Breakpoint Setting Type e Pe Gram Do Lo CRAM Do C Fegister K0 R72 write only Iw Enable SETZ Fun after Breakpoint trigger num 0 PIET Iv Enable Breakpoint Iw Enable Counter ZI CANCEL 80 e eSL eAM Series eSLZ000 IDE User s Guide Appendix C PESE IDE DSESLZQ00 TEST_CODEMCE_TESTYCE_TEST ASM ice_testasm migUPS 3359005695 ice_testasm Project BE R5 0 a Register n ajz z Ro 0 eSLZ000 1ce_te
34. ESS and DATA enabled Hardware Breakpoints is only enabled at Debugging mode eSL eAM Series eSLZ000 IDE User s Guide e 21 Chapter 1 Hardware Breakpoints Dialog refer to Appendix C Hardware Breakpoint setting Type i f PC C RAM CIO C Register R0 R7 write only Four Domain RAW hexadecimal digits RIV hexadecimal digit Real C Wie C EW Read C Write C R W v ADDRESS 7 0x00 0x0007 ADDRESS 0x00 0x FFF DATA UxD OxFFFF DATs 0x00 0xFFFF M Mask 0x00 0xFFFF Misk ADx0 OxFFFF v Enable SET v Enable SET2 d Logic Condition r Logic Seleet Run after Breakpoint triggei Pre Trigger gt SETI SET2 Su 9 3 C SETI OR SET2 27 2047 v EnableCcunten 1 1 255 Loop Counter PC counter break read write You can set an immobile PC value to trigger break PC range from 0x0000 to Ox 7FFF RAM break read write The data memory breakpoints can be set to one of three modes address break address with data break address with data mask break in addition every mode support Data memory Read Data memory Write or Data memory Read or Write Data breakpoints will work in internal data memory Data memory address from 0x000 to Ox IFFF for eSLZ000 platform others 0x07FF Data memory data from 0x0000 to OXFFFF Mask data from 0x0000 to OXFFFF 22 o eSL eAM Seri
35. F10 Step Into F11 Break Execution F6 Exit Debugging F8 Reset F12 Insert Remove Breakpoint F9 Disable Breakpoint Ctrl F9 Clear All Breakpoints Enable Disable All Breakpoint Get Machine Cycle Count Show Disassembly window e 35 Chapter 1 Gn 1 2 2 4 Document Bar ca BCGDEey Splasher cpp ctd fx cpp ia testasm The Document bar displays the buttons representing each of the active files in the Editor window Click the button of the pertinent file that you wish to place in front of the Editor window to perform editing function is similar with taskbar buttons under Windows 1 2 2 5 Status Bar Keyboard mode Cursor position Ready Ln8 Cel5 DOS OVE CAP NUM ECRL z ICEeSL running indicator Text file OS format R W flag While your project is being debugged with ICEeSL an ICEeSL running indicator will show in the status bar The Cursor position indicates the cursor location within the text Editor window Text file OS format is DOS MAC or UNIX R W flag indicates the active file Read Write status If Read only Read will display otherwise the field is empty Keyboard mode displays the status of following keyboard keys B Insert key OVR is dimmed when overtype mode is off highlighted when on B Caps Lock key CAP is dimmed when uppercase character mode is off highlighted when on B Num Lock key NUM is dimmed when
36. LAYMELODY Al el Insert Files into Project EMBO cirram asm ls EMB headtail asm Insert special Register e EMBO read amp key asm Insert Tones into Project melody asm TER nap asm Insert Percussion into Project La PLAYMELODY ASM t Build Fi Rebuild All CE E File name EMEO_clram ge Eebuild Source Code Files af type Assembly Files asm L ancel Project Menu Insert File into Project Dialog 2 Ontheotherhand you can clicking mouse left button at the Speech File Midi File and User Data node in voice view window eSL eAM IDE will pop up one pop menu for you to select the desired file from the resulting Insert Files dialog The same the selected file will insert at corresponding node in the voice view window Project XJ Add Files to project Overview AL Speech Files Inport Speech vpq Export Speech vp 7 VoiceWiew E Insert voice file by clicking mouse left buttom 446 eSL eAM Series eSLZ000 IDE User s Guide Chapter 2 2 5 2 Encode Speech Files in the Project User can click mouse left buttom at indicate speech file and open Speech property dialog to select speech option to encode speech file E13 eSLZ000 test files Exect D Tone Select indicate speech file Set speech option by clicking mouse left buttom Speech Property Dialog D Test
37. R3 R2 data memory write test write x56787 to DM 0x35 LOOP R4 Rb Bb SETI break condition trigger ENDL R2 R3 85 data memory read test read DM Dx55 to R2 R3 IO PORTR NOP R2 0xSaSa RS COM F 7 10 read test read IO UxD7 to R3 Ri 0x0 LOOP R4 R34 R2 Run after breakpoint trigger R3 R5 ENDL number 6 instruction NOP R4 g xI DROM 0 of 524288 words used 0 00 Rl 0x0 R3 IO PORTB NOP RD 0x100 JMP DEBUG TEST R2 1 0x5a R2 h 0x5a RPT R4 10059994 n5 COMR2 R5s 0xFF 8008 DODD 0058 DODO D0D0 O00 93C4 FFFT PEPE POER ERSTE 0000 0000 0000 0000 3000 0000 0000 0000 UDO FEFF FFFF 5ASA ASAG 5ASA ASAD DADA ASAS 014E 1A4F 0000 0000 144 0000 0000 DI 00 4000 4000 4000 4000 4000 4000 4000 0000 0000 0240 0000 000 0000 0000 00 4000 4000 4000 4000 4000 4000 4000 00FF 0000 0000 FFFF AAAA AAAA AAAA 0000 1020 4000 4000 4000 4000 4000 4000 4000 4000 0000 0000 0000 0000 0000 0000 0000 0000 IE 00 4000 4000 4000 4000 4000 4000 4000 0000 0000 0000 0000 0000 0000 0000 0000 0030 4000 4000 4000 4000 4000 4000 4000 4000 0000 0000 0000 0000 0000 0000 0000 0000 i 00 4000 4000 4000 4000 4000 4000 4000 0000 0000 0000 0000 0000 0000 0000 0000 Ill 00 4000 4000 4000 4000 4000 4000 4000 0000 0 0 4000 4000 000 0000 0000 000 pnis 4000 4000 4000 4000 4000 400 5 Ready FAST NN L4 DO Ra NM eSL
38. aker Independent Recognition the relative library will be included There are two options for recording duration which are 1 second and 1 5 seconds And the later occupy more RAM size Sound Location 180 When users enable sound location the sound location function will be activated This option only support at eSL serial body eSLI28A eSL256A eSL512A eSL032A and enable when select select 2 channel and other speech option Enable Record amp ADC When users enable record option the record function will be activated External DROM Format IDE allow user selet the external data format type Note if external rom device is SPI Flash must select BY BYTE Mode 30 e eSL eAM Series eSLZ000 IDE User s Guide Chapter 1 Inp Source User can indicate instrument and percussion library file through this browser Available User RAM DS Size show how many RAMS can be used Speech Melody Option IDE support user three kinds of speech memory allocation option by eSL serial chip and four kinds of speech memory allocation option by eAM serial chip selected by users The more memory users can use the more limit in using speech algorithm The memory allocation 1s as follow eSL Serial Chip 1 1 Channel Only support channel 2 can be used The eSL eAM IDE will reserve max usable RAM size for user If users select this option speech algorithm typel type2 1 type2 2 type3 type4 types type6 Record ADPCM MP3 Like and Melody
39. ata at ram file and locate at active project floder The max available RAM address Dump RAM Dump start address Dump offset size Dump DRAM From Dialog 8e eSL eAM Series eSLZ000 IDE User s Guide Chapter 1 Dump RAM All dump and save ram datas from address 0 to the last address Dump RAM From dump and save ram datas which the address range specified by user Example Start address Ox 100 Offset 0x050 End address 0x150 meets you want dump ram data from RAM address 0x100 offset 0x50 end address 1s 0x150 and total count 1s 0x50 NOTE 1 Start address cant over max address 2 Start address offset end address can t over max address 3 offset aloes meets total count EH IO 0001 0000 0000 0000 0000 0000 0000 0000 When values are 0000 0000 0000 0000 0000 0000 0000 0000 changed they are i 9050 07F0 0000 0000 0000 0000 0000 0000 shown in red 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 4 Li IO window provides the updated contents of IO in the same way as in updating the contents of the special registers The address format hex 1s in left column El Output Window Bl Encoding wave files Encoding file D ESL TES TW02404 WAY m Typel 0 9k Trans
40. button after confirming your choice 2 4 3 Open SourceFile or Display its Path You can open source file into Editor window for editing from Project FileView window To do this double click on the source file and the file 1s automatically opened eSL eAM Series eSLZ000 IDE User s Guide im Chapter 2 2 4 4 Deleting Source Files from Project 4 From the Project window select the file s you EDI eSL001 P1 files wish to delete Then press the Delete key from E an SOR rae your keyboard Project File View Window 2 5 Add and Remove Voice Files from to Project You can insert existing voice files into the new or existing project inserted file will add to Voice View in Project Window Voice files include speech files wav melody files mid or user define file bin tbl 2 5 1 Add Existing Voice Files to the Project You can add voice file by next two methods 1 From the Menu bar click on Project menu Choose Insert Files to Project command from the resulting pull down menu and the Insert Files into Project dialog will display You can select which type of file want to insert speech file wav midi file mid user define file bin tbl Then the selected file will insert at corresponding node in the voice view window eSL eAM Series eSLZ000 IDE User s Guide e 43 Chapter 2 Project New Open ave Cli Insert Files into Project x zB Lack in C 600sP
41. can be selected 2 2 Channel or other speech option Support 2 channels can be used The eSL eAM IDE will reserve mid usable RAM size for user If users select this option speech algorithm can be used 1s the same as next Table of option eSL eAM Series eSLZ000 IDE User s Guide e 31 Chapter 1 Play Ichannel speech Play 2channel speech Channell Channel2 at the same time typel typel or others algorithm type2 1 type2 1 or others algorithm type2 2 Record ADPCM type2 2 or others algorithm MP3 Like 8 channel melody type3 type3 or others algorithm typed type4 or others algorithm type5 type5 or others algorithm type6 type6 or others algorithm MP3 Like or others algorithm Schannel melody 8channel melody or others algorithm eAM Serial Chip 1 Melody Only Only melody playing can be used The eSL eAM IDE will reserve max usable RAM size for user If users select this option only midi data can play 2 2 Channel S1 S2 It can support maximum 2 speeches or melody The eSL eAM IDE will reserve available RAM size for user If users select this option speech algorithm can support type 5 type 6 and Record ADPCM 3 More than 2 Channels S1 S2 S3 S4 It can support maximum 4 speeches or melody The eSL eAM IDE will reserve available RAM size for user If users Select this option speech algorithm can support type 5 type 6 and Record ADPCM 32 o eSL eAM Series
42. dated simultaneously Note in c project step into always clear trace buffer Step Over Execute instructions as in Step Into except for Call instruction which 1s executed as in Go command above Note in c project step over always clear trace buffer Break Execution Stop running program without ICE reset program will resume running from the location where it was last stopped Exit Debugging Stop running program and exit debugging mode Debugger in debugging mode sets the Editor window to read only Insert Remove Breakpoint Set or reset a breakpoint Disable Breakpoint Disable a breakpoint Clear All Breakpoints Clear all active breakpoints Enable Disable All Enable or Disable all breakpoints Breakpoints ROM Breakpoint Set ROM and Hardware breakpoint under ROM and Hardware Breakpoint Setting dialog Hardware Toggle ICE SW Switch to ICE or Simulator to debug program by simulator or ICE The different between ICE and Simulator are i ice Simulator Download Download PROM Download DROM Download SPI Debug function O Step Into Ouver Go Go Cursor Free Run Break Execution Exit Debugging Reset Rom Break point Hardware Break point Get Machine Cycle Count Call Stack Window Enable Watch Window Enable Disassembly Window Enable Other Play Midi Speech Access DROM by instruction Self Test 20 o eSL eAM Series eSLZ000 IDE User s Guide Chapter 1 Toggle Machine Cycle Enable Disable Get Machine Cycle count The valid range o
43. e Chapter 1 1 2 2 eSL eAM IDE Main User Interface r Editor Window r Disassembly Window m gt Special Register Window 17l x Menu Bar Sie Tdi View mjad Wg Irl Setting Awiw Mel SpinlaseelloLs2 S avoas otenee ar Standard amp Build Document Bar mircluyde nin t RIT lwla ecc extend Fireluds S osl_se h x cds sells Project Window nn eptri File or Voice as me_nivvidi View Mode Figal Jac irt 21 2 irt 22 24 Pleal 1lL rck Fleat 22 29 bl 2C FileViews amp ROM Status Window VoiceViews Tabs 5 Iz Fees TTT F ULJU JLUJ UJUL ULUJ UJLU UL JU JULLE a JLUJ JULU LUJL JUUJ L JUL JLUJ UJUL Bali avid 0038 3C03 030C 0C03 03C0 0C030 30CC 3003 30CO0 CO3C 230023 C30C 32C02 020C LM 0C 0 JZE_ 1305 0C0 O23CO OCIO 20CC ICLI 3OCO COIC 2002 CIOC COI 420 mor ULLE JLUJ UJUL ULU J U JLU UL JU JULL JLl3 41zU LUJL C1ZJ L JUL JLU J U JUL iN i naren arm nrna narn nr n anrf Y 21 aKc9 fmfr ann ranr arna nir pany ULZU JLUJ UJUL ULUJ UJLU UL JU JULL JLzJ JULU LUJL JUU J L JUL JLU J U JUL Output Window 8 amp 0030 3CO023 0230C 0CO3 03CO 0C 30 20CC 21 12C32 390C0 E55E 10F5 C30C 23C02 020C 0C38 2C02 020c fico oco 0C20 20CC 3 33 3OCO COIC 2002 CI0C 2 RAM Window E JLUJ UJUL LUJ UJLU UL JU JULL JL4J JULU LUJL JUU J L JUL JLUJ U JUL E le 7 77 c il SSS id
44. e eSLZ DD m files Executable Project B source Files 4 Locate the folder where you want to store Eg 2 mol Pa s the new project You may use the Browse T a icon to find the appropriate folder E Object Files DI Library Files 5 Select the target microcontroller for your E13 List File i i i TE note macro Ist project from the Micro Controller list E E Map File bor mmap 6 Select the project type for your new project from the Type group box default is i Voi E FikView Executable Project Executable Project bin The project Project File View Window can download at ICEeSL debugging Library Project a The project only can build as a library code The function of library file like the lib in VC 7 Click OK button after confirming all your choices and inputs 8 IDE will create some header files for user s project register def reisterbi def register xt de vector det peripheral def Interruptvector def Define interrupt vector table 40 e eSL eAM Series eSLZ000 IDE User s Guide Chapter 2 The new project is created with the defined project name microcontroller and project type you have selected displayed on top of the Project window 2 4 Add and Remove Source Files from to Project You can either insert existing source files into the new or existing project or create new ones from within eSL eAM IDE text Editor and automatically insert them into the new project
45. e e 73 Ce ML If user set register break condition as address with data read The register address as 0x05 R5 data as OxA5A5 logical function as SETI OR SET2 Loop counter as 1 Run after breakpoint trigger as 0 After this setting the system will generate a breakpoint trigger at PC 0x014F Appendix C For example Hardware Breakpoint Setting 6 PC RAM c po Ty PE CURATI e po Register RO R7 write only 0 Eegsstenik0 heyy cite only RW hexadecimad dizitsT RAW hexadecimal digits 0 Read Write ONE Fead Core CO w ADDRESS MIST 00 0x0007 m ADDRESS 7 x00 0x007F RW DATA X 4545 gx00 0xFFFF I DATA FFC 0x00 0xFFFF F MASK Ox00 OxFFFF F MASEK FFOO 0x00 0xFFFF M Enable SETI F Enable SETS Fun after Breakpoint trigger i 0 ay Logic Select SETI gt SET2 SET OR SETA Iv Enable Breakpoint M Enable Counter foi 1 253 CANCEL 74 eSL eAM Series eSLZ000 IDE User s Guide Appendix C ICE_TESTIICE_TEST ASM ice_test asm og zz I HX bid ty a i iT as Ke Ca d th dl di S Mc RO da ey d BR d rr BTE 5 M isi amp Qn On ye int S PROM 32589 of 32768 words used 99 45 C 1 5 Logical Select The H W breakpoint mechanism supports two SET breakpoints according to logical select menu we can distinguish two kinds option for SET and SET2 Such as 1 SETI gt SET2 this item
46. eSL eAM Series eSLZ000 INTEGRATED DEVELOPMENT ENVIRONMENT Applicable to eSL eAM IDE Version 1 0 amp later ELAN MICROELECTRONICS CORP Apr 2009 e Trademark Acknowledgments IBM is a registered trademark and PS 2 is a trademark of IBM Windows is a trademark of Microsoft Corporation ELAN and ELAN logo ram are trademarks of ELAN Microelectronics Corporation Copyright 2006 2009 by ELAN Microelectronics Corporation All Rights Reserved Printed in Taiwan The contents of this User s Manual publication are subject to change without further notice ELAN Microelectronics assumes no responsibility concerning the accuracy adequacy or completeness of this publication ELAN Microelectronics makes no commitment to update or to keep current the information and material contained in this publication Such information and material may change to conform to each confirmed order In no event shall ELAN Microelectronics be made responsible for any claims attributed to errors omissions or other inaccuracies in the information or material contained in this publication ELAN Microelectronics shall not be liable for direct indirect special incidental or consequential damages arising from the use of such information or material The software eSL eAM IDE described in this publication is furnished under a license or nondisclosure agreement and may be used or copied only in accordance with the terms of such agreement ELAN M
47. eSLaaaaaaademo wav E Die LL Wave File Resolution 16 bit Sampling Rate 8000Hz Bit Rate 4 8kbps die APSO MUON UD Bit Rate Type 1 C O8Kbps C 09Kbps C 10Kbps C 12Kbps C 14Kbps 1 6Kbps C 18Kbps C 20Kbps C 24Kbps C 28Kbps 4 0Kbps l Type 2 1 C 5 0Kbps C 7 3Kbps C 9 6Kbps C 119Kbps C 142Kbps C 16 5Kbps Coding Type Type 2 2 C 326Kbps 48Kbps 6 0Kbps C 72Kbps C 84Kbps C 9 6Kbps C 10 8Kbps 120Kbps 132Kbps 14 4kbps Type 3 C 12Kbps 16Kbps 20Kbps Type 4 24Kbps 32Kbps C 40Kbps Type 5 PCM Type 6 5Bit eDPCM 6Bit eDPCM j Plus configure yp itse itse Enable Disable Echo and Style Advance Enhance function Disable Ware number Medium Define Flash On Off ENEET 3 Flash Off Marker 0 av z Marker number when from 1 to 255 ark Number Flash On Marker enable Beat Tracking Software Play Speech Software and d pic el p L E 44 VEM play speech option contro pane Filter On Speech Output Dac y only enable at TE hardware playing Speech Proterty Dialog Speech Property Dialog This dialog let user set coding type plus configure echo and style and mark numbers by indicate speech file On the other hand it also support play control panel and option Filter On and output port for user can immediately listen speech data status from PC or ICEeSL eSL eAM Series eSLZ000 IDE User s Guide e 45 Chapter 2 Gen File Info about file full path resolution
48. ear we so 4 50 Before Full Scale After Full Scale Discrete Set all continuous samples discrete Monitor Window 8 Index flush buffer size flush buffer size Fuca panes reiten DIC Save 50 4 50 FullScale Discrete Period Clear Save sp 4 ES 1 gt 2000 Before Discrete After Discrete Period Align Calculate frequency of waves Monitor window will change wave band when the period change Clear Clear All Samples which show at monitor window Save Save all samples which user select blue area but if user doesn t select save area monitor window will save all samples Flush buffer size bar How many samples flush the monitor window Samples per time 18 o eSL eAM Series eSLZ000 IDE User s Guide Project Menu Project New Open DAVE Close Insert Files into Project Insert Special Ke gister Insert Tones into Project Insert Percussion into Project if Build F7 Rebuild All Ctl F st Rebuild Source Code Build Rebuild All Rebuild Source Code E Debug Menu Debug BS Toggle ICESW Toggle Machine Cycle Enable Monitor Data Go F5 Free Run Cub ES 4 Run to Cursor Ctrl F10 Cu Reset F1Z P Step Into Fil p step Over F1 ET Break Execution Fo 12 Exit Debugging FB SLI Insert Remove Breakpoint FQ lll Disable Breakpoint Ctl Fo Sh Clear All Breakpoints dit Enable Disable All Breakpoints Breakpoint eSL eAM Series eSLZ000 IDE User s
49. ect Setting Dialog 2008 10 16 Modify Project Setting Dialog Add hand write function 2008 11 12 Modify some sections descriotion 2009 4 6 eSL eAM Series eSLZ000 IDE User s Guide a Chapter 1 Chapter 1 Introduction 1 1 Overview MIDI files mid Wav files wav User data tbl bin Assembly module asm C module c Mask file Approve form file eSLIDE e a luo CK un Download ICE eSL Voice Program Data File eSL eAM Integrated Development Environment eSL eAM Series eSLZ000 IDE User s Guide e 1 Chapter 1 72 ae 1 2 Introduction to eSL eAM IDE Program Qe The eSL eAM IDE Program is a Windows based program that is used among other things to develop embedded programs for eSL eAM series microcontrollers The embedded program is developed by taking one or more source files in assembly language and translate them into object files that are linked to each other along with one or more libraries The created executable program is then downloaded to ICEeSL for simulation verification and debugging 1 2 1 Tools under File View and Voice View Modes The eSL eAM IDE Program is integrated with the following resourceful tools 1 2 1 1 File View Mode B Project Manager that create save open and closes project It also manipulates the existing project and source files that are part of the project B Edi
50. en 2 Assign a filename for the new source file in the File Name box 3 Locate the folder where you want to store the new source file in your disk You may use the Browse icon to find the appropriate folder 4 Check Add to Project check box default if you want to automatically add the new file into your project Otherwise clear the check box 5 Click OK button after confirming your inputs You will be prompted to start writing the newly defined source file in the Editor window 2 4 2 Add the Existing Source Files to the New Project If your source file is ready you can immediately insert it into your new project 1 From the Menu bar click on Project menu Choose Insert Files to Project command from the resulting pull down menu and the Insert Files into Project dialog will display Project New Open DAVE Insert Files into Project HE Close Look in Cy 600sPLAYMELODY S Al e EMED clram asm a EMB headtail asm Insert Files into Project e EMB readBkey asm Insert Special Register is ea Insert Tones into Project E nomazi a PLAY MELODY ASM Insert Percussion into Project ES a Eae E Filename Even S SC C S S bii Rebuild All CIE Files of type Assembly Files asm Cancel st Rebuild Source Code v Project Menu Insert File into Project Dialog Browse and select the file or multiple select the files you wish to insert into the new project 3 Click OK
51. es eSLZ000 IDE User s Guide Chapter 1 T O break read write The I O breakpoints can be set to one of three modes address break address with data break address with data mask break in addition every mode support Data Read Data Write Data Read or Write I O address from 0x00 to Ox7F I O data from 0x0000 to 0xFFFF Mask data from 0x0000 to 0xFFFF Register break RO R7 write only The register breakpoints can be set to one of three modes address break address with data break address with data mask break but in register domain only support address write Data Write Register address from 0x0 to 0x7 Register data from 0x0000 to OxFFFF Mask data from 0x0000 to OXFFFF 8 Tool Menu Generate Mask File Generate a mask program Tool file msk Generate Mask File Play MIDI Speech Open Play Dialog User can u play midi and speech E Play Midi Speech through ICEeSL by this ES Open Ez Wave Dialog ICE Download Open EzWave Open eSL EzWave EMF Download i ICE Download Allow user download PROM DROM Boot Flash PROM SPI Flash data form current DROM project builded or other selected binary data into BOGT Flash ICEeSL SPEI Data Flash EMF Download Allow user download Boot Flash DROM Flash data BOOT Flash and SPI data flash into DROM Flash EMF SPI Data Flash ICE Download PROM Download Data to ICEeSL PROM DROM Download and auto verify data to ICEeSL DROM Boot Flash Download data to ICEeSL SPI Boot Flash
52. et Coding type Echo Style and Mark Num at one time You also can search files by different condition at Search Option section After searching all of fit speech files will be highlighted 2 5 3 Build Midi Files in the Project User can click mouse left buttom at indicate midi file and eSL eAM IDE will pop up a pop menu for usert to set some midi properties before build midi data NOTE Don t use Asian text font as midi file name like Traditiona Chinese Japenese and extra Form Setting Channel Setting Property Hf Voice View File Vie eSL eAM Series eSLZ000 IDE User s Guide e 47 Chapter 2 Pz Set midi option by clicking mouse left buttom Play Midi Let user can immediately listen midi data status before build midi file This function only enable at ICEeSL connected Form Setting eSL eAM IDE support short and long form option before build midi data Default is Short form Midi Form Setting Dialog Short Form C Long For Midi form setting dialog Channel Setting Channel Setting dialog support user to indicate which track assign to which channel by max notes eSL eAM IDE support 32 tracks and 16 channels dia eSL serial chip only support 12 channels and can t modify count by IDE support 32 Tracks 48 e eAM serial chip support 16 Channels Channel etting Dislog NN Dialog x rack No Na Sea s Exch Mchl Mch2 Mch3 Mch4 MchS Mch6 Mch Mch8 Mch9 Mchl0 Mchll Mchl2 Mchl3 Mchl4 Mch
53. f machine cycle is form 0x00 to OxFFFFFF 16777215 If machine cycle over this range eSL eAM IDE will show overflow message at output window ROM Breakpoint Dialog ROM breakpoint can set at any address of the Program ROM At this Dialog you can check all ROM breakpoints in project remove one or remove all breakpoint In addition you can click checkbox to disable ROM breakpoint ROM Breakpoint Dialog Location DAESL TES T axraytype c line 37 DAESLTES Tarravtype c line 54 Remove All DAESL TES T axraytype c line 71 D AESL TES T arraytype c line 88 Close Hardware Breakpoints Dialog The breakpoint mechanism has a unique breakpoint system that supports software and hardware breakpoint The system has a limited number of hardware breakpoint and unlimited software breakpoint setting The four domain and two set hardware breakpoints are available In addition the breakpoint system supports logical condition setl OR set2 set sequential to set2 and loop counter function from 1 to 255 select and trace buffer pre trigger from 0 to 2k NOTE Address Data and Mask value are hexadecimal digits others decimal digits If you select logic set1 sequential to set2 SET1 and SET2 will be enabled If Address Data or Mask value is NULL or over range IDE will show a warning message dialog to alert you If you select DATA item IDE will set ADDRESS enabled In the same way if you select MAS item IDE will set ADDR
54. h Dialog Introduction B 1 Overview Play Midi amp Speech Dialog Tool Bar Output Bar Control Bar Status Bar B 2 Connect ICEeSL This Application only allows user play midi and speech at ICEeSL so user must check ICE connected first User can check ICEeSL connection status throw output window the square at the button right of dialog Red Disconnect Green Connected and status bar User can click button to connect ICEeSL 60 e eSL eAM Series eSLZ000 IDE User s Guide Appendix B Play Midi 5 Speec Li Dialog Output Window Status Bar and P d Square Output Window Status Bar and Square Connected status User can click button to build speech file 1 Select Speech file wav mp3 wma Play Midi amp Speech Dialog E x n 1 wav E rn 3 ven 1009_1 way x Ad Way 2 many people w 063 c5 all 2 wav 3 orchestra_1 was 063 c5 allwav boy 2 WAV 3 oxchestra 2 W4 7 girl_1 wav 7 piano demo n RAMA by IWAY Ta SE ES AU T Wave Files wav AYA 7 di e 61 eSL eAM Series eSLZ000 IDE User s Guide Appendix B e 2 Select speech property User can select different property to build speech Play Midi amp Speech Dialog d ispeechiboy1_16k way Code Type amp Bit Rate Sample Rate 8000Hz Typ 1 0 8Kbps 0 9Kbps C 1 0Kbps 1 2Kbps 14Kbps 1 6Kbps C 1 8Kbp 2 0Kbps C 24Kbps C 2 8Kbps C 4 0K
55. howing Successful Compile Assemble amp Link Compilation If error 1s detected during compilation pertinent error message will also display in the Output window Double click on the error message to link to the source of error from corresponding program text line in the Editor window ECCERRG CDAELANNDOCNESIATEST PROJECTO _ASMIC ASM c 48 missing id undeclan ECCWARNGCDAELANNDOCYESLATEST PROJECTS ASMWC ASM c 12 source warning k ECC WARN CDAELANDOCESLVIEST PROJECTYC_ASMYC_ASM c 12 source_waming k ASM bin 1 enoris 2 waning ts BN Output Window Showing Compiler Assembler amp Link Compilation Errors Modify source files to correct the errors and repeat Compiler assembler and link operations 2 8 Debugging a Project With the source files deprived of its errors you are e now ready to debug the files Be sure the ICEeSL Tozsle Machine Cycle 1s properly connected to your computer Enable Monitor Data Debugging commands are available from the Go F5 Fre Run Ctrl F5 Debug Menu as well as from the eSL eAM IDE 4 Coe EA Program Toolbar CH Reset F12 H Step Into Fil mu Step Over Fig 88 LO om S LINE Sp Break Execution F 23 Exit Debugging FS e In InsertRemove Breakpoint Fa Toolbar for Debugging Commands a m di Clear All Breakpoints dim Enable Disable All Breakpoints Breakpoint Li 50 o eSL eAM Series eSLZ000 IDE User s Guide Chapter 2 2 8 1 Breakpoints Setup T
56. icroelectronics products are not intended for use in life support appliances devices or systems Use of ELAN Microelectronics product in such applications is not supported and is prohibited NO PART OF THIS PUBLICATION MAY BE REPRODUCED OR TRANSMITTED IN ANY FORM OR BY ANY MEANS WITHOUT THE EXPRESSED WRITTEN PERMISSION OF ELAN MICROELECTRONICS ELAN MICROELECTRONICS CORPORATION Hong Kong USA Elan Information Technology Group U S A OLAN w Headquarters No 12 Innovation Road 1 Hsinchu Science Park Hsinchu TAIWAN 308 Tel 886 3 563 9977 Fax 886 3 563 9966 http www emc com tw Elan HK Microelectronics Corporation Ltd Flat A 19F World Tech Centre PO Box 601 95 How Ming Street Kwun Tong Cupertino CA 95015 Kowloon HONG KONG U S A Tel 852 2723 3376 Tel 1 408 366 8225 Fax 852 2723 7780 Fax 1 408 366 8225 Shenzhen Shanghai Elan Microelectronics Shenzhen Ltd 3F SSMEC Bldg Gaoxin S Ave I Shenzhen Hi tech Industrial Park South Area Shenzhen CHINA 518057 Tel 86 755 2601 0565 Fax 86 755 2601 0500 elan sz elanic com cn Elan Microelectronics Shanghai Ltd 23 Zone 115 Lane 572 Bibo Rd Zhangjiang Hi Tech Park Shanghai CHINA 201203 Tel 86 21 5080 3866 Fax 86 21 5080 4600 elan sh elanic com cn au Contents Contents 1 Introduction 1 INNO I 1 2 Introduction to eSL eAM IDE Program
57. ish to edit from the Project window and the file will open in the Editor window of the eSL eAM IDE Program Project a RS 0x1010 s DENT R2 0x020B Double click to ere R2 R5 R5 C Ox020B lt 202 open amp edit file PEET R2 0x020C ac PI aem Rb 0x0101 A nu R2 R5 ORG Ge DRHZUD 4 E Mam JMP P1_3000 Source file H Bam I ASL opened for editing i dd P1 3000 23 Header Files BC I0 0x0 0 E List File RO 0x0300 i E Pls R0 s FEEF ESL i m PI ki RO 0x0301 ieee hd RO 0x3FFF A e E Editing Source File From and Within Project 2 Build Project With your source file s inserted into the project you are now ready to compile your project 2 7 1 Compiler Assemble and Link Files to Generate Binary File With the source file s shown in the Project window B Click Rebuild All command to assemble and link all inserted files regardless of having been recently modified or not B Click Build command from the Project menu to assemble and link only those source files that were recently modified eSL eeAM IDE will assemble and link all source files to generate binary bin files using your project name as filename The binary file is automatically saved in the same folder where your source files are located Status of the assembly operation can be monitored from the Output window as shown below eSL eAM Series eSLZ000 IDE User s Guide e 49 Chapter 2 Output Window S
58. it action Repeat the last edit action Same as standard clipboard function Select all contents of the active window Move cursor to the defined line number within the active window Find the defined strings in the active window Find the defined strings in one or more files window Same as standard find and replace editing functions View hide Standard or Build toolbar View hide ICE modes R W flag test file type DOS MAC UNIX keyboard status etc View hide all captions for Project RAM and Output windows View hide Project window View hide Special Register window View hide IO Register window View hide RAM window View hide Output window View hide document Bar View hide ROM Status window View hide Trace Buffer View hide Debug Windows 1 Call Stack Window 2 Watch Window 3 Disassembly Window View Hide Monitor window e 11 e Debugr Window View Hide Call Stack Watch Disassembly window Call Stack Window The Call Stack window shows a list of all active Procedure Calls Active procedure calls are the procedures in the application that were started but not completed The Call Stack window helps you trace the operation of an application as it executes a series of nested procedures For example an event procedure can call a second procedure which can call a third procedure all before the event procedure that started this chain 1s completed Such nested procedure calls can be difficult to follo
59. ive library In addition user also can click de button to download different midi tone library as new active library Load Default midi tone library as new active library eSL eAM Series eSLZ000 IDE User s Guide e 63 Appendix B STOP mr Load Different midi tone library as new active library NOTE 1 If user does not change the midi tone library the default midi tone library will be set as activelibrary 2 The active library is valid until user change midi tone library B 4 2 Build and Play Midi User can click il button to build midi file 1 Select midi file mid ck EI ERAH can mid BAO RAAT Midi Files mid Eri 2 Select form type 64 eSL eAM Series eSLZ000 IDE User s Guide Appendix B Play Midi amp Speech Dialog amp Short Form Long Form 3 Play midi user can click D button to play midi Before the first playing the dialog auto download builded midi data into ICEeSL B 5 Get Information User can click button to get new active midi tone library active midi file and active speech file Play Midi amp Speech Dialog eSL eAM Series eSLZ000 IDE User s Guide e 65 an Appendix B B 6 Playing Midi or Speech Repeat On Off Stop Restart Pause gt NIE m QE ERDEShA M Pam j sountd On Off Volume plaving bar Play Play midi or speech button Pause midi or speech
60. l5 Mchl s C C e e C C C C C C C C C C A lo e C C C C C C C C C C C C C C C C C e C C C C C C P C C P 0 n C P C C C C C C C C P C C C 0 n C C C C e C C P C C C C 0 n C C C e C C C C C C C C C P C P 0 n C C C C C C C C C C C C C C P C 0 C C P C e C C C C C E C C C P C 0 C P e e C e C C C C C C C C C C 0 n C P C C C E e C C C C 0 P e C C C C e C C C C C C C C C 0 n P C e C e C C C C C C P P P P 0 n P C C C e C C C C C C C C C C C 0 n C C C C C C P C C C C C P C C n e e C P C C C C C P C C C C P C 0 m C C C C C C C P C n C C C C C C C C C C P C C C C 0 n e e C C C C C C C C C C P C Z Track 1 Channel 1 CANCEL how mouse point at which track and channel Midi channel setting dialog Track No eSL eAM IDE support 32 Tracks Max Notes The max note numbers playing in the same time In addition max notes also mean the max channels which user can assign by Track Max Notes 1s calculated by eSL eAM IDE Exclu Enable Disable track s notes must be assigned in indicate channels on the other hand other track s notes also can t insert into these locked channel eSL eAM Series eSLZ000 IDE User s Guide Chapter 2 NOTE One channel only can be assigned to one track Property show midi file property 2 6 Edit a Source File From and Within the Project You can edit source files that are already inserted in the project To do so double click the source file you w
61. lating MIDI files Translatine MIDI File D MesthTest mad Testhdid M eterwneter 8 mad Building voice data Voice compile success test bin erorii warungts TD Build Debug X Ei ii E The Output window displays messages indicating results of project compiling just performed such as assembler linker trace log history and debugging including their respective error messages The window consist of three tab sub windows namely Build Debug and Find in Files where eSL eAM Series eSLZ000 IDE User s Guide e 9 Chapter 1 e Build displays assembler linker related messages trace logs and error messages Double click on the error message to link to the corresponding program text line in the Editor window where the source of error occurs Debug displays debugging related messages and their corresponding error messages Find in Files allows you to find a like string selected from an active file from other active or inactive files in your folder Lines containing the like string will display on the Output window complete with its source filename and directory 1 2 2 2 eSL eAM IDE Menu Bar and its Commands File Edit View Project Debug Tool setting Tor Help m File Menu New Create a new project or source file Mew Open Open an existing document or Open Cho project Close Close Close the active document or project nave Save Save current active document nave As Save
62. le 49 225 JDeDueimo a PE Ie CEosnesnessent istam seater mes E E E A 50 2 0 1 Break ponie S OTU Dier nn E eci 51 2 9 2 MOS OW SNe OS RM tne ela rear airone DZ eSL eAM Series eSLZ000 IDE User s Guide e iii Contents Appendix A Library Tool Introduction 54 WO ol ii 54 A CC Ate NOV Library Leu oscdustusssssutubeURtu ocio 54 A 2 1 Create library file from eSL eAM IDE eere 54 WALNUT TE 54 A 2 1 2 Add and Remove Source Files from to Project 56 A 2 1 3 Edit a Source File From and Within Project ssse 56 A214 Buld ProjeOl ceninin PPM iS RE A EE Red RENE U LO MUNI 56 552 2 Create Library Pile trom Library FOOL ostro iHe Eh rires ohh a 27 A 3 Library Tool Sub WINdoW nennen eene nnne ees nnns 58 A DIES TOOL BUS 50 B Play Midi amp Speech Dialog Introduction 60 AES uU e 60 B Connect WE Cy 60 b Butt AI PLAY Se Cl saga te acess paca aiar lia 61 eE AEDA E T PE A O E toa 63 B 4 1 Change Different Midi Tone Library i 63 BA2 SE e EVANS OR ES ES 64 SE OIA OI T TO RT o ORRORE TT 65 By Plain MOOS pee Rio PES Par ab unu PUERO THU E 66 C How to Use the Hardware Breakpoint 68 CI Hardware Breakpoint SCiP 201015 ae ana ETE 68 CAA PC Counter Break Read WT oi ete utra Lina tonta SHE Det eot tetra et tos eSen 68 12 RAM Break Read WEIL eoecuescc
63. luding form setting channel setting and property speech Property Dialog File Info Depeechtorchestra_1 sway Wave File Resolution 16 bit Sampline Rate 24000H2 Bit Rate 10 8kbps Code Type amp Bit Rate Sample Rate SU000Hz Type li O8Ebps O9Ebps 10Kbp 12Ebps 14Ebps 1 6Ebps 18Ebps C 20Kbps C 24Kbps C 28Ebps 40Ebps Type 2 v 36Kbps 48Ebps G0KEbps C 72Kbps C 84Ebps C 9 6Kbps C 10 8Kbp 12 0Ebps 13 2Ebps C 144kbps Type 3 12Ebps 1l6Ebpe C 20Ebpe Type 4 24Ebps 32Ebps 40Ebps Type 5 PCM Type 6 4Bit ADPCM 5Bit ADPCM Plus Configure 42 Mark Number Echo fo Mark Number i Stele Medium r software Play Speech M e Filteridn Speech Output Dac sj Fla Voice Files z cb start wav Play kilidi Form Setting Channel Setting Froperty eSL eAM Series eSLZ000 IDE User s Guide e 93 Appendix E When you build External project if you enabled modify instrument index option it opened modify instrument index dialog You could modify instrument and percussion index according to your melody project Change Instrument Index Dialog X Tone IndexiHex Tone Instrument Name Perc Index Hex Percussion Instrument 00 022 Harmonica 00 POTOH 01 036 Slap Bess 1 01 PO35H 02 004 Rhodes piano 02 POSSH 13 O24 Acoustic Guitar 03 PORAH i 2 E 05 PO38H Cancel Finally down data to
64. mat Likewise only 0 amp 1 are recognized when changing registers in binary format When value changes it is shown in red Ox0000 S042 cx 0000 i Modified registers are automatically downloaded to the hardware 00000 0x0000 00000 00000 To toggle between hex 0x and binary 0b E register values click right mouse button while pointing on the particular register value eSL eAM Series eSLZ000 IDE User s Guide e 7 Chapter 1 EH ROM Status Window ROM Status The red and green area PROM 1 meets the used ROM size NI DROW 430992 of 524207 ROM Status window show how many Program ROM and Data Rom Size used by user s source code and voice data The red and green section meets the used Size EH HAM Window OOS0U O 7YFO OO00 O0O00 Dump RAM AI Dump RAM From E 1050 07r0 D0n0 O008 dep pesma ooo LI LICDEHOL 0 0000 0000 CE CL ELOI CE OLET UO 0 EHTO u DIDHOL CI DOLO CLEL DECLETOI CO ELCOLCE DEO CE CE C DL CEURCI DECHETOI COL EL OI CI DIDHOL CI DOLO CEEL DEOLETEI CO ELCOLCE DEO CE CE C DO CECIEEI 0000 0000 When values are Click right mouse changed they are button you can shown in red dump ram data RAM window provides the updated contents of RAM in the same way as in updating the contents of the special registers The address format hex 1s in left column The RAM window allows user click right mouse button to pop up a dump menu The dump menu save total RAM d
65. means SETI sequential to SET2 The SET1 condition must be trigger firstly then trigger SET2 the system will generate a breakpoint 2 SETI OR SET2 this item means both SET1 and SET2 can generate breakpoint In other word the SET1 SET2 are relationship of logical OR eSL eAM Series eSLZ000 IDE User s Guide e 75 Appendix C e For example SET1 SET2 If user set SETI break condition as RAM break that address with data writ The RAM address as 0x55 data as 0x5678 SET2 break condition as register break that address with data write The address as 0x02 R2 data as OxSASA logical function as SET1 SET2 Loop counter as 1 Run after breakpoint trigger as O After this setting the system will generate a breakpoint trigger at PC OxOIAE Hardware Breakpoint Setting C RAM e po JxOO OxFFFF OxOO OxFFFF Iw Enable SETZ Eun after Breakpoint trigger num 0 Iv Enable Breakpoint R Enable Counter 1 1 255 CANCEL 76 o eSL eAM Series eSLZ000 IDE User s Guide Appendix C zig x t eSL eAM IDE DAESLZOOQTEST CODEVCE TESTUCE TEST ASM ice_test asm l5 E File Edit View Project Debug Tool Setting Window Help WR CR RE Aate OS SU mavon mise O 3 ice testasm BE BE SETI break condition be trigger e ROM Status PROM 32589 of 32768 words used 99 45 SET2 break condition DROM 0 of 52428
66. mouse left button at the Manual node under Percussion node in this window and select the desired instrument from its Insert Percussion dialog The selected instruments are then displayed under Manual node Speech Files Node hold and display the wave files of your choice This is done by clicking the Insert Files to Projects command from the Project menu or clicking mouse left button at the Speech Files node in this window From the resulting Insert File into Project dialog browse for Speech File wav mp3 wma file folder and select the one you want to insert in the voice project The selected Speech File will show under the Speech Files node Midi Files Node hold and display the MIDI files of your choice This is done by clicking the Insert Files to Projects command from the Project menu or clicking mouse left button at the MIDI Files node in this window From the resulting Insert File into Project dialog browse for Midi File mid folder and select the one you want to insert in the voice project The selected MIDI file will show under the MIDI files node User Data Node contains the data files tb and bin required by your application To insert data files click the Insert Files to Project command from the Project menu or clicking mouse left button at the User Data node in this window From the resulting Insert File into Project dial
67. n simulator and ICEeSL but it can create a library file a E Project Window Voice View Mode Internal The Project window under VoiceView Internal Mode tab holds the Files Proved Where Speech Files wav mp3 wma are the speech files that are added into the current project Midi Files mid are the Midi files of source Target Microcontroller User Data are the user defined files of source files The root node of the Project window shows your current microcontroller and project filename VoiceView Mode 4 Tab Selected i Voice View 4 e eSL eAM Series eSLZ000 IDE User s Guide La Chapter 1 E Project Window Voice View Mode External The Project window under VoiceView External Mode tab holds the Files only for SPI Voice Project Project Filename prj Where Voice Files wav mp3 wma mid are the speech mid and user defined Target i files that are added into the current project Microcontroller The root node of the Project window shows your current microcontroller and project filename VoiceView Mode Tab Selected Voice V iew The Project window under VoiceView Mode tab provides the Tone Percussion Speech Files Midi Files and User Data nodes that contain files for your utilization in developing voice projects where Tone Node stores the musical instru ments defined by your MIDI files The Tone
68. o assign a breakpoint position Breakpoint Footprint EIER cursor at any source line where a cor amm j o xj s Pi Bofio x breakpoint 1s going to be set and RS 0x00FF 0x0200 then press F9 key Observe the ces il JMP VERIFY P1 line highlighted in red with a red sa R7 R6 footprint dot indicator to its left N _ IO 0x08 R7 Infinite loop wh ENDL You can also click on the Insert F000 P1_FODO Remove Breakpoint icon hand rine shape on the toolbar or choose Insert Remove Breakpoint command from the Debug menu to set the breakpoint Active Source File with a Defined Breakpoint To disable breakpoint position Disable Breakpoint Footprint Breakpoint gt cursor at any source line wherea lt EZTZTZEESZ E D xl breakpoint is enabled and then OMMON NOPCODE ROUTINE BREL 73 press Ctrl F9 key then the line em T s i i FREAD DELTA TI highlighted in red with a red ie SO VERNE du COMMON MAKER ROUTINE footprint dot will exchange with e gc NETTES a gray footprint dot Q ELAN MELODY MARKER EV NT e JMP COMMON MCODE READ You can also click on the Disable ME TEXT ES i RS AND 0x007F 7BITS TEXT VALUE Breakpoint icon hand shape on ag RS AND 0x0F80 5BITS TRACK NUMBE the toolbar or choose Disable T m T Breakpoint command from the Active Source File with a disable Breakpoint footprint Debug menu to set the breakpoint i j Likewise the
69. og browse for the text format Text Data File tbl folder and select the one you want to insert 6 eSL eAM Series eSLZ000 IDE User s Guide Chapter 1 in the voice project If inserting binary data browse for the Binary Data Files bin folder from the same dialog Press the OK button in the dialog to apply selection The selected data files will be shown under the User Data node Editor Window The eSL eAM IDE Editor is a multi windowed editing tool for Current file being edited IF EQ JMP FINISH P1 see if a JMP CHECK_NEXT_P1 creating viewing and modifying ERROR_P Sarno AE source files pin The eSL eAM IDE Editor major features are IF GT JMP NEXT LIGHT PI bic ey R5 IO PORTB x B Colored syntax highlighting BS R5 0 B Unlimited file size T B Multiple files can be opened and displayed at the same time B Insert and overstrike modes for editing B Unlimited Undo Redo B Auto indentation B Clipboard support with find and replace B Drag and drop text manipulation E Special Register The Special Register window provides the Window control register a program counter and general register RO R7 Register Onl 234 To update register values click on the existing Ox01000 value and key in the new value 00000 00000 02000 02000 0x0000 NOTE 1 Only values from 0 to 9 or A to F are recognized when changing register in hexadecimal for
70. on D c project E Project Type Executable bin 2 In the project option of setting you could choose Chip Serial and ROM Size If you would like to change instrument index you must enable the option of modify instrument index Then you could change instrument index according to instrument index of your melody project Users could select your designate INP_eSL Yout also can change DROM data format by select External DROM Format option NOTE SPI only supports Byte mode data If you want download data into SPI flash you must select By Byte mode at External DROM Format eSL eAM Series eSLZ000 IDE User s Guide e 91 Appendix E Project Setting Chip Serial esL Sei Extemal DROM Format By Word Mode SPI Only support BYTE Mode ROM SIZE 4M Words AM Bis System Applied Voltage 3 Batteies 4 5V vw Enable modify instrument index Inp Scuice D c propgcres cnp esL 2 E 2 Add file into SPI Voice Project Add your voice files including speech midi or user data files in your order The order of example is that startl wav start2 wav and newyear mid are 1 2 and 3 Project cdl piano Lok wav amp p figsro 12k nr m6 5db we E boy 1 m WAY qu girl 1l mwav 92 e eSL eAM Series eSLZ000 IDE User s Guide Appendix E You can set related speech option on speech property dialog You could set related melody option inc
71. playing button Stop midi or speech playing button Restart Reset playing button No Repeat playing midi or speech button rm Repeat playing midi or speech button Sound on button ell Sound off button p Volume slider bar eSL eAM Series eSLZ000 IDE User s Guide Appendix B eSL eAM Series eSLZ000 IDE User s Guide e 67 Appendix C Appendix C How to Use the Hardware Breakpoint C 1 Hardware Breakpoint Setup Hardware Breakpoint setting X sai Four Domain dii v RAM C DO C Revister RO R7 write only G Read C Wite C RAN 7 ADDRESS O 0x00 0x1FFF M DATA O Qx00 OxFFFF M MASKE 0 px000FF jw Enable SET B W hexadecimal digits Read C Write R W r3 ADDRESS 0 0x00 0x1 FFF M DATA O 0 00 OxFFFF WE 0 00004 Enable SETI Logical condition Pre Trigger E SETI OR SETZ Enable Ereakpoin 4 Enable Co aes 1 039 CANCEL Loop Counter C 1 1 PC Counter Break Read Write You can set an immobile PC value to trigger break The PC break setting only supports address break read write and read write data and mask cannot be set in the dialog PC range from 0x0000 to Ox7FFF 68 e eSL eAM Series eSLZ000 IDE User s Guide Appendix C For example If user sets the PC break value as 0x0084A logical function as SETI or SET2 Loop counter as 1 Run after breakpoint trigger as
72. ror messages Status Bar Show Status Connect Status ICE Connected Disconnect Status ICE Disconnect Play Status Playing Midi or Speech file Pause Status Pause Playing Midi or Speech file Stop Status Stop Playing Midi or Speech file m Setting Menu Project Setting Define compiler assembler linker customize and directory astting option MIS Connect Setting Define printer port connection Connect with ICE default 1s 378H IDE Setting IDE Setting Tab Define tab size for Editor amp output windows Font Define font for Editor amp Output windows eSL eAM Series eSLZ000 IDE User s Guide Chapter 1 Project Setting Define compiler assembler linker target voice and directory option Compiler Option Dialog Project Setting Dialog M Support warning messages w Support extra warning for several ANS T mles fonly for C file Optirizations Disable Debug Support warning messages Support warning message when compile or assemble project Support extra warning for several ANSI rules Support extra warning message for several ANSI rules when compile C file This option only work at C file Optimization Support debug information if select debug mode opposite Release mode doesn t have debug information For this reason if you want to debug source code you must select disable debug mode Linker Option Dialog Target v Substitute short irpicall where possible V Support
73. s Display Dialog to manipulate source files currently active in the Editor windows Help Menu About ELAN IDE About ELAN See information on version of the IDE current eSL eAM IDE Program Pop Up Menu Right Click edit document then IDE will pop up this n menu For description of all items refer to previous pages Insert File into Project LP Open Document Close Document led Save Save As Save All Save Project Close Project g Find 4 Inert Remove Breakpoint Jh Disable Breakpoint Ctrl F9 Clear All Breakpoints dim Enable Disable All Breakpoints Debug Windows Tile Properties v lmeinc GSP Windows 34 e eSL eAM Series eSLZ000 IDE User s Guide e 1 2 2 3 Toolbar 12 3456 7 8 9 10 11 121314 15 Chapter 1 16 17 18 19 202122 2324 25 262728 293031 323334 View hide either Standard or Build toolbar or both from View menu The following are the designated function for each of the icons eSL eAM Series eSLZ000 IDE User s Guide Open file Ctrl O Save file Ctrl 5 Cut Shift Del Copy Ctrl C Paste Ctrl V Undo Alt Backspace Redo Workspace Output ROM Status Find Ctrl F Print Ctrl P About Play Midi Speech Open EzWave Download PROM data Build F7 Rebuild All Ctrl F7 Rebuild Source Code Toggle ICE SW Free Run Ctrl F5 Go F5 Run to Cursor Ctrl F10 Step Over
74. st fi p 0 EU x93 C4 A Source Files DEBUG_TEST RI 0x0000 p X ice festasm R2 0x300 R2 OxSA5A 2i Header Files R3 0x2 p f register def D R2 RI 55 RO 0x93e4 RA x03FE SETI break condition trigger TO PORTA RO 77I0 writd test write x93C4 to O UXDB R5 xA5AS R4 0x3FE ae Ro 0 RO OxQ7FE ur B ce fg B3 40x50 Ri QOO Map File j 4 10 PC Ox014E data mempry write test write UKSABC to DM 0x50 R3 0x55 R2 0x5678 data memory write test write kKS678 to DM UzS5 SET2 break condition trigger R2 0 R2 R3 data menory read test read DM Px55 to R2 ROM Status al x R3 IO PORTB 10 read test read R2 0x5a5a Z M OM DA 4 0x7 R3 0x0 LOOP R4 R3 R2 R3 R5 ENDL R4 0xf RI fx System will generate breakpoint RO 0x100 JME DEBUG TEST RPI R4 gt PURO Ri RAM data move to program memory 4 d TENCO a O 0x07 to R3 Counter 1 Counter 2 PROM 32589 of 32758 words used 99 45 DR M 0 of 524288 words used 0 00 7 ICE download PROM data 0000 5000 0000 0055 0000 0000 0000 93C4 FFFF a E il DASA ASAS DASA ASAD 5ADA ASAG SAGA AGAS FROM Download aude 0000 0000 0000 0000 3000 0000 0000 0000 N008 SASA ASAS DASA ASAD SADA ASAG SAGA AGAS ICE Resetmg 0010 014E 1A4F 0000 0000 0144 0145 0000 0000 4000 4000 4000 4000 4000 4000 4000 4000 ICE download PROM data OKI 0000 0000 02A0 0000 0000 0000 0000 0000
75. t Speech folder to select you want coding type encho type or mark number Inport speech vp Export Speech vp Overview all sppech files 46 o eSL eAM Series eSLZ000 IDE User s Guide Chapter 2 Speech Over iew Dialog Type 1 08kbps O9kbps 10kbps C 12kbps C 14kbps 1 6kbps C 18kbps Advance C 20kbps 24kbps 28kbps C 40kbps Echo o Type 2 1 C 50kbps 73kbps 9 6kbps C 119kbps 14 2kbps 16 5kbps spie ein 7 Coding Type and Type 2 2 C 3 6kbps C 4 8kbps 6 0kbps C 72kbps C 84kbps C 96kbps 10 8kbps Plus Configuration C 12kbps C 132kbps C 14 4kbps Mark Num Type 3 12kbps 16kbps C 20kbps SampleRate 11025Hz v Type 4 C 24kbps 32kbps 40kbps Enhance Disable Type 5 C PCM Enable Beat Tracking Type 6 Sbit eDPCM C 6bit eDPCM Flash Off Marker Flash On Marker Select All File Name Mark Num Enhance i 00001 demo way Type2 2 4 8Kbps Mo Style 1 Disable Disable Speech files Search Conditions By FileName sd By Type Type By Style WO STYLE I BySample Rate 11025 v By Echo wo ECHO By Mark Num fi ByEnhance Default ByBit Tracking Disable By Tempo Flash On fo By Tempo Flash Off o Hardware Software Play Pad b v Repeat Search Now dm Speech Output pac M Speech Overview Dialog In this dialog you can multi select files and s
76. tecen esteso sue ii rr nta 70 CIS JO Break RaAdWIPLilaniininina 71 C 1 4 Register Break RO R7 Write Only 73 CL LOCAL Stio aa 75 CL DOO 0 a TI C 1 7 Run After Breakpoint Trigger ii 82 C 1 8 Hardware Breakpoint Supported Instructions ii 84 ive eSL eAM Series eSLZ000 IDE User s Guide au Contents D How to Use Self Test 87 D 1 IDE Tool Self Test Function Setting cecccccccccccceeeeeesseeeeeeeeeeaaeanseeeeeeeeeeeaas 87 D2 Self Test VO Application CIT tiri 89 Ip rdi cds del m rino vii 90 E How to Create and Use External Voice Project 91 E1 Create SPI Voice te PNE T MM 91 F2 A ae mos VOI Proe ta scree n 92 p UICE U iaia ateo era 95 PWM SSC PEOIOC Eoo onec tonta E MEIN MEUS 95 E2122 Melody Froe RR IE 96 eSL eAM Series eSLZ000 IDE User s Guide ev Contents vi e Reference Manual Revision History Doc Version Revision Description Date a Modify Appendix D and modify assemble watch window content 2006 8 15 Update compiler option window 2006 12 19 2007 4 16 Modify Speech Property Dialog content 1 7 2007 8 23 Modify Customize Dialog content Add speech coding type Type2 1 Type2 2 Remove Speech coding type Type2 1 8 i di ii 2007 11 19 Modify Speech Coding Type Setting dialog content EMF Download add SPI Flash Download information Modify Speech Option Dialo 1 9 S i j 2 2008 1 15 Modify Customize Setting Dialog 2 0 Modify Proj
77. the cursor is anchored applies to ICE debug mode only Break Execution Stop running program without ICE reset program will resume running from the location where it was last stopped Reset Perform hardware reset register contents are displayed with initial values ICEeSL will return to its initial condition Exit Debugging Stop running program and exit debugging mode Debug in debugging mode sets the Editor window to read only Machine Cycle Enable or disable display of the instruction cycle count of executed instructions Disassembly Window Show Disassembly Window Only enable at C project debugging mode eSL eAM Series eSLZ000 IDE User s Guide Chapter 2 eSL eAM Series eSLZ000 IDE User s Guide e 53 Appendix A Appendix A Library Tool Introduction A 1 Overview library file list a 2 co EU t C meme MEIN GJ AXCursor hel ricer m amp xIcons C bin C buildlib C ClocX14 H I CodeComposer V2 4C EDSPIDE H EDSPIDE OLD H ELA RISCII 4 ELAIDE wi s n of cance Library file name sary speechlib a CPU series DSP10 Symbols of object All obj file list in selected library file a Pa gue Extract o Close All function name list insert obj file into remove object file which save selected object file selected library file selected from list as another objject file in selected obj file
78. tor that provides editing functions for creating viewing and modifying source files It supports find replace cut copy paste and multi level undo redo B Compiler that follow standard ANSI C programming language framework B Assembler that supports file include macro assemble arithmetic block comment conditional assemble list map file and multiple source linking B Source Level Debugger that provides source level debugging function on target which is embedded on the ICEeSL In Circuit Emulator You can explore and analyze the status register and the memory contents of the eSL target with the eSL eAM IDE With its powerful features like multiple breakpoints real time modification of register contents and disassembly the ICEeSL becomes the indispensable partner of eSL IDE in offering a perfect development environment for eSL series microcontrollers See Section 1 2 2 1 for the further discussions of File View Mode functions 1 2 1 2 Voice View Mode B Project Manager that create save open and closes project It also manages and manipulates the existing MIDI files speech files and user data files to support instrument playback function of the eSL series sound processors B Converter that converts MIDI files speech files and other text binary data into voice data files for downloading into your applications Voice View Mode functions are further discussed in Section 1 2 2 1 eSL eAM Series eSLZ000 IDE User s Guid
79. ub Window B File Browser Search folder that include library file a from this sub window R7 asemblerbA i BOI 4XCursor i EPC AxHcons e bin j buildlib i Clocx14 H CodeComposer_ V2 EDSFIDE EDSPFIDE OLD ELA_RISCII ELAIDE speechlib a Library speechlib a Object Files B Symbol List List all function names include in selected object file 0bj 58 e eSL eAM Series eSLZ000 IDE User s Guide Appendix A Symbols af object A 4 Library Tool Buttons Add Remove Extract Ta Close Add Add additional object file into selected library file Remove Remove object files which selected form object file list window Extract To Save highlighted object file as another object file shown following Close Close library tool DES EE O al x File EC 8pe800 Type ei DEBUG lan speechlib a 8 KB H E D Link EH Documents a RAFA E C3 Administre E54 3z194escprajeck zd _ 032194esctest Ea ESL E lesaIDEv11 Setup exe _ 070693 _Jinstlib CT GcsTMT2M amp 4A322KXP 1070593 ET_TEST Cal BCS TNT2M64432 98M E al popo amp serial ini 8peanu Program Files _ DEBUG _ Release _ D Link _ Release0305 Documents and Settings _ Release0429 _ 5MLab TestStand Di al Cancel E Mu Network P Add Remove Close eSL eAM Series eSLZ000 IDE User s Guide e 59 Appendix B Gen Appendix B Play Midi amp Speec
80. w and can complicate the debugging process You can double click any expression in the Call Stack window and then IDE will show an arrow to pinpoint at the corresponding source code Note Call Stack window only use at C Project Bl Call Stack Window Call Stack aa at D EPGI HELLO C5 Ox00001040 im bb flo v5 2248 cod at DJEPG HELLO C11 Ox00001 558 m man O at DEP HELLO C 56 x sal globalval x x return x y z tc int main void union uf Int 1 inb j char ch enum coin penny nickel dime quarter half dollar dollarj Show green arrow at corresponding source code eSL eAM Series eSLZ000 IDE User s Guide ae Chapter 1 Watch Window The Watch window lets you view and modify program variables and lists the current function call nesting The contents of the Watch Window are automatically updated whenever program execution stops Note watch window for asm project only can watch the symbols defined as DW DS EQU Label and RAM data Note EQU Symbol no address information DS symbol only shows the first address and data For example RamReserve DS 1 DS Symbol EquValue EQU 10 EQU Symbol RomReserve DW 0x10 DW Symbol POWERON Label Symbol RAM data format expression The Expression only can full into decimal number hexadecimal hexcital number and some EQU symbol like RAMADDRESS EQU 50 1 0x1234 RAMADDRESS Watch Window for Asm Project Current
81. warming messages Substitute short jump call where possible Support jump call instruction optimization Support warning messages Support warning message when link project eSL eAM Series eSLZ000 IDE User s Guide e 27 Chapter 1 28 e Target Option Dialog Project Setting Dialog e Auto download voice data only Executable Project Auto verify PROM only Executable Project Body Type ESL256B Y Power On Frequency 12 288MHz e ystem Applied Voltage 3 Battenesid 53 F PORTO Applied Voltage 2 Batteries V z self test PROM and DROM only use at hardware Enable self type Input Fort E Bit o OutputPot Dx Bk o Display Port D z Bit fi Auto download voice project data eSL eAM IDE will auto download voice data into DROM when user starts debugging source code This option enable when eSL eAM IDE connect ICEesL and only support executable project 1 e only executable project can debug source code Auto verify PROM data eSL eAM IDE will verify PROM when compile or assemble source code Body Type IDE allow user reset body type when project opened Power On Frequency eSL eAM IDE allow user reset Power On frequency when project opened Frequency options are 8 192MHz 12 288MHz 16 384MHz 18 022MHz and don t care System Applied Vlotage IDE allow user selet the voltage for system If user selects the option 4 5V the frequency for eSL and eAM serial chip are 12 288MH
82. z 16 384MHz 18 022MHz and don t care If user selects the option 3V the frequency for eSL serial chip are 8 192M Hz 12 288MHz and don t care for eAM serial chip are 12 288MHz and don t care PORTC Applied Voltage IDE allow user select the voltage of PORTC If user selects the option 4 5V The IDE prohibit the IO 0x64 read write for total instruction and display the error in the output window eSL eAM Series eSLZ000 IDE User s Guide Chapter 1 Selftest PROM and DROM Enable or disable selftest PROM and DROM When user select disable the eSL eAM IDE will not fill dummy data OxFF to the maximum address and only fill the address which user used to binary file User can select input output and display pin refer to Appendix D Note This option only enable at ICE mode no support at Simulator mode Voice Option Dialog Project Setting Dialog C 1 Channel C Melody Ordy f 2 Channel or other speech option No Speech Meledy Algorithm Channel Type ist Channel znd Channel Typel Tvpez 1 Tvpez z Tvpe3 Tvpe4 Tvpes Type Record ADPCM v Speaker Independant Recognition C Record Length second Record length 5 second I Speed amp Pitch Control v Speaker Dependant Recognition E Beat Tracking C External Memory Internal RAM C 2Werds C 3Words C dWords 5Words I Hand Writing Recongnition External DROM Format By BYTE Mode IMP Source D Testes L aaaa aaa aaaaaa inp ESL
Download Pdf Manuals
Related Search
Related Contents
Blanco 501-115 User's Manual CP9660 PocketScan® Plus Corrigé SYSTEME SM44 13/24 User Manual PZ253 - Physik Instrumente User`s Manual Compte-rendu Séance Mars 2013 (61 Ko - ) MHRC-150 取扱説明書ダウンロード[日本語PDF 1.77MB] E-Verify User Manual - Messing Law Offices Copyright © All rights reserved.
Failed to retrieve file