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
Page 1
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.
8-bit micro-controller SN8ICE 2K User Manual USER MANUAL REVISION HISTORY Version 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 Jul. 2004 First release. PCB V1.2 ICE board Aug.
SN8ICE 2K User Manual USER MANUAL REVISION HISTORY ..................... 2 HARDWARE REVISION HISTORY ......................2 INTRODUCTION ............................ 5 SN8ICE 2K SONIX IN-CIRCUIT EMULATOR ................. 5 PACKAGE CHECK LIST ......................... 5 CONNECTION PROCEDURE ......................6 INSTALLING M2IDE ..........................7 SYSTEM REQUIRMENT ......................... 7 FILE DESCRIPTION.........................
Page 4
Figure 4-14 The 60 pins socket of transition board is female type..........16 Figure 4-15 The 60 pins socket of transition board is male type ............. 17 Figure 4-16 Connect Easy-Writer to SN8ICE 2K ................17 Figure 6-1 Component placement ....................20 Figure 6-2 SN8ICE 2K socket and jumper position................
It supports all the SN8P2xxx series MCU. Because the new architecture, new digital function 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 development environment including editor, assembler, debugger and writer driver.
SN8ICE 2K User Manual 2.2 CONNECTION PROCEDURE Follow the steps in this section to connect your SN8ICE 2K: Both SN8ICE 2K and PC should not have the power be turned ON at this time. Step 1: Attach the DC adaptor to SN8ICE 2K...
3.3 INSTALLATION PROCEDURE 3.3.1 Install M2IDE Follow the steps in this section to install your M2IDE: Download the setup file from SONiX’s website http://www.sonix.com.tw, or contact the local agent for this file. Run the setup file and an introduction window shows like Figure 3-1 Description of the setup file Preliminary V0.1...
8-bit micro-controller SN8ICE 2K User Manual Click “Next>” to the next step, the License Page. Choose “I agree to the terms of this license agreement” 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…”...
8-bit micro-controller SN8ICE 2K User Manual 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 is successfully installed into your system.
SN8ICE 2K User Manual 4 QUICK START In this Chapter, you will learn how to emulate the program 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 launch the M2IDE in next time.
8-bit micro-controller SN8ICE 2K User Manual 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.asm” for the main program of this project Figure 4-4 Select the main file for project Preliminary V0.1...
8-bit micro-controller SN8ICE 2K User Manual The main file displays at the edit window. Project file tree listed at the left of the edit window. Figure 4-5 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->...
8-bit micro-controller SN8ICE 2K User Manual 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.
8-bit micro-controller SN8ICE 2K User Manual Click “Debug -> Step Over” (F10) from the menu, you could trace Macro or Subroutine of the program in one step. When finished “Step Over” function, the yellow arrow goes to the next program flow and stops.
8-bit micro-controller SN8ICE 2K User Manual To continue running the program, click “Debug-> Go” (F5). Program runs and 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->...
The CON1 is the generic I/O port including all I/O of SN8P2xxx series. Connect different transition board to CON1 to meet each MCU’s pin assignment. After ICE board V1.3, the CON1 is male socket. Please populate 60 pins female socket on transition board and connect transition board to SN8ICE 2K as following figure: Figure 4-14 The 60 pins socket of transition board is female type Preliminary V0.1...
8-bit micro-controller SN8ICE 2K User Manual If users populate the 60 pins male socket on 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...
8-bit micro-controller SN8ICE 2K User Manual 5 TROUBLE SHOOTING The ICE is reset spontaneously sometimes in ICE mode. 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.
Solution: Add open-drain transistor in P5.2 and add pull-up resistor in P5.0 Can’t emulate the ADCKS2 bit for SN8P270XA series chip. Solution: Always set ADCKS = “0” in SN8ICE 2K emulation. 12-bit ADC missing code is about 8LSB (9-bit resolution in half AVREFH input voltage, 12-bit resolution in other input voltage) Preliminary V0.1...
J1: 7.5V DC power supply input. J2: Printer port socket. 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 indicator CON1: Generic IO port, including all SN8P2xxx series I/O JP1: FPGA Test Pin, reserved for internal usage.
EXT_TRIG1/2: reserved for future usage VDD/VSS: reserved for future usage When the SN8ICE 2K connect to Easy Writer, these two jumpers, AVREFH/VDD and AVREFL/VSS should be shorted 6.4 CON1 and JP6: IO Port interface Circuit Schematic Figure 6-4 JP6: IO Expansion Port Figure 6-3 CON1: Generic IO Port Figure 6-5 listed the Generic IO port (CON1) pin assignment.
SN8ICE 2K User Manual 6.5 CLOCK INPUT CIRCUIT SN8ICE 2K provides two kind of circuit for the clock input. One is RC 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-6 Install RC oscillator Remove the crystal/resonator in Y2 Select High_Clk code option = RC in assembler SN8ICE 2K RC oscillator frequency table. The following table is for design guidance only. VDD = 5V R = 3.3K R = 5.1K...
Page 25
SONIX product could create a situation where personal injury or death may occur.
Need help?
Do you have a question about the SN8ICE 2K and is the answer not in the manual?
Questions and answers