參數(shù)資料
型號: AT32AP7002-CTUR
廠商: Atmel
文件頁數(shù): 49/83頁
文件大?。?/td> 0K
描述: IC MCU AVR32 196-CBGA
產(chǎn)品培訓模塊: MCU Product Line Introduction
標準包裝: 1
系列: AVR®32 AP7
核心處理器: AVR
芯體尺寸: 32-位
速度: 150MHz
連通性: EBI/EMI,I²C,MMC,PS2,SPI,SSC,UART/USART,USB
外圍設備: AC'97,DMA,I²S,LCD,POR,PWM,WDT
輸入/輸出數(shù): 85
程序存儲器類型: ROMless
RAM 容量: 32K x 8
電壓 - 電源 (Vcc/Vdd): 1.65 V ~ 1.95 V
數(shù)據(jù)轉(zhuǎn)換器: D/A 2x16b
振蕩器型: 內(nèi)部
工作溫度: -40°C ~ 85°C
封裝/外殼: 196-TFBGA,CSBGA
包裝: 標準包裝
其它名稱: AT32AP7002-CTURDKR
2011 Microchip Technology Inc.
DS70118J-page 45
dsPIC30F2010
6.6
Programming Operations
A complete programming sequence is necessary for
programming or erasing the internal Flash in RTSP
mode. A programming operation is nominally 2 ms in
duration and the processor stalls (waits) until the oper-
ation is finished. Setting the WR bit (NVMCON<15>)
starts the operation, and the WR bit is automatically
cleared when the operation is finished.
6.6.1
PROGRAMMING ALGORITHM FOR
PROGRAM FLASH
The user can erase and program one row of program
Flash memory at a time. The general process is:
1.
Read one row of program Flash (32 instruction
words) and store into data RAM as a data
“image”.
2.
Update the data image with the desired new
data.
3.
Erase program Flash row.
a)
Set up NVMCON register for multi-word,
program Flash, erase and set WREN bit.
b)
Write address of row to be erased into
NVMADRU/NVMDR.
c)
Write 0x55 to NVMKEY.
d)
Write 0xAA to NVMKEY.
e)
Set the WR bit. This will begin erase cycle.
f)
CPU will stall for the duration of the erase
cycle.
g)
The WR bit is cleared when erase cycle
ends.
4.
Write 32 instruction words of data from data
RAM “image” into the program Flash write
latches.
5.
Program 32 instruction words into program
Flash.
a)
Set up NVMCON register for multi-word,
program Flash, program and set WREN bit.
b)
Write 0x55 to NVMKEY.
c)
Write 0xAA to NVMKEY.
d)
Set the WR bit. This will begin program
cycle.
e)
CPU will stall for duration of the program
cycle.
f)
The WR bit is cleared by the hardware
when program cycle ends.
6.
Repeat steps 1 through 5 as needed to program
desired amount of program Flash memory.
6.6.2
ERASING A ROW OF PROGRAM
MEMORY
Example 6-1 shows a code sequence that can be used
to erase a row (32 instructions) of program memory.
EXAMPLE 6-1:
ERASING A ROW OF PROGRAM MEMORY
; Setup NVMCON for erase operation, multi word write
; program memory selected, and writes enabled
MOV
#0x4041,W0
;
MOV
W0,NVMCON
; Init NVMCON SFR
; Init pointer to row to be ERASED
MOV
#tblpage(PROG_ADDR),W0
;
MOV
W0,NVMADRU
; Initialize PM Page Boundary SFR
MOV
#tbloffset(PROG_ADDR),W0
; Initialize in-page EA[15:0] pointer
MOV
W0, NVMADR
; Initialize NVMADR SFR
DISI
#5
; Block all interrupts with priority <7
; for next 5 instructions
MOV
#0x55,W0
MOV
W0,NVMKEY
; Write the 0x55 key
MOV
#0xAA,W1
;
MOV
W1,NVMKEY
; Write the 0xAA key
BSET
NVMCON,#WR
; Start the erase sequence
NOP
; Insert two NOPs after the erase
NOP
; command is asserted
相關PDF資料
PDF描述
AT32UC3A0512-ALUT IC MCU AVR32 512KB FLASH 144LQFP
AT32UC3A3128-ALUT IC MCU 128KB FLASH 144LQFP
AT32UC3B0512AU-Z2UR IC MCU 512KB FLASH 64VQFN
AT32UC3C2512C-A2UT IC MCU AVR32 512K FLASH 64TQFP
AT32UC3C2512C-A2ZT IC MCU 32BIT 512KB FLASH 64TQFP
相關代理商/技術參數(shù)
參數(shù)描述
AT32AP7002-CTUT 功能描述:32位微控制器 - MCU 32 KB SRAM 16 KB instruct/data caches RoHS:否 制造商:Texas Instruments 核心:C28x 處理器系列:TMS320F28x 數(shù)據(jù)總線寬度:32 bit 最大時鐘頻率:90 MHz 程序存儲器大小:64 KB 數(shù)據(jù) RAM 大小:26 KB 片上 ADC:Yes 工作電源電壓:2.97 V to 3.63 V 工作溫度范圍:- 40 C to + 105 C 封裝 / 箱體:LQFP-80 安裝風格:SMD/SMT
AT32AP7200-CFUR 功能描述:MCU AVR32 200MHZ 324-TFBGA RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:AVR®32 AP7 標準包裝:1,500 系列:AVR® ATtiny 核心處理器:AVR 芯體尺寸:8-位 速度:16MHz 連通性:I²C,LIN,SPI,UART/USART,USI 外圍設備:欠壓檢測/復位,POR,PWM,溫度傳感器,WDT 輸入/輸出數(shù):16 程序存儲器容量:8KB(4K x 16) 程序存儲器類型:閃存 EEPROM 大小:512 x 8 RAM 容量:512 x 8 電壓 - 電源 (Vcc/Vdd):2.7 V ~ 5.5 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 11x10b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 125°C 封裝/外殼:20-SOIC(0.295",7.50mm 寬) 包裝:帶卷 (TR)
AT32AP7200-CFUT 功能描述:IC MCU AVR32 AP 200MHZ 324TFBGA RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:AVR®32 AP7 產(chǎn)品培訓模塊:The Ultra-Low Power MSP430 MSP430 Overview MSP430 Design Tools MSP430 Peripherals MSP430x2xx/4xx and Wireless Overview Portable Medical Solutions with MSP430 MSP430 for Utility Metering Solutions MSP430: How to JTAG MSP430, How To Use the Clock System Grace Software Graphical User Interface MCU Overview Driver Library MSP430Ware Overview 標準包裝:1 系列:MSP430x4xx 核心處理器:RISC 芯體尺寸:16-位 速度:8MHz 連通性:SPI,UART/USART 外圍設備:欠壓檢測/復位,LCD,POR,PWM,WDT 輸入/輸出數(shù):48 程序存儲器容量:32KB(32K x 8 + 256B) 程序存儲器類型:閃存 EEPROM 大小:- RAM 容量:1K x 8 電壓 - 電源 (Vcc/Vdd):1.8 V ~ 3.6 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x12b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 85°C 封裝/外殼:100-LQFP 包裝:Digi-Reel® 其它名稱:296-26232-6
AT32AP7200-CTUR 功能描述:IC MCU AVR32 AP 200MHZ 324TFBGA RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:AVR®32 AP7 產(chǎn)品培訓模塊:The Ultra-Low Power MSP430 MSP430 Overview MSP430 Design Tools MSP430 Peripherals MSP430x2xx/4xx and Wireless Overview Portable Medical Solutions with MSP430 MSP430 for Utility Metering Solutions MSP430: How to JTAG MSP430, How To Use the Clock System Grace Software Graphical User Interface MCU Overview Driver Library MSP430Ware Overview 標準包裝:1 系列:MSP430x4xx 核心處理器:RISC 芯體尺寸:16-位 速度:8MHz 連通性:SPI,UART/USART 外圍設備:欠壓檢測/復位,LCD,POR,PWM,WDT 輸入/輸出數(shù):48 程序存儲器容量:32KB(32K x 8 + 256B) 程序存儲器類型:閃存 EEPROM 大小:- RAM 容量:1K x 8 電壓 - 電源 (Vcc/Vdd):1.8 V ~ 3.6 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x12b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 85°C 封裝/外殼:100-LQFP 包裝:Digi-Reel® 其它名稱:296-26232-6
AT32AP7200-CTUT 功能描述:IC MCU AVR32 AP 200MHZ 324TFBGA RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:AVR®32 AP7 產(chǎn)品培訓模塊:The Ultra-Low Power MSP430 MSP430 Overview MSP430 Design Tools MSP430 Peripherals MSP430x2xx/4xx and Wireless Overview Portable Medical Solutions with MSP430 MSP430 for Utility Metering Solutions MSP430: How to JTAG MSP430, How To Use the Clock System Grace Software Graphical User Interface MCU Overview Driver Library MSP430Ware Overview 標準包裝:1 系列:MSP430x4xx 核心處理器:RISC 芯體尺寸:16-位 速度:8MHz 連通性:SPI,UART/USART 外圍設備:欠壓檢測/復位,LCD,POR,PWM,WDT 輸入/輸出數(shù):48 程序存儲器容量:32KB(32K x 8 + 256B) 程序存儲器類型:閃存 EEPROM 大小:- RAM 容量:1K x 8 電壓 - 電源 (Vcc/Vdd):1.8 V ~ 3.6 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 8x12b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 85°C 封裝/外殼:100-LQFP 包裝:Digi-Reel® 其它名稱:296-26232-6