Home
SONIX 8-BIT DEVELOPMENT TOOLS S8KC2 (ENGLISH)
Contents
1. 4 After that you will need to assign a new project Click File from the menus and select New Project SONiX TECHNOLOGY CO LTD Page 18 Revision 1 93 E o o AY 8 bit micro controller v gt x In Circuit Emulator User s Menu 5 A file open dialog appears to select an assembler file to be the project main file The file should also include the chip declaration information i O Ap x Look in E Sanix 4 cr E fo LEN Files of ps Assembly asm Cancel at 6 After assigning the project the window should display the content information hor DIEI 1 96 Pmj Damani PRI Dra ae MER L4 Ele Bi Yas Toole EB duke Hunbow Help 8x Dm ope ee LTR o ajaj pu Ehi h i i i E a a a l i a i i ee dai Sysiem Register Beno progranm LTITTITT Hs a MR HR FLEIS E M ARHAR EHE HEIL RD HERE M BISHER BIER H REM IHHERHDMR HRS LAE ALE aengsenda i penas ne Chip sn3p1708 g SCORES CODE UPTION me ui wat Cede Option TER Enable ga ax an bode ptinn High CLK RE Code f ptian High CIk T Enahle Code Option Security Enable Cede Option Lun Enable e _ Option Match Pag Enable Code PA Y YSUNIX CODE OPTION POC eet eee ret aa ia Ls i gc ns Cgr Serc Trace gy j Wr axe Wech Mera Mune Hem Wd y STESA onon enun SESE a SONiX TECHNOLOGY CO LTD Page 19 Revision 1 93 8 bit micro controller m mor v NS a XxX In Circuit E
2. HEX LST and ERR files and then exits automatically If compiling fail system will only export ERR file and exits automatically The ERR file is the debug file for some editors as Code Wright SNS for SONIX Writer works for both Mask and OTP devices HEX for 3 party writer eg Hi Lo Example C gt TOOLS SN8ASM DEMOMOVEI ASM A SONiX TECHNOLOGY CO LTD Page 36 Revision 1 93 d m F 8 bit micro controller S a x In Circuit Emulator User s Menu SONIX reserves the right to make change without further notice to any products herein to improve reliability function or design SONIX does not assume any liability arising out of the application or use of any product or circuit described herein neither does it convey any license under its patent rights nor the rights of others SONIX products are not designed intended or authorized for us as components in systems intended for surgical implant into the body or other applications intended to support or sustain life or for any other application in which the failure of the SONIX product could create a situation where personal injury or death may occur Should Buyer purchase or use SONIX products for any such unintended or unauthorized application Buyer shall indemnify and hold SONIX and its officers employees subsidiaries affiliates and distributors harmless against all claims cost damages and expenses and reasonable attorney fees arising out of
3. A X bre Tk 1 LEE al AE 1 ae ES i F TEA ae IL E a T magi E ES SUHBX EIEE Boarel Tuer 1E ED Ge si e E E Es s kc Date SNC BEA E ICE Board Description 1 J1 7 5V DC power supply input 11 P1 Printer port socket Connect to PC 8 bit micro controller In Circuit Emulator User s Menu ili JP2 EV board s power source selection jumper ICE board provide on board 3 3V and 5V power supply for EV board If EV board s power is from external power supply please release JP2 IV D2 Power indicator V D3 ICE board initial indicator ON ICE initialize successfully Off ICE without initial SONiX TECHNOLOGY CO LTD Page 35 Revision 1 93 ic d 8 bit micro controller NS n N In Circuit Emulator User s Menu 5 3 WORKING UNDER DOS MODE Command path S8ASMxxx path2 xxx asm A The path is the path of SSASMxxx EXE The path2 is the path of file ASM The xxx asm is the source file name Description Compiler without A parameter If the compiler program compiles a file successfully system will export a SN8 amp HEX file and exits automatically If compiling fail system won t exit The user can debug in the program and finish compiler Compiler with A parameter gt The A parameter is to control the code option window and output some files Including A system will omit code option windows System compiles a file successfully system will export SN8
4. liue eed vou hard ie To conira chock Hed Step 5 Select Add Troublesshoot a device and click Next gt See figure below Add rmare Harder Wired Choose a Hademe ask When hangesgee mk o gou vent ha perum Sect the hase Iak wou sat bo prian end Irem chck Hed e aim ro A O Thoe Hea apliga d you ans adding a ness deseos ho our computer or aee eren pubem galing a deca wakia O S Em Lm ee ee DIM Directa AUriplag a decies noce thie onion lona s demos or lo prepare Hw comple bo unplug s Sere SONiX TECHNOLOGY CO LTD Page 8 Revision 1 93 In Circuit Emulator User s Menu Step 6 Go to the top of the lists Select Add a new device and click Next gt Sinn figure below mr T nuse Haribsari rand de Chnaze a Haden Device Fi is Wiech hardy device do geo vege bo bobleghooi The llora padae a ead habe on you compiler ig be tinal sentra with ome of these devices select the deca ard then chick Hed eS E oe sect And x re diab ie i eki ei IB ACF Fed Feature Button E Daed memo 2008 contada Sind 100 100 ep ot Mciciod Aldred P5 7 Eauboand F rewnns ann sanis Pre TA Back em oom J Step 7 Select No I want to select the hardware from a list and click Next gt See figure below Ach Benes Hardeaare Mirad Find Her Hibernis Winderst can abe cetect haideam thal met Plus an
5. rg rg n TIRE TIE Fafe PARF TEMA aas HEH ha Hn Far A Le a Simulate Mode Remainder The default setting of software simulator is OFF If users wish to change please modify the SSASM INT file On the other hand if the software simulator has already been turned ON SSASM INI and Assembler start up file S8ASMxxx EXE are saves in the same directory If can t find SSASM INT file users will need to execute SSASMxxx EXE again in order for program to generate the SSASM INI file To modify SSASM INI file please see the details below Exit SSASMxxx EXE program Use any kind of text editor program ie NOTEPAD to open up SSASM INT file Find the following messages INI SIMULATE NO Then change the above line to the following Don t connect SONiX ICE to PC then restart SSASMxxx EXE program to run simulator SONiX TECHNOLOGY CO LTD Page 16 Revision 1 93 r g W 8 bit micro controller l d CB B AUR In Circuit Emulator User s Menu 3 2 STARTING A NEW PROJECT 1 The first time to start SON1X Assembler the window displays as below 2 To create a new assembler file click File from the menus and select New SONiX TECHNOLOGY CO LTD Page 17 Revision 1 93 7 a Y 8 bit micro controller Q ANA In Circuit Emulator User s Menu 3 When finished click File again and type in the file name you wish you have
6. xv R gu EKHRHE STHP IHTEH P8 Eye Fi mE P ERETTE Trace ar EA PE Fano Mach Mem Mare Hem Mid af ij Teu Li meal UE Al Dikiy Mintow Help exer Fi mmis P eid Ss mpm a Poe dl id dl ain de Se ee lr dl dl System Register ais Em F ACE atiati ee ee ee ee ee dl dl Chip snd Sep ser PAULA C FII Etj 1 Ele Enable Ui HE Enable Enable Enable STH Cai Enable fi KE X El b IRTEN Fa Fi FE T Fh P5 CEE STACK sos fans uis aun Wach Mem Mare Mem Hid afe 9 poon fonon Shara ar iira the pri SONiX TECHNOLOGY CO LTD Page 21 Revision 1 93 8 bit micro controller In Circuit Emulator User s Menu SON IX 11 The program halts at the reset vector if it s first time to run A yellow arrow indicates where the program 1s ED SM AAEM 6 96 Pmj Demn PRI RE are 4 Ele Bit Yee Jools Ej Unity Mido Help Dm vp T 08 04 BRO Ol eA 7A 6 System Register 3004111 01 11 ja jo fa ACL PCW best japgu ae a E nisu Eest jmpsu test jnp978 i 6708 11110 100500 epe a a e m m FI g Trace ur Biz Egc Sec 10634 103 1 SU LL STACK sme FRE FFF TS FFFF FFFF Lo 335 Col KE Sk Ana Wach Mem Heres Hen Mod afe Ready 12 To set a breakpoint simply move the cursor to the line where you wish the program to be stopped Then click Tools from the menus and se
7. ve set it initially DEM DEEST 1096 Fmi gt amni FRI tern an Bie Edit Tew Jools Fil iiy Mundos Heb Dior el ola ello CP ey 1A cA test _japee test_jap o test jmp u ka J ae TSEC rye da m p Cyc Sec a Trace 10237 1 Ax Wai Mem Mere Hem Mind Really bo 52 Col SONIX TECHNOLOGY CO LTD Page 23 System Register ACE Aeneas Pci pur coz phe LaL fafs fF xv 06 us F7 R Bv 55 FF RBAHK 19940100 STHP CONTA IHTEH 1enaenge WO Port EI E TAM PO Fz Dengenoa COE STACK SING FFFF FFFF THER FFFF FFFF Revision 1 93 d mor 8 bit micro controller S E x In Circuit Emulator User s Menu 15 Any time the program stops Watch function could be set to monitor the variable Click Watch button located at lower left hand corner of the program window Then select one of the empty edit box right above Watch button a Search Symbol dialog box will automatically pop up Check EQU access and pick one of the variable to monitor 1e PCL NOTE PD SWAASM 1 96 Prog Demol won Damo am Ei Edi Yer Took BB Welty Wa Help Ojal e el ea rela a ala System Register act GT PEHL 0180 E oe 2 la u a HL HHL ha 55 FF amp vz jon on FF A ave 55 FF REAM 11111118 Cincel STKP editis HTEH A nemen iv EQU access BiT access 11111111 Bingit STACK STRA FFFF FFFF o sanct Hen Ba
8. 8 Bit Micro controller In Circuit Emulator User s Menu SONIX 8 Bit MCU In Circuit Emulator USER S MANUAL General Release Specification SONiX 8 Bit Micro Controller Development Tools SONIX reserves the right to make change without further notice to any products herein to improve reliability function or design SONIX does not assume any liability arising out of the application or use of any product or circuit described herein neither does it convey any license under its patent rights nor the rights of others SONIX products are not designed intended or authorized for us as components in systems intended for surgical implant into the body or other applications intended to support or sustain life or for any other application in which the failure of the SONIX product could create a situation where personal injury or death may occur Should Buyer purchase or use SONIX products for any such unintended or unauthorized application Buyer shall indemnify and hold SONIX and its officers employees subsidiaries affiliates and distributors harmless against all claims cost damages and expenses and reasonable attorney fees arising out of directly or indirectly any claim of personal injury or death associated with such unintended or unauthorized use even if such claim alleges that SONIX was negligent regarding the design or manufacture of the part SONiX TECHNOLOGY CO LTD Revision 1 93 8 bit micro controller In Circuit Em
9. Aw O al 3 TREIPEE C10 105 e JP10 and JP11 socket provide the connection interface between kernel chip and target board as well as all the I O ports But except LCD interface It is very convinence for users to verify the actual circuit quickly and efficiently Please see the above diagram for detailed description o JP2 and JP6 jumpers provide on board power supply for the ADC reference voltage input Short JP2 will connect AVREFH pin ADC high reference voltage input with AVDD analog power supply pin Short JP6 will connect AVREFL pin ADC low reference voltage input with AGND analog ground pin If JP2 and JP6 are leaved open user s target board must provide appropriate reference voltage for AVREFH and AVREFL pin f Be aware that the value of AVREFH minus AVREFL AVREFH AVREFL must be greater than 1 2V SONiX TECHNOLOGY CO LTD Page 31 Revision 1 93 E B o WAY 8 bit micro controller S a x In Circuit Emulator User s Menu The bypass capacitor CIO and C11 is important for suppling a stable and clean power source for ADC reference voltage Users can replace default value 0 1 uF of CIO and C11 with larger capacitor to improve the performance of reference voltage 4 LCD Connector See below 5 LCD Bias Switch See below 6 RES for LCD Bias COMO 3 3 COMI COM COM Co Wt como COME COMT EG EG 1 SBGZ EG S
10. E Sk 18 When finished Step Over function the yellow arrow will move to the next line and stops One of the macro PCL has been selected to be monitor in the above step thus you will see the content changes in the edit box From OC to 13 and itis because of the macro FE SNHAEM 1 96 Pony Damn amb Dermal rn Ek Eit Yee Jools FE uk Hie Help ms s pes 0 ne 014 cal ac EA System Register act TENE PEHL 0113 ao fan ss fr xv ow jus Fr aa 2 110 E 55 JFF jmp test japri BRAHE 1111118 i STEP 111111 En an INTEH renaen FO 41190 inn test impit PEL 13 Fz Pi 11711111 1 PS METETE STACK Ant Fikh Hem Here Hera Wd al Teu Lu 807 Cal SONiX TECHNOLOGY CO LTD Page 25 Revision 1 93 SON ride ar In Circuit Emulator User s Menu 19 Click Tools from the menu and select RUN or press F5 to continue program execution The RUN dialogue will indicate the program status E 146 Fm Demn amt Dermal em Ek Ei Yee Jools Fil ike Window Heb EE mj i Dig W ines System Register ate E PEHL anga coz pha HL ail fan os rF x rz aa oa f7 R gy 55 FF RAAHK 11111118 Cycles INE STHPO erri pcs feo 1611187 IRTEN 180080 WO Por FO TO Suprun Cyc 10050 Sul P2 mangan Cyc Sec Trace amara panganga Ph fi 1111111 PS METETE STACK TMT amp FFFF FFFF Aum ach Hem Here Hee 4nd ale 1
11. EG 4 SEGS SEGE SEGT SEGS SEGA EG 10 EG 11 EG 12 EG 13 SEG 114 EG 15 EG 16 EG 1T EG 15 SEG 18 SEGA EGZ1 SEG22 gt SEGZ3 a SEGA o Ss A o ge Ex du AB cH HEB 9 a a ZU DIF Z EG m BG SESA EG SEGJ4 SEG dS SEG SEGT SEGE EG Bias Selection Table The pin assignment for LCD Connector and LCD Bias Voltage Network are descriped in the above diagram To display data on the LCD users will have to connect the desired pins to the LCD module SONiX TECHNOLOGY CO LTD Page 32 Revision 1 93 m d 8 bit micro controller S a x In Circuit Emulator User s Menu Users may select three different types of LCD Bias simply by setting SWO and SWI of DIP SW2 When each combination of SW2 is selected the bias voltage of the network output is listed in the above bias selection Adjust LCD Contrast Adjust LCD Contrast 1 2 Bias 1 3 Bias 1 4 Bias The internal LCD Bias circuit connection of the 8 bit MCU kernal chip on EV board is shown in the above diagram SONiX TECHNOLOGY CO LTD Page 33 Revision 1 93 m F 8 bit micro controller S a x In Circuit Emulator User s Menu 7 LED Indicator The four LED display indicates different status of the ICE operation P mode Users are able to monitor the program simply by looking at the LED SONiX TECHNOLOGY CO LTD Page 34 Revision 1 93 SON IX 5 1 ICE BOARD T E r 1
12. Freed Conk Lr Hees mancfschuarens retalabon ce into the diee OK e serio and then cick Ok Cops meni schurer s fles hone Add Renowe Hardeare Wizard Selec s Device Orme Which dee do po wani io tad For thes dema Select the maaua and mode of vou bende device amd then click New E vous SONiX TECHNOLOGY CO LTD Page 11 Revision 1 93 In Circuit Emulator User s Menu Step 12 Click Next gt and the system will begin installation automatically See figure below Aid Renews Haridmare Wired Siar Hardee Inztallatinn Widest ct nare do mel rate lor pora na clea A Sonn ICE Sprem Versos Val use dels peeing do mita the polis ci dhe rd device To roll he colores fae pra nueve ascende chek Mecd Carcel Completing the Add Remove Hardware Wizard The lolicon hyrde mag nisle Sore ICE Saen Windows har hmohed metalling the softam bo Bar dence locke tha aaa chock Fresh SONiX TECHNOLOGY CO LTD Page 12 Revision 1 93 In Circuit Emulator User s Menu Step 14 To check if you ve successfully installed the SONIX ICE go to the System Properties Device Manager You should be able to find Sonix ICE among the lists See figure below aen We e BEH F g d B ende 4 E Dk deses a Bra siae i E CMEC fol dies Pas dat copies om Pace Sal dier A gg Bee eee ee De e A ES DE APA EA corks Al dd redemit Ty Pe and si her porog dea n Bi ici eni i BD iari eects i BaT E Boni
13. IENNEEIIE SPER ERECT REESE a Fig A 1 Page 29 8 bit micro controller In Circuit Emulator User s Menu Indicator LCD Bias cir 5 LCD Bias Switch LL 3 Analog Input Voltage Related Circuit 1 DIP Switch Revision 1 93 ik Y 8 bit micro controller v H x In Circuit Emulator User s Menu 1 DIP Switch RCMode ON pON 7 E 9 XTALZK JN JF TAL PM AAN Leo 18 DUE ON ON LCDW3DUTY ON OFF LCDIADUTY FE OFF ON LCD 1 5 DUTY OFF OFF 0 Press Reset button will reset the EV chip The program will then be restarted from address 0 If system clock is lower than IMhz OSG enabled option is recommended no matter if the system is in RC or Crystal oscillator mode When ICE works at RC mode please refer to the table below to set your DIP switch for both RC Mode and X TAL 2 Do not place any components at C4 and Y1 Leave them open and then adjust appropriate R3 and C3 value to get proper RC oscillator clock frequency you wish you have Following table provides a reference table of R3 and C3 VS frequency when ICE works at 5V R3 KOhm C3 pF Frequency KHz 33800 Ob BO EEE A A E 88 a A SONiX TECHNOLOGY CO LTD Page 30 Revision 1 93 b F 8 bit micro controller S H x In Circuit Emulator User s Menu 2 I O Connector See below 3 Analog Input Voltage Related Circuit TF AwREFL Ch 1 TREIPEE IF AA EFH a ch 1
14. a4 TIS FFFF FFF Boal E ES Lo 375 Col KE 20 Click Stop Run or Press F5 to terminate the program execution PD SW AAS 1096 Pony Damn amt Demn km Ek Eli Yev Tools Fil Miir Mudo Help cima 00 58 00 01 Poo alaala System Register ACL genas 11 PEHL anaa coz pi xve R BY nain test RBRHK ENA 18 THF int maim n 111111 TERA AA AA AE AAA OEA FA AE ENANA A AEREA AE z 5onix lastrictioa Ha ninal IRTER 10008004 ERE AEREA AFI FEAR FERIA EU W Put 1111008 PEL oa Cyc ESG ns Cgr Serc 4932 Trace 10237 1 Z amp TMTA FFFF IFFFF Aum ll Fikh Mem Heres Hem Md al l 1 SIS FFFF FFFF Boal E Lo 5c SONiX TECHNOLOGY CO LTD Page 26 Revision 1 93 d mor 8 bit micro controller S E x In Circuit Emulator User s Menu 21 Click Tools from the menu and select Reset or press Ctrl F5 to reset the program Then you may emulate again starting from the program reset vector mE DEEST 6 96 Pmj gt Damn eon ERE T em peus F vj ier Alella Downs System Register ALE aendsn 11 PEHL Che PS FII Fi Sai Ell CuisEl xz om ma F7 Fla R HY 55 FF nain tes RHAHE 111111 EG STHF 1 ERE IBA AAA AE ee ee ee ee 2 51 IRTEN 100040 CE ARA RA AAA AAA AAA AA Wo T110 Cec 576E 10060 mE E Anar Cyc Sec 3933 TAS Trace 108237 1 11111111 eun a STACK zj STM A Ano Watch Mem Here Hen Wod a e Wve FFFF FFF Be
15. d Fla compatible Whee Window delecte ree hardwuwe ft checks Ea cured teii bor the deta and relais the comect dee Do vou sere window Ip seasch lor pour ness ades SONiX TECHNOLOGY CO LTD Page 9 Revision 1 93 Em o Emo WF 8 bit micro controller NS A X In Circuit Emulator User s Menu Step 8 Select Other devices from the lists and click Next gt See figure below Arbli TITEL Haare Type Whai pe of hackers de pou vaa to iili jesd the oe of hardware you ient Ip mba 9 Ports ICUM E LPT Frrier SCSI and FAD cortadas EE Eee orlan anulo currum ram n lt Back Hes Caci Step 9 Select Standard IDE ATA ATAPI controller in the Manufacturers column then select Standard Dual Channel PCI IDE Controller in the Models column And click Have Disk See figure below Wak Hen Hardee Wiad Sele a Douce Da tii a h amp ch dee da vou isnt kon all for E device Sak the maisua and model of pour hee dece and then chock Het ll pou har disk hat cred ars the rro you man bo ida click Hare Dos Giarekw Dial Charr PO IDE Controles Stand DEE SON Haad Duk Controle Standard poieni devices Jf SONiX TECHNOLOGY CO LTD Page 10 Revision 1 93 SONA 8 bit micro controller In Circuit Emulator User s Menu Step 10 Click Browse find the directory with destination folder that contains unzipped files Then click OK See figure below ml
16. d should be in CORRECT setting If you haven t set your EV board please see Appendex A A Both SONiX ICE and PC should not have the power be turned ON at this time Step 1 Attach the DC adaptor to SONiX ICE Step 2 Turn on SONiX ICE Step 3 turn on PC Step 4 Locate an unused LPT port of PC Step 5 Connect SONIX ICE to the LPT port using a parallel cable Now go to the next section to install your SONIX ICE SONiX TECHNOLOGY CO LTD Page 5 Revision 1 93 m d 8 bit micro controller S a x In Circuit Emulator User s Menu 2 2 INSTALLING SONIX ICE About SONiX Assembler SONIX 8 bit microcontroller developer environment software provides text editor assembler simulator and windows based debug functions It supports all series of SON1X 8 bit microcontroller System Requirment Windows NT 95 98 2000 ME XP 2 0MB of available hard drive space eo 32MB RAM or greater File Description SN8ASMxxx zip assembler software package xxx represents the version ie 1 97 SS8ASMxxx exe main execution program xxx represents the version ie 1 97 MACROI h reference macro 1 MACRO2 h reference macro 2 MACRO3 h reference macro 3 t DO NOT delete or change any of the hidden directory from the unzipped files to avoid system errors System Interface Print port EPP or ECP mode Intallation Procedure Follow the steps in this section to install your SONiX ICE Step 1 Download the ZIP f
17. directly or indirectly any claim of personal injury or death associated with such unintended or unauthorized use even if such claim alleges that SONIX was negligent regarding the design or manufacture of the part Main Office Address 9F NO 8 Hsien Cheng 5th St Chupei City Hsinchu Taiwan R O C Tel 886 3 551 0520 Fax 886 3 551 0523 Taipei Office Address 15F 2 NO 171 Song Ted Road Taipei Taiwan R O C Tel 886 2 2759 1980 Fax 886 2 2759 8180 Hong Kong Office Address Flat 3 9 F Energy Plaza 92 Granville Road Tsimshatsui East Kowloon Tel 852 2723 8086 Fax 852 2723 9179 Technical Support by Email Sn8fae sonix com tw SONiX TECHNOLOGY CO LTD Page 37 Revision 1 93
18. ile from SONIX s website http www sonix com tw Click Entry to enter the website then go to the Download Tools page to download the program you need Login ID sonix Password spec Both Login ID and Password are case senstitive SONiX TECHNOLOGY CO LTD Page 6 Revision 1 93 d mor 8 bit micro controller S a x In Circuit Emulator User s Menu Step 2 Creat a new folder and then unzip the file to the destination folder that you wish 1e C sonix s8asmxxx If you are using Windows 95 98 please go to Step 15 If you are using Windows NT 2000 ME XP please go to Step 3 Following is an example of Windows 2000 Any questions regarding Window NT XP please contact you local agent for details all l T Po I fi 5 J Mu E a 3 m au Y ie ieee fee Eee Marie Control Panal a ES Pear gn Les Las a pata ir Conor Pana bo wi PF Er PERO you IO 4 his TE uT Farke rm Frid mnm era rd APA ST Coral ra A CR A n el E Mt 24 E mob i owl Bm Fia rol Fiere mul as A Pie D Fb Pra Prego Thie L Al a Tam Buen d Cox Du e Ls 3 nam mud E all Er pul V db rnt rosa Soba pire Compi SONiX TECHNOLOGY CO LTD Page 7 Revision 1 93 In Circuit Emulator User s Menu Step 4 Click Add Remove Hardware See figure below Add Remove Hardaare Wirard a E Welcome to the Add Remove Hardware Wizard The ware helos pou add remove unpkag and
19. lda fe pop L 45 Coll KE Sk All the menu item function could work by using the hot keys 1f there is a hot key description at the end of the select item SONiX TECHNOLOGY CO LTD Page 27 Revision 1 93 b F 8 bit micro controller v Bi x In Circuit Emulator User s Menu 4 Trouble shooting Q The ICE is reset spontaneously sometimes in ICE mode A It occurs when the user maps his network printer to the LPT1 that is connected to the ICE system To solve it just map the network printer to LPT2 Q ICE can t work under Windows 2000 A When ICE works under Windows 2000 Windows XP ICE device driver needs to be installed The document of ICE device driver describes the details of how to install the ICE under Windows 2000 Windows XP Q Could ICE work emulate the 3 3 voltage supply A Yes Just short the JP2 of the ICE board to the 3 3 voltage option Q LCD can t work normally A Check the LCD connected port first I O port for LCD function is JP13 on the ICE board If the connection is correct then check the duty switch c6 cl at the SW1 Select the right duty mode that the LCD 1s SONiX TECHNOLOGY CO LTD Page 28 Revision 1 93 SON IX 5 Appendix A 5 1 EV BOARD ORE DS USS 4 LCD Connector ike 2 VO Connector oUNiX EU Board SONiX TECHNOLOGY CO LTD mjo zo el la rT Cl m m Liig n 4 434b 47M Xn 38 7 21 2838 2211 LY 1B 12 244 00 02 94 36 202824 251D 12 1 14 JIIINENITII
20. lect Breakpoint EE NAATH 146 Pony Deen FRI heron ame ME El Dir Mido Help zb Wr xs mea hrania Er Fun Ene Sep ser System Register ACE CEET PCW CIT 6 DE Z CulrFS Po FII Pin Shp Oy Enn do Cursor BC to arc Sarh Lat Elrulcpotel hiel 1 CulrF U Fi2 Cyc n Cyc Sec Trace amo Watch bem Heme Hen Hd a Dearie oy enge braba SONiX TECHNOLOGY CO LTD Page 22 2 156C 006 104237 1 xv amp Bu RHAHH STHP IKTEH ua PD Fi PE FTHF 004 STKE A na aa ez 55 FF 11111118 ananga Put ESTI I oenoenoa ae me e a FFFF FFFF FFFF FFFF Revision 1 93 SONIA 13 Red dot represents successful breakpoint setting FE ZNBAZM 1096 Fang Maan FRI eani ane L4 Eie Bit Yee Tools Ejl Wnkty Mitos Help nma ola jm area ala ds A jn test jap u test jap n test jmp u ww j Eye 45BC ni Cgc Sec 28h amp Trace dita 1 FTHF ETHER Ain Waki Hem Hares Hee 4nd ale Teatr L McCall KE Sk 8 bit micro controller In Circuit Emulator User s Menu System Register ALG 08003104 PEHL FTT coz pik HL om fan EE FF xve oe oe FF R ouv 55 FF RBAHK 11111118 STHP nnn IKTER Henaenae Put MO Pos rna TEO 14 To continue running the program just repeat item number 9 The yellow arrow will stop at the breakpoint where you
21. mulator User s Menu 7 Begin writing the program codes when finishes click Tools and select Assembly to start assemble the program AN Always save the file before you compile the program To save a file click File from the menu aboe then select Save TE E TEA Pia s rc A System Register ALE dada iia Chip zn A SHURE A El CHj Enable l RE uj Enahle Co Enable e Enahle Ue Enable ERA A Cl Anto Mach Mem Heme Hem Wod a Jie 50d peo ET Lu L tall 8 In the start of assembly the Code Option dialog allows you to specify appropriate code option for different chip When done click OK to begin compiling Be sure to read the datasheet for detailed configuration of code options SHAFI iir Watch Dog High Clk z E RC LVD Enable M Enable Enable SONiX TECHNOLOGY CO LTD Page 20 Revision 1 93 e mor 8 bit micro controller S E x In Circuit Emulator User s Menu 9 The program will then start compiling information such as ROM size Check Sum will be listed in the output window HS ZNHAEM iH Fm Deen PR cheep E B t Few Wie i Da spe v el mpm Sia Compile System Register Code Option ia 02FF EPROM Check Sum is 6233 ACE ainim Chip SHOP 1 708 has maximum program ROM size 4095 hie program has used size 306 0x1 32 PEHL he program remain kee size 3789 for use E DE Z
22. re Hem Wad 4 3 F ilis FFF Frrr Realy En cab To REMOVE the Watch variable select the edit box again ie PCL When the Search Symbol dialog box pop up then remove all the contents from the top column 16 PCL is selected and it will also appear in the edit box EE SM AAEM 6 96 Pmj Damn umt Dermal em Ele Elk Tev Tools Hi iiy Mudo Hb ojal ele ale eala ameoa aleja System Register ALE genas s Pri CILH IY test jnps g k ay RRAHE STHF rost_jepoe IHTEH 111118 1140810 Fz manaa Ph m1 F5 jimes PFFF FFF Lo 34 Col KE ze Aun Hatch Mem Meme Hen nd a gt Rosle SONiX TECHNOLOGY CO LTD Page 24 Revision 1 93 d mor 8 bit micro controller E x In Circuit Emulator User s Menu 17 Click Tools from the menus and select Step Over you could trace Macro or Subroutine of the program in one step mE DEEST 6 96 Pmj gt Damn eon Demn em Fie Ele Yee RORIS Fil libre Meta Heb deny i mmo AA ark ee i Code FS ACE genas e Pri je 00 a A t DEZ lo fo a Step Dt SaF HL ail jan 55 FF Fundo Gwar CatsElO xv o oe oe F7 Pto Curs FID R og 55 fFF Darch Le RHRHE 111111 End m 5THP 1111111 Breskpotel IKTEH engen RAM Emak Krizuin Sangh Cyc i pores nti suns vie zs 9c Soc Trace 228 SIMI zl ETHER FFFF FFFF Ant Wakh Hem Here Men Wird a 4 A eee Spi ces the mee sivienead Lo 34 Col K
23. s ILE dere hi Sea des el uen cr n z uum demam 5 APR res eng us rollers Step 15 Before you starting using SON1X Assembler you may want to create a Shortcut for the SONIX Assembler To do so click right button of the mouse over the top of desktop area And browse to the SSASMXxxx exe file You are now ready to use the SONiX ICE please go to Chapter 3 for Quick SONiX TECHNOLOGY CO LTD Page 13 Revision 1 93 ic d 8 bit micro controller a X In Circuit Emulator User s Menu 3 QUICK START In this Chapter you will learn how to emulate the program using SONiX ICE The demo code is also provided in this Chapter 3 1 SETUP SONIX EMULATOR Before you begin using the SONiX Assembler be sure to check the following items Item 1 EV board and ICE board are well connected to each other Item 2 JP2 on ICE board Bottom board of ICE 1s in correct setting which specify the voltage supply 3 3V 5V or target power from EV board See Appendix A Item 3 Select Oscillator type to provide correct setting on EV board See Appendix A Item 4 Adjust DIP switch on EV board to configure the system See Appendix A For items 2 3 and 4 Please refer to Appendix A Item 5 Parellel cable are well connected between PC and SONiX ICE Item 6 DC power adaptor is connected to the SON1X ICE and both PC and SONIX ICE have been turned ON Item 7 Check the linkage between the SON1X Assembler and SONiX ICE TO DO SO you will need execu
24. te SSASMxxx exe then load the demo code and compile it O Press F7 to start complie the program code O Then press F5 to start emulation When emulator software has successfully linked to the SONiX ICE it will enter ICE mode and begin hardware in circuit emulation See Figure 3 1 SONiX TECHNOLOGY CO LTD Page 14 Revision 1 93 d mor 8 bit micro controller E x In Circuit Emulator User s Menu ea tt ae Pro ES IBI UEM IE T LA Be D amp Ter Job FA Dun Nahe d manada es ee RS RC RS o chip seep pe A OF TION Chii 1a Lier Cece iy ice rite aoe 1111111 i iiiiiii LEGE SIKr FARF FFFF STER offi FEE Tobb Mene Mou O ICE Mode Remainder If the connection between your computer and the SONiX ICE is not stable you may want to set PC BIOS from printer port mode to EPP ECP mode We strongly suggest the users not to connect the SONiX ICE through Key Pro or Print Port Switch Also we do advice the users to use LPT1 in order to receive the best available connectivity SONiX TECHNOLOGY CO LTD Page 15 Revision 1 93 Po Co 8 bit micro controller S Vul x In Circuit Emulator User s Menu LORS TT ENE MILES IBS 1E mci EEEEE11 FH EEgE Em f if Gi Cala cud 7 il AFC COS ca GFT poe HL HE gi t5 BB iere Email rvr MWE Jal i i E wr LOB FEE 770111718 ETEF gET111711 IHTEH ERBEERFE y Por NL 11111008 a Pi SEL LLL Ly Fi TITTIIT Fh BEBEEREE F LCD Dn FE
25. ulator User s Menu USER MANUAL REVISION HISTORY Version Date Description o VER 1 9 Sep 2002 V1 9 first issue VER 1 93 Feb 2003 1 Re organize installation procedure 2 Add appendix A HARDWARE REVISION HISTORY Part Version Date Description S Kernel chip S8KD 1 Sep 2002 S8KD second issue od S8KD 2 Nov 2002 Revision for S8KD 1 Po o4 odiytheLEDdescriptionontheboard o PO E ee sc ICE board fio pun 202 A ee SONiX TECHNOLOGY CO LTD Page 2 Revision 1 93 m d 8 bit micro controller S a x In Circuit Emulator User s Menu SONIX 6 Bit MCU ICE User Menu USER MANUAL REVISION HISTORY 255 c oietosresatecsbers ttes nut ocutier ita nares atoeup uot uot ps Dnus EEEE e Rivas sese aereas 2 HARDWARE REVBION BIS TORY st OONN E UNDE 2 1 In TRODUG DION PAPA Y 4 2 Sonix INSCIRCUP EMULA OB seseina en O 5 ZA CONNECTING SON ICE M 5 22 INSTALLING SONIX 6 3 Quick of y AA A 14 AAA A AAA PP uo 0 IIA 14 UI IN PROIE ai peace eel OE EEE 4 a E A 17 T roubLe AAA o O IIA 28 5 PPEN DEN A E E E N A 29 sid 0 0 29 O EBOARD ee 35 39 WOR KING UNDER DOS MODE sra reos 36 SONiX TECHNOLOGY CO LTD Page 3 Revision 1 93 E B o WAY 8 bit micro controller a
26. x In Circuit Emulator User s Menu 1 INTRODUCTION SONIX ICE is an In Circuit Emulator designs to support all series of SONIX 8 bit Microcontroller It provides a powerful and reliable emulating environment To begin with a complete developer tool includes SONIX emulator with 8 bit micro controller kernel chip assembler simulator and Window based integrated development software Users are allow to do program editting source level debug and system simulation with SON1X assembler software SONIX emulator board supports 5V 3 3V DC power supply or an external power supply from the target board SONiX TECHNOLOGY CO LTD Page 4 Revision 1 93 b F 8 bit micro controller v Bi x In Circuit Emulator User s Menu 2 SONIX IN CIRCUIT EMULATOR In this Chapter you will learn how to connect and to install the SONiX ICE to your computer 2 1 CONNECTING SONIX ICE Accessories Before you start check the following items prior to the setup B SONIX ICE and it contains Y EV board with SONIX S8KD 2 kernal chip See Appendex A for detailed information information regarding kernal chip version please contact your local agent for availability Y ICE board See Appendex A for detailed information DC power adaptor 7 5 VDC Parallel cable contact your local agent for availability Transition socket module contact your local agent for avaliability Connection Procedure Follow the steps in this section to connect your SONIX ICE f The EV boar
Download Pdf Manuals
Related Search
Related Contents
Philips DC290 Brodit ProClip Bestway® Bestway® Bestway format - Semaine de l`emploi Kurzübersicht Mobilteil Manual de instrucciones para el uso del selector de llave KIO Besoins Ethologiques d`Activité du Chien Un nuevo negocio AAT webinars Adobe Connect user guide Copyright © All rights reserved.
Failed to retrieve file