| Electronic Components Datasheet Search |
|
3886 Datasheet(PDF) 291 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
3886 Datasheet(HTML) 291 Page - Renesas Technology Corp |
|
291 / 380 page ![]() 2-174 3886 Group User’s Manual APPLICATION 2.15 Flash memory Fig. 2.15.13 CPU reprogramming control program example (4) NO YES Issue program command Reprogramming data is written to program address NO YES PASS FAIL NO YES 12 V applied circuit to VPP “OFF” ➄ CPU reprogramming mode release Initialize watchdog timer (write to watchdog timer control register) to prevent generation of watchdog timer interrupt during this processing. NO Retry counter + 1 NO YES NO YES ➃ Program/program verify Initialize watchdog timer (write to watchdog timer control register) to prevent generation of watchdog timer interrupt during this processing. YES END NO YES Program address + 1 Set program start address Continued from “CPU reprogramming control program example (2)” on page before previous Initialization of software counter (retry counter) for reprogramming retry count = “0” Reprogramming data receive from serial I/O Wait 1 µs *1 Erase/program busy flag = “0” ? Issue program verify command Wait 6 µs *1 Program verify data check Program last address Port Pi1 = “0” Apply VPP voltage = VPPL waiting for stabilizing *2 CPU reprogramming mode monitor flag = “0” ? Wait 5 ms *3 CPU reprogramming mode select bit = “0” CPU reprogramming mode select bit = “0” Waiting for release of CPU reprogramming mode CPU reprogramming mode select bit = “0” CPU reprogramming error CPU reprogramming mode select bit = “0” CPU reprogramming mode monitor flag = “0” ? Wait 5 ms *3 Port Pi1 = “0” Apply VPP voltage = VPPL waiting for stabilizing *2 Retry counter = 25? “4016” is written to flash command register (address 0FFF16) “C016” is written to flash command register (address 0FFF16) Waiting for program completed *1: The wait processing time shown in the flow chart is required regardless of the external clock input frequency. *2: Waiting by software until VPP input voltage is stabilized at VPPL is recommended. (Refer to Figure 2.15.14 and Figure 2.15.15 VPP voltage control timing B.) *3: The waiting time depends on VPP control circuit (Refer to Figure 2.15.14 and Figure 2.15.15 VPP voltage control timing C.) |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |