V850ES/Jx3 Microcontrollers 32-bit Single-Chip Microcontrollers
Programmer
R01AN0931EJ0300 Rev.3.00 Page 2 of 260
Jan. 11, 2012
CONTENTS
CHAPTER 1 FLASH MEMORY PROGRAMMING.................................................................................. 9
1.1 Overview........................................................................................................................................ 9
1.2 System Configuration ................................................................................................................ 10
1.3 Flash Memory Configuration..................................................................................................... 11
1.4 Command List and Status List.................................................................................................. 13
1.4.1 Command List.................................................................................................................................13
1.4.2 Status list ........................................................................................................................................14
1.5 Power Application and Setting Flash Memory Programming Mode ..................................... 15
1.5.1 UART Communication Mode ..........................................................................................................16
1.5.2 3-Wire Serial I/O Communication Mode with Handshake Supported (CSI + HS)............................16
1.5.3 3-Wire Serial I/O Communication Mode (CSI) ................................................................................17
1.5.4 Mode Setting Flowchart ..................................................................................................................18
1.5.5 Sample program .............................................................................................................................19
1.6 Shutting Down Target Power Supply ....................................................................................... 21
1.7 Command Execution Flow at Flash Memory Rewriting ......................................................... 21
CHAPTER 2 COMMAND/DATA FRAME FORMAT.............................................................................. 24
2.1 Command Frame Transmission Processing ........................................................................... 26
2.2 Data Frame Transmission Processing ..................................................................................... 26
2.3 Data Frame Reception Processing ........................................................................................... 26
CHAPTER 3 DESCRIPTION OF COMMAND PROCESSING ............................................................. 27
3.1 Status Command ........................................................................................................................ 27
3.1.1 Description......................................................................................................................................27
3.1.2 Command frame and status frame..................................................................................................27
3.2 Reset Command ......................................................................................................................... 28
3.2.1 Description......................................................................................................................................28
3.2.2 Command frame and status frame..................................................................................................28
3.3 Baud Rate Set Command...........................................................................................................29
3.3.1 Description......................................................................................................................................29
3.3.2 Command frame and status frame..................................................................................................29
3.4 Oscillating Frequency Set Command....................................................................................... 30
3.4.1 Description......................................................................................................................................30
3.4.2 Command frame and status frame..................................................................................................30
3.5 Chip Erase Command ................................................................................................................ 32
3.5.1 Description......................................................................................................................................32
3.5.2 Command frame and status frame..................................................................................................32
3.6 Block Erase Command .............................................................................................................. 33
3.6.1 Description......................................................................................................................................33
3.6.2 Command frame and status frame..................................................................................................33
3.7 Programming Command............................................................................................................ 34
3.7.1 Description......................................................................................................................................34
3.7.2 Command frame and status frame..................................................................................................34
3.7.3 Data frame and status frame ..........................................................................................................34
3.7.4 Completion of transferring all data and status frame.......................................................................35
3.8 Verify Command ......................................................................................................................... 36
3.8.1 Description......................................................................................................................................36