ENGLISH 简体中文
首頁 網站導覽 聯絡我們
Home > Products > MCU > Industry-Grade Microcontrollers > Developing Guide
Developing Guide

The SPMC65 family, developed by Sunplus Innovation Technology , is easy to use. The corresponding integrated development environment FortisIDE and the in-circuit emulator&writer makes user to emulate and debug various members in SPMC65X family.

1 About In-Circuit Emulator&writer
The SPMC65x in-circuit emulator&writer picture is shown in Figure1-1:

Figure1-1 SPMC65x in-circuit emulator&writer

A: USB interface
B: 9V power supply input port
C: Programmer Socket , the chip is inserted into which (top aligned) for OTP device programming.
D: VDD Switch, which connects the in-circuit emulator&writer and user ' s target board. When the switch is turned ON, VDD between in-circuit emulator&writer and user ' s target board is connected; when the switch is turned OFF, they are disconnected.
E: Emulater flat cable socsket
F: Reset key
G: "Sleep" light, yellow
H:
"Run" light, green
I: "Power" light, red



2 Hardware Connections

Figure 1-2 Hardware connection schematic

The hardware connection schematic is shown in Figure 1-2.
1). Connect the in-circuit emulator&writer with PC
Insert the type D port of USB cable into the in-circuit emulator&writer (Figure 1-1 A), and then you just need to insert the flat port into the USB cable of PC.

2). Connect the in-circuit emulator&writer with user ' s target board
In-circuit emulator&writer introduced all the I/O pins of SPMC65x to the emulator header via a set of emulator flat cables. Each device of SPMC65x is equipped with a corresponding emulator header (that is, if SPMC65P2408A is adopted, user needs to use SPMC65P2408A emulator header). Before emulation, user needs to connect the flat cable to the corresponding emulator header, then insert the emulator header to the target board, following that, user can debug the target system.

3). Power supply methods
There are three kinds power supply modes for SPMC65X family EMU board :
(1) Use external power supply . Disconnect the power supply of emulator&writer and user's target board by switching the power to “OFF” (as shown in Figure1-1 D). Then connect “DC-9V” to the emulator writer via its power input end (as shown in Figure1-1 B). While the user ' s target board is power supplied by a separated one.
(2) Use DC-9V power adaptor . Connect the power supply of emulator&writer and user ' s target board by switching the power to “ON” (as shown in Figure1-1 D). Then connect “DC-9V” to the emulator&writer via its power input end (as shown in Figure1-1 B). At the same time, both emulator&writer and the user ' s target board are power supplied.
(3) Provide the working power from user ' s target board . Firstly, ensure that the power input end (as shown in Figure 1-1 D) of emulator&writer is not connected to a power supply. Then switch the power to “ON” (as shown in Figure 1-1 D) to power up the user ' s target board. At the same time, both the user ' s target board and emulator&writer are power supplied (the voltage that target board supplies for emulator&writer is 5V).


3 Emulation and debug
After accomplished hardware connecting, you can perform download, emulation and debug in FortisIDE that is special for SPMC65x (as shown in Figure1-3). On the emulator&writer, there are two lights, one is run indicator (as shown in Figure1-1 H) and the other is sleep indicator (as shown in Figure1-1 G). “H” will be lighted when the system is performing download or emulation; “G” will be lighted when the system entered the sleep mode.

Figure 1-3 Integrated Development Environment: FortisIDE


4 Programming
The Q-Writer is a SunplusIT new developed programming tool, which comes with SPMC65x OTP devices.
Q-Writer is built with a friendly operation interface and concise hardware architecture. The new generation programming tool provides convenient usage for you. The user interface is shown as Figure1-4.

Figure1-4 UI of Q-Writer


(1) Start up Q-Writer.
(2) Check whether IC in the emulator &writer is blank or not
(3) Select device
(4) Open file
(5) Set serial number and product information
(6) Program
(7) Verify
(8) Secure


5 Basic example
In order to speed your learning about SPMC65x MCU, SunplusIT provided some basic example program relating to the applications on hardware modules and their detailed descriptions.
(1) SPMC65x basic application
(2) In-circuit emulator&writer User's Guide
(3) FortisIDE User's Guide
(4) Q-Writer User's Guide
(5) Tools kit for FortisIDE and Q-Writer workbag : SPMC65 Tool Kit v1.0.0



         關於凌陽創新  |   產品資訊  |   新聞中心  |   客戶服務  |   徵才訊息  |  
  © 2010 凌陽創新科技股份有限公司版權所有.    | 聯絡我們  | 網站導覽  |