參數(shù)資料
型號: TOOLSTICK330PP
廠商: Silicon Laboratories Inc
文件頁數(shù): 222/226頁
文件大小: 0K
描述: ADAPTER PROGRAM TOOLSTICK F330
標準包裝: 1
系列: ToolStick
類型: 微控制器編程器
適用于相關產品: C8051F330/331/332/333/334/335/336/337
所含物品: 2 個板和 USB 連接線纜
相關產品: 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
95
C8051F336/7/8/9
16.4. Flash Write and Erase Guidelines
Any system which contains routines which write or erase Flash memory from software involves some risk
that the write or erase routines will execute unintentionally if the CPU is operating outside its specified
operating range of VDD, system clock frequency, or temperature. This accidental execution of Flash modi-
fying code can result in alteration of Flash memory contents causing a system failure that is only recover-
able by re-Flashing the code in the device.
The following guidelines are recommended for any system which contains routines which write or erase
Flash from code.
16.4.1. VDD Maintenance and the VDD monitor
1. If the system power supply is subject to voltage or current "spikes," add sufficient transient protection
devices to the power supply to ensure that the supply voltages listed in the Absolute Maximum Ratings
table are not exceeded.
2. Make certain that the minimum VDD rise time specification of 1 ms is met. If the system cannot meet
this rise time specification, then add an external VDD brownout circuit to the RST pin of the device that
holds the device in reset until VDD reaches 2.7 V and re-asserts RST if VDD drops below 2.7 V.
3. Enable the on-chip VDD monitor and enable the VDD monitor as a reset source as early in code as
possible. This should be the first set of instructions executed after the Reset Vector. For 'C'-based
systems, this will involve modifying the startup code added by the 'C' compiler. See your compiler
documentation for more details. Make certain that there are no delays in software between enabling the
VDD monitor and enabling the VDD monitor as a reset source. Code examples showing this can be
found in “AN201: Writing to Flash from Firmware", available from the Silicon Laboratories web site.
4. As an added precaution, explicitly enable the VDD monitor and enable the VDD monitor as a reset
source inside the functions that write and erase Flash memory. The VDD monitor enable instructions
should be placed just after the instruction to set PSWE to a '1', but before the Flash write or erase
operation instruction.
5. Make certain that all writes to the RSTSRC (Reset Sources) register use direct assignment operators
and explicitly DO NOT use the bit-wise operators (such as AND or OR). For example, "RSTSRC =
0x02" is correct. "RSTSRC |= 0x02" is incorrect.
6. Make certain that all writes to the RSTSRC register explicitly set the PORSF bit to a '1'. Areas to check
are initialization code which enables other reset sources, such as the Missing Clock Detector or
Comparator, for example, and instructions which force a Software Reset. A global search on "RSTSRC"
can quickly verify this.
16.4.2. PSWE Maintenance
7. Reduce the number of places in code where the PSWE bit (b0 in PSCTL) is set to a '1'. There should be
exactly one routine in code that sets PSWE to a '1' to write Flash bytes and one routine in code that
sets PSWE and PSEE both to a '1' to erase Flash pages.
8. Minimize the number of variable accesses while PSWE is set to a '1'. Handle pointer address updates
and loop variable maintenance outside the "PSWE = 1;... PSWE = 0;" area. Code examples showing
this can be found in AN201, "Writing to Flash from Firmware", available from the Silicon Laboratories
web site.
9. Disable interrupts prior to setting PSWE to a '1' and leave them disabled until after PSWE has been
reset to '0'. Any interrupts posted during the Flash write or erase operation will be serviced in priority
order after the Flash operation has been completed and interrupts have been re-enabled by software.
10.Make certain that the Flash write and erase pointer variables are not located in XRAM. See your
compiler documentation for instructions regarding how to explicitly locate variables in different memory
相關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 產品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
TOOLSTICK340PP 功能描述:插座和適配器 Dev Tool for C8051F340/1/4/5 RoHS:否 制造商:Silicon Labs 產品:Adapter 用于:EM35x
TOOLSTICK342DC 功能描述:子卡和OEM板 ToolStick C8051F34x daughter card RoHS:否 制造商:BeagleBoard by CircuitCo 產品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
TOOLSTICK342MPP 功能描述:插座和適配器 Toolstick Programer C8051F34X-QFN32 MCUs RoHS:否 制造商:Silicon Labs 產品:Adapter 用于:EM35x
TOOLSTICK360DC 功能描述:子卡和OEM板 C8051F362 TOOLSTICK DAUGHTER CARD RoHS:否 制造商:BeagleBoard by CircuitCo 產品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit