background image

                                                                         

 8-bit micro-controller            

SN8ICE 2K User Manual

 

SONiX TECHNOLOGY CO., LTD

                                      Page 13

                                   Preliminary V0.1

 

The complier message shows at the Build window, including the warning messages, error messages, 

resource status. Program status, like the ROM, RAM usage, is also reported at this stage. 

 

 

Figure 4-7 Complier message 

The program halts at the reset vector if it’s first time to run.  A yellow arrow indicates where the 

program counter (PC) is. An “ICE” keyword in the status bar indicates that IDE is in the debug mode. 

 

 

Figure 4-8 Debug window 

Summary of Contents for SN8ICE 2K

Page 1: ...d 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...

Page 2: ...Date Description VER 0 1 Aug 2004 V0 1 first issue HARDWARE REVISION HISTORY Part Version Date Description Kernel chip S8KE Jul 2004 S8KE first issue ICE board 1 2 Jul 2004 First release PCB V1 2 ICE...

Page 3: ...1 SYSTEM REQUIRMENT 7 3 2 FILE DESCRIPTION 7 3 3 INSTALLATION PROCEDURE 7 3 3 1 Install M2IDE 7 4 QUICK START 10 4 1 START M2IDE 10 4 2 DEBUG A PROJECT 12 4 3 CONNECT TO TARGET BY TRANSITION BOARD 16...

Page 4: ...Figure 4 5 Edit window 12 Figure 4 6 Code option table example 12 Figure 4 7 Complier message 13 Figure 4 8 Debug window 13 Figure 4 9 Step 14 Figure 4 10 Set breakpoint 14 Figure 4 11 Run to breakpo...

Page 5: ...unction can add and emulate at the time real chip is still under development Also SN8ICE 2K is no necessary to set any jumper or switch for code option changes The M2IDE is window based integrated dev...

Page 6: ...eps in this section to connect your SN8ICE 2K Step 1 Attach the DC adaptor to SN8ICE 2K Step 2 Turn on PC Step 3 Locate an unused LPT port of PC Step 4 Attach SN8ICE 2K to the LPT port using a paralle...

Page 7: ...or greater 3 2 FILE DESCRIPTION M2IDE_Vxxx exe M2IDE software package xxx represents the version 3 3 INSTALLATION PROCEDURE 3 3 1 Install M2IDE Follow the steps in this section to install your M2IDE...

Page 8: ...greement and click Next button to next page Figure 3 2 License page This page Select the installation folder You can change the installation folder just click the Change button Then click Next button...

Page 9: ...Preliminary V0 1 After all information is selected here show the setting Just re check it to see anything wrong Figure 3 5 Check again the installation setting Finally this window indicates the M2IDE...

Page 10: ...ram using SN8ICE 2K 4 1 START M2IDE The first time start M2IDE a welcome dialog window shows and the SN8Readme file opened Checked the checkbox in the welcome window will close the SN8Readme file when...

Page 11: ...minary V0 1 Then start a new project form the menu File New Project Figure 4 3 Start a new project Browse the file tree to the M2IDE directory Choose the Samples directory and select 2501A_TEMPLATE as...

Page 12: ...Edit window 4 2 DEBUG A PROJECT Finish editing the code start the assembler by pressing the F7 function key or select from the Debug build menu A code option window shows to select the correct code o...

Page 13: ...ing messages error messages resource status Program status like the ROM RAM usage is also reported at this stage Figure 4 7 Complier message The program halts at the reset vector if it s first time to...

Page 14: ...unction the yellow arrow goes to the next program flow and stops In this case the program jumps to the Reset label The PCL s value is in red because the JMP instruction changes the PCL value Figure 4...

Page 15: ...the yellow arrow stops at the breakpoint Figure 4 11 Run to breakpoint Remove all break points by click Remove all breakpoints icon Ctrl Shift F9 then Click Debug Go from the menu or press F5 to conti...

Page 16: ...et from the menu or press Ctrl F5 to reset the program Then you may emulate again starting from the program reset vector 4 3 CONNECT TO TARGET BY TRANSITION BOARD The CON1 is the generic I O port incl...

Page 17: ...transition board Please connect to SN8ICE 2K through two 60 pins cables as following figure Figure 4 15 The 60 pins socket of transition board is male type The following figure show how to connect Ea...

Page 18: ...stem 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 LPT port should be set in the BIOS Please check the BIOS about...

Page 19: ...at 5V e g 16 MHz crystal and Fcpu High_Clk 2 6 MIPS at 3V P5 2 open drain function shift to P5 0 Solution Add open drain transistor in P5 2 and add pull up resistor in P5 0 Can t emulate the ADCKS2 b...

Page 20: ...er SN8ICE 2K User Manual SONiX TECHNOLOGY CO LTD Page 20 Preliminary V0 1 6 2 COMPONENTS PLACEMENT Follow is the SN8ICE 2K PCB board named SN8ICE2K version 1 3 and its components placement Figure 6 1...

Page 21: ...et Connect to PC S1 Power switch S2 Reset button Press S2 resets the SN8ICE 2K The program restarts from address 0 D5 FPGA U7 successful configuration indicator D6 FPGA 12 successful configuration ind...

Page 22: ...to AVREFL pin of CON1 to provide user define ADC low reference voltage EXT_TRIG1 2 reserved for future usage VDD VSS reserved for future usage 6 4 CON1 and JP6 IO Port interface Circuit Schematic Fig...

Page 23: ...C oscillator and the other is Crystal oscillator Following is the picture of how the circuit connected 6 5 1 Install Crystal Resonator oscillator circuit Figure 6 5 Install Crystal Resonator oscillato...

Page 24: ...E 2K RC oscillator frequency table The following table is for design guidance only VDD 5V R 3 3K R 5 1K R 10K R 100K C 20 pF 3 333 MHz 2 275 MHz 1 190 MHz 125 KHz C 100 pF 1 439 MHz 954 KHz 491 KHz 50...

Page 25: ...r 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 affiliate...

Reviews: