s5u1c33000c Epson Electronics America, Inc., s5u1c33000c Datasheet - Page 45

no-image

s5u1c33000c

Manufacturer Part Number
s5u1c33000c
Description
Cmos 32-bit Single Chip Microcomputer S5u1c33000c Manual
Manufacturer
Epson Electronics America, Inc.
Datasheet
(4) Executing from wb33
Precautions
(1) The debug monitor on the S5U1C33104D1 has been implemented by linking with the "mon33ch1.lib".
(2) Forced break functions cannot be used in the Debug Monitor. A forced break function can be realized by
(3) The downloading speed is approx. 8KB/S for RAM and approx. 7KB/S for Flash memory. However, it
(4) The program to be debugged should be created so that it can be loaded and executed in the free area of the
S5U1C33000C MANUAL
(C COMPILER PACKAGE FOR S1C33 FAMILY) (Ver. 4)
Operating procedure for starting up the Debugger from the DOS prompt is as follows:
1) Start up the debug monitor as described above.
2) Set "\cc33\sample\dmt33004\" (or "\cc33\sample\dmt33005\") as the current directory.
3) Set a path to db33.exe.
4) Start up the debugger with the following command at the DOS prompt.
The debugger starts in debug monitor mode and is ready to debug "led2.srf". For example, the LED on the
S5U1C33104D1/S5U1C33209D1 board will start blinking by executing the g command.
The debug monitor does not support forced break functions such as key break.
When the SW2 of the S5U1C330M1D1 is turned on, a NMI is generated and it suspends the program
execution forcibly.
After writing the program to the Flash memory, it can be executed by the S5U1C33104D1/S5U1C33209D1
alone.
1) Terminate the Debugger.
2) Turn the system power off and then disconnect the RS232C cable.
3) Turn SW3 [DEBUG] of the S5U1C330M1D1 off and then turn the S5U1C33104D1/S5U1C33209D1 on.
The "led2.srf" program will be executed in the Flash memory and the LED will start blinking.
1) Start up the debug monitor as described above.
2) Start up wb33 and then select the parameter file "\cc33\sample\dmt33004\33104_m.par"
3) Select DB33 options on the [Other options] windows.
4) Start up the Debugger using the [DB33] button.
This procedure starts debugging the same as in items (2) and (3) above.
When debugging the user program on the S5U1C33104D1/S5U1C33209D1 board, observe the precautions
described below.
Therefore, the built-in serial interface Ch.1 cannot be used from the user program.
The debug monitor on the S5U1C33209D1 has been implemented by linking with the "mon33ch0.lib".
Therefore, the built-in serial interface Ch.0 cannot be used from the user program.
setting a hardware PC break point at a label position in the NMI or key input interrupt routine of the target
program.
Furthermore, other debugging functions are also restricted. Refer to Chapter 16, "Debugger", for the
functions and commands that are supported by the Debug Monitor.
varies according to the PC used and operating conditions.
RAM or the Flash memory on the S5U1C33104D1/S5U1C33209D1. The program load address must be
specified when linking since it cannot be specified by the Debugger.
The S5U1C330M2S uses 0 to 0x2F of the internal RAM and 0x6FF640 to 0x6FFFFF in the external SRAM.
Be aware that the S5U1C330M2S will not be able to work if the area above is rewritten. Furthermore, this
precaution applies when rewriting the memory using a memory operation command.
C:\cc33\sample\dmt33004\>db33 -mon -b 115200 -p 33104_m.par -c led2.cmd
(or "\cc33\sample\dmt33005\33104_m.par") on the execution window.
MON, 115200 bps, command file "led.cmd" or "led2.cmd"
EPSON
CHAPTER 3: SOFTWARE DEVELOPMENT PROCEDURES
29

Related parts for s5u1c33000c