V850ES/Jx3-L Microcontrollers V850ES/Jx3-L Microcontrollers
Flash Memory Programming (Programmer)
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.............................................................................................16
1.4.1 Command list........................................................................................................................... 16
1.4.2 Status list ................................................................................................................................. 17
1.5 Power Application and Setting Flash Memory Programming Mode ................................18
1.5.1 UART communication mode.................................................................................................... 19
1.5.2 3-wire serial I/O communication mode with handshake supported (CSI + HS)........................ 19
1.5.3 3-wire serial I/O communication mode (CSI) ........................................................................... 20
1.5.4 Mode setting flowchart............................................................................................................. 21
1.5.5 Sample program ...................................................................................................................... 22
1.6 Shutting Down Target Power Supply ..................................................................................24
1.7 Command Execution Flow at Flash Memory Rewriting ....................................................24
CHAPTER 2 COMMAND/DATA FRAME FORMAT....................................................................27
2.1 Command Frame Transmission Processing ......................................................................29
2.2 Data Frame Transmission Processing................................................................................29
2.3 Data Frame Reception Processing ......................................................................................29
CHAPTER 3 DESCRIPTION OF COMMAND PROCESSING..................................................30
3.1 Status Command ...................................................................................................................30
3.1.1 Description............................................................................................................................... 30
3.1.2 Command frame and status frame .......................................................................................... 30
3.2 Reset Command ....................................................................................................................31
3.2.1 Description............................................................................................................................... 31
3.2.2 Command frame and status frame .......................................................................................... 31
3.3 Baud Rate Set Command......................................................................................................32
3.3.1 Description............................................................................................................................... 32
3.3.2 Command frame and status frame .......................................................................................... 32
3.4 Oscillating Frequency Set Command..................................................................................33
3.4.1 Description............................................................................................................................... 33
3.4.2 Command frame and status frame .......................................................................................... 33
3.5 Chip Erase Command ...........................................................................................................35
3.5.1 Description............................................................................................................................... 35
3.5.2 Command frame and status frame .......................................................................................... 35
3.6 Block Erase Command .........................................................................................................36
3.6.1 Description............................................................................................................................... 36
3.6.2 Command frame and status frame .......................................................................................... 36
3.7 Programming Command.......................................................................................................37
3.7.1 Description............................................................................................................................... 37
3.7.2 Command frame and status frame .......................................................................................... 37
3.7.3 Data frame and status frame ................................................................................................... 37
3.7.4 Completion of transferring all data and status frame ............................................................... 38
R01AN0580EJ0200 Rev.2.00 Page 2 of 271
May 20, 2011