| Electronic Components Datasheet Search |
|
SH7041A Datasheet(PDF) 744 Page - Renesas Technology Corp |
|
|
|||||||||||||||||||||||||||||
SH7041A Datasheet(HTML) 744 Page - Renesas Technology Corp |
|
744 / 923 page ![]() 706 Set SWE bit in FLMCR1 n = 1 m = 0 Write 32-byte data in reprogram data area in RAM to flash memory consecutively Start of programming NG NG NG NG OK OK OK *2 *5 *5 *5 *5 *5 *5 *5 *5 *5 Store 32-byte program data in reprogram data area *4 *1 *5 Read verify data Clear SWE bit in FLMCR1 m = 1 End of programming Program data = verify data? End of 32-byte data verification? flag = 0? Verify Increment address Programming failure OK Clear SWE bit in FLMCR1 n ≥ 1000 n ← n + 1 Notes: *1 Data transfer is performed by byte transfer. The lower 8 bits of the first address written to must be H'00, H'20, H'40, H'60, H'80, H'A0, H'C0, or H'E0. A 32-byte data transfer must be performed even if writing fewer than 32 bytes; in this case, H'FF data must be written to the extra addresses. *2 Verify data is read in 32-bit (longword) units. *3 Even bits for which programming has been completed in a 32-byte programming loop will be subjected to additional programming if they fail the subsequent verify operation. *4 A 32-byte area for storing program data and a 32-byte area for storing reprogram data are required in RAM. The contents of the latter are rewritten according to the progress of the programming operation. *5 Make sure to set the wait times and repetitions as specified. Programming may not complete correctly if values other than the specified ones are used. Start RAM Program data storage area (32 bytes) Reprogram data storage area (32 bytes) *3 *3 *4 End of programming Perform programming in the erased state. Do not perform additional programming on previously programmed addresses. Write data (D) Note: The memory erased state is 1. Programming is performed on 0 data. Verify data (V) Rewrite data (X) Comment Programming completed Programming incomplete; reprogram Still in erased state; no action 0 0 1 1 0 1 0 1 1 0 1 1 Enable WDT Disable WDT Reprogram data computation Transfer reprogram data to reprogram data area Wait 10 µs Clear PV1(2) bit in FLMCR1(2) Wait 4 µs Dummy write of H'FF to verify address Wait 2 µs Set PV1(2) bit in FLMCR1(2) Wait 4 µs Clear PSU1(2) bit in FLMCR1(2) Wait 10 µs Clear P1(2) bit in FLMCR1(2) Wait 10 µs Set P1(2) bit in FLMCR1(2) Wait 200 µs Set PSU1(2) bit in FLMCR1(2) Wait 50 µs Figure 22.13 Program/Program Verify Flow |
|
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 |