Section 17 Flash Memory
Rev. 3.00 Sep. 27, 2007 Page 637 of 758
REJ09B0243-0300
Command H'3F (1 byte): New bit rate selection
Size (1 byte): The total length of the bit rate, input frequency, number of multipliers, and
multiplier fields
Bit rate (2 bytes): New bit rate
The bit rate value divided by 100 should be set here (for example, to select 19200 bps, the
set H'00C0, which is 192 in decimal notation).
Input frequency (2 bytes): The frequency of the clock signal fed to the boot program
This should be the frequency in MHz to the second decimal place, multiplied by 100 (for
example, if the frequency is 28.882 MHz, the values is truncated to the second decimal
place and multiplied by 100, making 2888; so H'0B48 should be set in this field).
Number of multipliers (1 byte): The number of selectable frequency multipliers and
divisors for the device.
This is normally 2, which indicates the main operating frequency and the operating
frequency of the peripheral modules.
Multiplier 1 (1 byte): Multiplier or divisor for the main operating frequency
Multiplier: Numerical value of the frequency multiplier (e.g. H'04 for
×
4)
Divisor: Two’s complement negative numerical value in the case of frequency division
(e.g. H'FE [-2] for
×
1/2)
Multiplier 2 (1 byte): Multiplier or divisor for the peripheral operating frequency
Multiplier: Numerical value of the frequency multiplier (e.g. H'04 for
×
4)
Divisor: Two’s complement negative numerical value in the case of frequency division
(e.g. H'FE [-2] for
×
1/2)
SUM (1 byte): Checksum
Response
H'06
Response H'06 (1 byte): Response to the new-bit-rate selection command
This is the ACK code and is returned if the specified bit rate has been selected.
Error
response
H'BF
ERROR
Error response H'BF (1 byte): Error response to new bit rate selection
ERROR (1 byte): Error code
H'11: Sum-check error
H'24: Bit rate selection error (the specified bit rate is not selectable).
H'25: Input frequency error (the specified input frequency is not within the range from the
minimum to the maximum value).
Содержание SH7124 R5F7124
Страница 2: ...Rev 3 00 Sep 27 2007 Page ii of xx ...
Страница 8: ...Rev 3 00 Sep 27 2007 Page viii of xx ...
Страница 36: ...Section 1 Overview Rev 3 00 Sep 27 2007 Page 16 of 758 REJ09B0243 0300 ...
Страница 68: ...Section 2 CPU Rev 3 00 Sep 27 2007 Page 48 of 758 REJ09B0243 0300 ...
Страница 108: ...Section 5 Exception Handling Rev 3 00 Sep 27 2007 Page 88 of 758 REJ09B0243 0300 ...
Страница 166: ...Section 7 User Break Controller UBC Rev 3 00 Sep 27 2007 Page 146 of 758 REJ09B0243 0300 ...
Страница 400: ...Section 9 Multi Function Timer Pulse Unit 2 MTU2 Rev 3 00 Sep 27 2007 Page 380 of 758 REJ09B0243 0300 ...
Страница 724: ...Section 20 List of Registers Rev 3 00 Sep 27 2007 Page 704 of 758 REJ09B0243 0300 ...
Страница 772: ...Rev 3 00 Sep 27 2007 Page 752 of 758 REJ09B0243 0300 ...
Страница 778: ...Rev 3 00 Sep 27 2007 Page 758 of 758 REJ09B0243 0300 ...
Страница 781: ......
Страница 782: ...SH7125 Group SH7124 Group Hardware Manual ...