參數(shù)資料
型號: TOOLSTICK330PP
廠商: Silicon Laboratories Inc
文件頁數(shù): 218/226頁
文件大?。?/td> 0K
描述: ADAPTER PROGRAM TOOLSTICK F330
標準包裝: 1
系列: ToolStick
類型: 微控制器編程器
適用于相關產(chǎn)品: C8051F330/331/332/333/334/335/336/337
所含物品: 2 個板和 USB 連接線纜
相關產(chǎn)品: 336-1429-5-ND - IC MCU 16K FLASH 20QFN
336-1428-5-ND - IC MCU 16K FLASH 20QFN
C8051F335-GMR-ND - IC 8051 MCU 2K FLASH 20MLP
C8051F334-GMR-ND - IC 8051 MCU 2K FLASH 20MLP
C8051F333-GMR-ND - IC 8051 MCU 4K FLASH 20MLP
C8051F332-GMR-ND - IC 8051 MCU 4K FLASH 20MLP
C8051F331-GMR-ND - IC 8051 MCU 8K FLASH 20QFN
C8051F330-GMR-ND - IC 8051 MCU 8K FLASH 20MLP
336-1269-ND - IC 8051 MCU 2KB FLASH 20QFN
336-1268-ND - IC 8051 MCU 2KB FLASH 20QFN
更多...
其它名稱: 336-1451
第1頁第2頁第3頁第4頁第5頁第6頁第7頁第8頁第9頁第10頁第11頁第12頁第13頁第14頁第15頁第16頁第17頁第18頁第19頁第20頁第21頁第22頁第23頁第24頁第25頁第26頁第27頁第28頁第29頁第30頁第31頁第32頁第33頁第34頁第35頁第36頁第37頁第38頁第39頁第40頁第41頁第42頁第43頁第44頁第45頁第46頁第47頁第48頁第49頁第50頁第51頁第52頁第53頁第54頁第55頁第56頁第57頁第58頁第59頁第60頁第61頁第62頁第63頁第64頁第65頁第66頁第67頁第68頁第69頁第70頁第71頁第72頁第73頁第74頁第75頁第76頁第77頁第78頁第79頁第80頁第81頁第82頁第83頁第84頁第85頁第86頁第87頁第88頁第89頁第90頁第91頁第92頁第93頁第94頁第95頁第96頁第97頁第98頁第99頁第100頁第101頁第102頁第103頁第104頁第105頁第106頁第107頁第108頁第109頁第110頁第111頁第112頁第113頁第114頁第115頁第116頁第117頁第118頁第119頁第120頁第121頁第122頁第123頁第124頁第125頁第126頁第127頁第128頁第129頁第130頁第131頁第132頁第133頁第134頁第135頁第136頁第137頁第138頁第139頁第140頁第141頁第142頁第143頁第144頁第145頁第146頁第147頁第148頁第149頁第150頁第151頁第152頁第153頁第154頁第155頁第156頁第157頁第158頁第159頁第160頁第161頁第162頁第163頁第164頁第165頁第166頁第167頁第168頁第169頁第170頁第171頁第172頁第173頁第174頁第175頁第176頁第177頁第178頁第179頁第180頁第181頁第182頁第183頁第184頁第185頁第186頁第187頁第188頁第189頁第190頁第191頁第192頁第193頁第194頁第195頁第196頁第197頁第198頁第199頁第200頁第201頁第202頁第203頁第204頁第205頁第206頁第207頁第208頁第209頁第210頁第211頁第212頁第213頁第214頁第215頁第216頁第217頁當前第218頁第219頁第220頁第221頁第222頁第223頁第224頁第225頁第226頁
Rev.1.0
91
C8051F336/7/8/9
16. Flash Memory
On-chip, re-programmable Flash memory is included for program code and non-volatile data storage. The
Flash memory can be programmed in-system, a single byte at a time, through the C2 interface or by soft-
ware using the MOVX instruction. Once cleared to logic 0, a Flash bit must be erased to set it back to
logic 1. Flash bytes would typically be erased (set to 0xFF) before being reprogrammed. The write and
erase operations are automatically timed by hardware for proper execution; data polling to determine the
end of the write/erase operation is not required. Code execution is stalled during a Flash write/erase oper-
ation. Refer to Section “6. Electrical Characteristics” on page 27 for complete Flash memory electrical
characteristics.
16.1. Programming The Flash Memory
The simplest means of programming the Flash memory is through the C2 interface using programming
tools provided by Silicon Labs or a third party vendor. This is the only means for programming a non-initial-
ized device. For details on the C2 commands to program Flash memory, see Section “26. C2 Interface”
To ensure the integrity of Flash contents, it is strongly recommended that the on-chip VDD Monitor
be enabled in any system that includes code that writes and/or erases Flash memory from soft-
ware. See Section 16.4 for more details.
16.1.1. Flash Lock and Key Functions
Flash writes and erases by user software are protected with a lock and key function. The Flash Lock and
Key Register (FLKEY) must be written with the correct key codes, in sequence, before Flash operations
may be performed. The key codes are: 0xA5, 0xF1. The timing does not matter, but the codes must be
written in order. If the key codes are written out of order, or the wrong codes are written, Flash writes and
erases will be disabled until the next system reset. Flash writes and erases will also be disabled if a Flash
write or erase is attempted before the key codes have been written properly. The Flash lock resets after
each write or erase; the key codes must be written again before a following Flash operation can be per-
formed. The FLKEY register is detailed in SFR Definition 16.2.
16.1.2. Flash Erase Procedure
The Flash memory can be programmed by software using the MOVX write instruction with the address and
data byte to be programmed provided as normal operands. Before writing to Flash memory using MOVX,
Flash write operations must be enabled by: (1) setting the PSWE Program Store Write Enable bit
(PSCTL.0) to logic 1 (this directs the MOVX writes to target Flash memory); and (2) Writing the Flash key
codes in sequence to the Flash Lock register (FLKEY). The PSWE bit remains set until cleared by soft-
ware.
A write to Flash memory can clear bits to logic 0 but cannot set them; only an erase operation can set bits
to logic 1 in Flash. A byte location to be programmed should be erased before a new value is written.
The Flash memory is organized in 512-byte pages. The erase operation applies to an entire page (setting
all bytes in the page to 0xFF). To erase an entire 512-byte page, perform the following steps:
1. Disable interrupts (recommended).
2. Set thePSEE bit (register PSCTL).
3. Set the PSWE bit (register PSCTL).
4. Write the first key code to FLKEY: 0xA5.
5. Write the second key code to FLKEY: 0xF1.
6. Using the MOVX instruction, write a data byte to any location within the 512-byte page to be erased.
7. Clear the PSWE and PSEE bits.
相關PDF資料
PDF描述
S331K25X7RP6UK5R CAP CER 330PF 2KV 10% RADIAL
RCM12DTKN CONN EDGECARD 24POS DIP .156 SLD
GCM12DCBH CONN EDGECARD 24POS R/A .156 SLD
QMK212B7682MG-T CAP CER 6800PF 250V 20% X7R 0805
RH-2415D/HP CONV DC/DC 1W 24VIN +/-15VOUT
相關代理商/技術參數(shù)
參數(shù)描述
TOOLSTICK336DC 功能描述:子卡和OEM板 C8051F336 Toolstick Daughter Card RoHS:否 制造商:BeagleBoard by CircuitCo 產(chǎn)品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
TOOLSTICK340PP 功能描述:插座和適配器 Dev Tool for C8051F340/1/4/5 RoHS:否 制造商:Silicon Labs 產(chǎn)品:Adapter 用于:EM35x
TOOLSTICK342DC 功能描述:子卡和OEM板 ToolStick C8051F34x daughter card RoHS:否 制造商:BeagleBoard by CircuitCo 產(chǎn)品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
TOOLSTICK342MPP 功能描述:插座和適配器 Toolstick Programer C8051F34X-QFN32 MCUs RoHS:否 制造商:Silicon Labs 產(chǎn)品:Adapter 用于:EM35x
TOOLSTICK360DC 功能描述:子卡和OEM板 C8051F362 TOOLSTICK DAUGHTER CARD RoHS:否 制造商:BeagleBoard by CircuitCo 產(chǎn)品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit