English
Language : 

M16C26A-M Datasheet, PDF (4/17 Pages) Renesas Technology Corp – Sample Program (Message)
ç
5. Operational Specification
(1) Immediately after the reset switch is depressed, a message if any
saved in the data flash area is displayed. If no messages are
saved in the data flash area (data = 0xff), nothing is displayed.
(2) The data received from the terminal is displayed.
Communication format
Baud rate: 9,600 bps
(In microcomputer, set at 9,615 bps)
Stop bit: 1
Parity: None
Number of characters received: 16
(Only up to 16 characters are accepted)
Received character code (written in ASCII)
Control code
TAB (0x09): Clear the displayed data
Clear the entire received string
BS (0x08): Backspace
Delete one character
(3) Press SW1 to write the currently displayed message into the data
flash.
(4) The result of a write to the data flash is displayed for 1 second.
When successfully written: Displayed as “Program success”
When erase error occurred: Displayed as “Erase error”
When program error occurred: Displayed as “Program error”
(5) TAB code is received, by which the display is cleared.
(6) After the reset switch is depressed, the saved data is displayed.
M16C/26A Group
Sample Program (Message)
(1) Reset switch depressed
(2) Character code received
abcde f gh
(3) SW1 depressed
(data written)
i
(4) Write result displayed
P r o g r am
succe s s
(5) TAB code received
(6) Reset switch depressed
(saved data displayed)
abcde f gh
i
REJ05B0816-0110 Rev.1.10
2007.11
Page 4 of 17