參數(shù)資料
型號: R5F56217BDLE#U0
廠商: Renesas Electronics America
文件頁數(shù): 115/148頁
文件大?。?/td> 0K
描述: MCU 32BIT FLASH 384KROM 145TFLGA
產(chǎn)品培訓模塊: RX Compare Match Timer
RX DMAC
標準包裝: 1
系列: RX600
核心處理器: RX
芯體尺寸: 32-位
速度: 100MHz
連通性: CAN,EBI/EMI,I²C,SCI,SPI,USB
外圍設備: DMA,LVD,POR,PWM,WDT
輸入/輸出數(shù): 103
程序存儲器容量: 384KB(384K x 8)
程序存儲器類型: 閃存
RAM 容量: 64K x 8
電壓 - 電源 (Vcc/Vdd): 2.7 V ~ 3.6 V
數(shù)據(jù)轉(zhuǎn)換器: A/D 8x10/12b,D/A 2x10b
振蕩器型: 內(nèi)部
工作溫度: -40°C ~ 85°C
封裝/外殼: 145-TFLGA
包裝: 托盤
2004 Microchip Technology Inc.
DS39609B-page 67
PIC18F6520/8520/6620/8620/6720/8720
5.5
Writing to Flash Program Memory
The minimum programming block is 4 words or 8 bytes.
Word or byte programming is not supported.
Table writes are used internally to load the holding reg-
isters needed to program the Flash memory. There are
8 holding registers used by the table writes for
programming.
Since the Table Latch (TABLAT) is only a single byte,
the TBLWT instruction has to be executed 8 times for
each programming operation. All of the table write
operations will essentially be short writes, because only
the holding registers are written. At the end of updating
8 registers, the EECON1 register must be written to, to
start the programming operation with a long write.
The long write is necessary for programming the inter-
nal Flash. Instruction execution is halted while in a long
write cycle. The long write will be terminated by the
internal programming timer.
The EEPROM on-chip timer controls the write time.
The write/erase voltages are generated by an on-chip
charge pump, rated to operate over the voltage range
of the device for byte or word operations.
FIGURE 5-5:
TABLE WRITES TO FLASH PROGRAM MEMORY
5.5.1
FLASH PROGRAM MEMORY
WRITE SEQUENCE
The sequence of events for programming an internal
program memory location should be:
1.
Read 64 bytes into RAM.
2.
Update data values in RAM as necessary.
3.
Load Table Pointer with address being erased.
4.
Do the row erase procedure.
5.
Load Table Pointer with address of first byte
being written.
6.
Write the first 8 bytes into the holding registers
with auto-increment.
7.
Set the EECON1 register for the write operation:
set EEPGD bit to point to program memory
clear the CFGS bit to access program
memory
set WREN to enable byte writes
8.
Disable interrupts.
9.
Write 55h to EECON2.
10. Write AAh to EECON2.
11. Set the WR bit. This will begin the write cycle.
12. The CPU will stall for duration of the write (about
2 ms using internal timer).
13. Execute a NOP.
14. Re-enable interrupts.
15. Repeat steps 6-14 seven times, to write
64 bytes.
16. Verify the memory (table read).
This procedure will require about 18 ms to update one
row of 64 bytes of memory. An example of the required
code is given in Example 5-3.
Holding Register
TABLAT
Holding Register
TBLPTR = xxxxx7
Holding Register
TBLPTR = xxxxx1
Holding Register
TBLPTR = xxxxx0
8
Write Register
TBLPTR = xxxxx2
Program Memory
Note:
Before setting the WR bit, the Table
Pointer address needs to be within the
intended address range of the eight bytes
in the holding register.
相關PDF資料
PDF描述
D38999/24MD97SN CONN RCPT 12POS JAM NUT W/SCKT
MS27656E23B21S CONN RCPT 21POS WALL MNT W/SCKT
D38999/26FE99SB CONN PLUG 23POS STRAIGHT W/SCKT
D38999/24MF11PN CONN RCPT 11POS JAM NUT W/PINS
D38999/24WD97JN CONN RCPT 12POS JAM NUT W/SCKT
相關代理商/技術參數(shù)
參數(shù)描述
R5F56218BDBG 制造商:Renesas Electronics Corporation 功能描述:MCU 32BIT RX621 176BGA
R5F56218BDBG#U0 功能描述:MCU 32BIT FLASH 512KROM 176LFBGA RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:RX600 標準包裝:96 系列:PIC® 16F 核心處理器:PIC 芯體尺寸:8-位 速度:20MHz 連通性:I²C,SPI 外圍設備:欠壓檢測/復位,POR,PWM,WDT 輸入/輸出數(shù):11 程序存儲器容量:3.5KB(2K x 14) 程序存儲器類型:閃存 EEPROM 大小:- RAM 容量:128 x 8 電壓 - 電源 (Vcc/Vdd):2.3 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x10b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 125°C 封裝/外殼:14-TSSOP(0.173",4.40mm 寬) 包裝:管件
R5F56218BDFB 制造商:Renesas Electronics Corporation 功能描述:MCU 32BIT RX621 144QFP
R5F56218BDFB#V0 功能描述:MCU 32BIT FLASH 512K ROM 144LQFP RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:RX600 標準包裝:96 系列:PIC® 16F 核心處理器:PIC 芯體尺寸:8-位 速度:20MHz 連通性:I²C,SPI 外圍設備:欠壓檢測/復位,POR,PWM,WDT 輸入/輸出數(shù):11 程序存儲器容量:3.5KB(2K x 14) 程序存儲器類型:閃存 EEPROM 大小:- RAM 容量:128 x 8 電壓 - 電源 (Vcc/Vdd):2.3 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x10b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 125°C 封裝/外殼:14-TSSOP(0.173",4.40mm 寬) 包裝:管件
R5F56218BDFP 制造商:Renesas Electronics Corporation 功能描述:MCU 32BIT RX621 100QFP