参数资料
型号: TOOLSTICK342DC
厂商: Silicon Laboratories Inc
文件页数: 11/276页
文件大小: 0K
描述: DAUGHTER CARD TOOLSTCK C8051F342
标准包装: 1
系列: ToolStick
类型: MCU
适用于相关产品: C8051F342
所含物品: 板,线缆
产品目录页面: 626 (CN2011-ZH PDF)
配用: 336-1345-ND - TOOLSTICK BASE ADAPTER
相关产品: 336-1345-5-ND - IC 8051 MCU 64K FLASH MEM 32-QFN
336-1300-ND - IC 8051 MCU FLASH 64K 32LQFP
其它名称: 336-1482
第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页第227页第228页第229页第230页第231页第232页第233页第234页第235页第236页第237页第238页第239页第240页第241页第242页第243页第244页第245页第246页第247页第248页第249页第250页第251页第252页第253页第254页第255页第256页第257页第258页第259页第260页第261页第262页第263页第264页第265页第266页第267页第268页第269页第270页第271页第272页第273页第274页第275页第276页
C8051F340/1/2/3/4/5/6/7/8/9/A/B/C/D
108
Rev. 1.3
12.1.3. Flash Write Procedure
Bytes in Flash memory can be written one byte at a time, or in groups of two. The FLBWE bit in register
PFE0CN (SFR Definition 10.1) controls whether a single byte or a block of two bytes is written to Flash
during a write operation. When FLBWE is cleared to ‘0’, the Flash will be written one byte at a time. When
FLBWE is set to ‘1’, the Flash will be written in two-byte blocks. Block writes are performed in the same
amount of time as single-byte writes, which can save time when storing large amounts of data to Flash
memory.During a single-byte write to Flash, bytes are written individually, and a Flash write will be per-
formed after each MOVX write instruction. The recommended procedure for writing Flash in single bytes is:
Step 1. Disable interrupts.
Step 2. Clear the FLBWE bit (register PFE0CN) to select single-byte write mode.
Step 3. Set the PSWE bit (register PSCTL).
Step 4. Clear the PSEE bit (register PSCTL).
Step 5. Write the first key code to FLKEY: 0xA5.
Step 6. Write the second key code to FLKEY: 0xF1.
Step 7. Using the MOVX instruction, write a single data byte to the desired location within the
512-byte sector.
Step 8. Clear the PSWE bit.
Step 9. Re-enable interrupts.
Steps 5-7 must be repeated for each byte to be written.
For block Flash writes, the Flash write procedure is only performed after the last byte of each block is writ-
ten with the MOVX write instruction. A Flash write block is two bytes long, from even addresses to odd
addresses. Writes must be performed sequentially (i.e. addresses ending in 0b and 1b must be written in
order). The Flash write will be performed following the MOVX write that targets the address ending in 1b. If
a byte in the block does not need to be updated in Flash, it should be written to 0xFF. The recommended
procedure for writing Flash in blocks is:
Step 1. Disable interrupts.
Step 2. Set the FLBWE bit (register PFE0CN) to select block write mode.
Step 3. Set the PSWE bit (register PSCTL).
Step 4. Clear the PSEE bit (register PSCTL).
Step 5. Write the first key code to FLKEY: 0xA5.
Step 6. Write the second key code to FLKEY: 0xF1.
Step 7. Using the MOVX instruction, write the first data byte to the even block location (ending in
0b).
Step 8. Write the first key code to FLKEY: 0xA5.
Step 9. Write the second key code to FLKEY: 0xF1.
Step 10. Using the MOVX instruction, write the second data byte to the odd block location (ending
in 1b).
Step 11. Clear the PSWE bit.
Step 12. Re-enable interrupts.
Steps 5–10 must be repeated for each block to be written.
相关PDF资料
PDF描述
V375C3V3C50B2 CONVERTER MOD DC/DC 3.3V 50W
GBC35DRXS CONN EDGECARD 70POS DIP .100 SLD
GEA14DTMN CONN EDGECARD 28POS R/A .125 SLD
REC5-2412SRW/H6/A CONV DC/DC 5W 18-36VIN 12VOUT
LM4040C30IDBZTG4 IC VREF SHUNT PREC 3V SOT-23-3
相关代理商/技术参数
参数描述
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
TOOLSTICK360PP 功能描述:插座和适配器 Dev Tool for C8051F360/F363 RoHS:否 制造商:Silicon Labs 产品:Adapter 用于:EM35x
TOOLSTICK370-A-DC 功能描述:子卡和OEM板 ToolStk C8051F37x/9x Daugter Card RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
TOOLSTICK381DC 功能描述:子卡和OEM板 Low-Cost Eval board RoHS:否 制造商:BeagleBoard by CircuitCo 产品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit