M3A-0033 Renesas Electronics America, M3A-0033 Datasheet - Page 20
![DEV EVALUATION BOARD FOR M66291G](/photos/9/9/90997/m3a-0033_sml.jpg)
M3A-0033
Manufacturer Part Number
M3A-0033
Description
DEV EVALUATION BOARD FOR M66291G
Manufacturer
Renesas Electronics America
Datasheet
1.M3A-0033.pdf
(39 pages)
Specifications of M3A-0033
Main Purpose
USB Controller
Embedded
*
Utilized Ic / Part
M66291
Primary Attributes
*
Secondary Attributes
*
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Chapter 7. Modification of the Monitor Program
JP
JP1
JP2
JP3
JP4
JP5
7.1 Setting for Modification
7.2 How to Modify the Monitor Program
M66291GP Evaluation Board
When changing the oscillator of M3A-0033 into 20MHz, it is necessary to change the monitor program of internal
flash memory of M16C/80. The change method of monitor program is shown below.
(1) Change and create monitor program.
Please refer section “7.2” about change method. In addition, the execution file (20MHz correspondence version
monitor program) is prepared in \ENGLISH\PROGRAM\MONITOR\MOT (20MHz) folder attached CD-ROM,
please use it.
(2) Change the jumper setup of M3A-0033 as Table 7-1.
(3) Attach a 20MHz oscillator on M3A-0033.
(4) Supply the power to M3A-0033.
(5) Start FlashStart.
(6) Program the changed monitor program using FlashStart (Note). Please set ID code to “00H” altogether.
Note: Please refer to the attached manual about the operation of FlashStart.
(7) Turn off the power supply of M3A-0033.
(8) Return the jumper setup changed by (2) to the original setup.
Table 7-1 Jumper Setup When Flash-Memory Programming
When CPU clock of M16C/80 is changed into 20MHz from 10MHz, user should change the communication baud
rate of monitor program, and set the wait, the division ratio for programming to flash memory.
The source files of monitor program are in \ENGLISH\PROGRAM\MONITOR\SOURCE(10MHz) folder of
attached CD-ROM, copy it to a suitable folder and correct the file.
The files to be corrected are shown in Table 7-2, and the following shows the change method. Executing
ALLCOMP.BAT in the same folder after source file correction, the execution file of monitor program
(mon_main.mot) is created.
Table 7-2 Correction File List
<How to Change >
FILE :mon_cnt.a30
Line Program
191; MOV.B #32, U1BRG ; Transmitting Speed 38400 BPS (20M)
192; MOV.B #26, U1BRG ; Transmitting speed 38400 BPS (16M)
193; MOV.B #19, U1BRG ; Transmitting speed 38400 BPS (12M)
194; MOV.B #15, U1BRG ; Transmitting speed 38400 BPS (10M)
195; MOV.B #12, U1BRG ; Transmitting speed 38400 BPS (8M)
196; MOV.B #9, U1BRG ; Transmitting speed 38400 BPS (6M)
197; MOV.B #6, U1BRG ; Transmitting speed 38400 BPS (4M)
File to change
Mon_cnt.a30
F_ram8_1.a30
Table 7-3 Oscillator and Baud Rate Generator Contrast
Oscillator
Baud rate generator setup
Setting
Short-circuit
Short-circuit
Set “Flash” side
Set “Flash” side
Set “EX5V” side
Explanation
Initialize the monitor. In addition, the main routine
Download to flash memory
10MHz
15
Explanation
Bus (Byte pin) is set
CPU operation mode is set
Flash programming is set
Flash programming by using UART is set
The power is supplied from the regulated DC power supply.
- 16 -
20MHz
32
Here, it is setting up the baud
rate. Please set the baud rate
needed as Table 7-3.
M3A-0033