TOOLSTICK542PP Silicon Laboratories Inc, TOOLSTICK542PP Datasheet - Page 118
TOOLSTICK542PP
Manufacturer Part Number
TOOLSTICK542PP
Description
PLATFORM PROG TOOLSTICK F542
Manufacturer
Silicon Laboratories Inc
Series
ToolStickr
Type
Microcontroller Programmerr
Specifications of TOOLSTICK542PP
Contents
2 Boards and USB Connecting Cable
Processor To Be Evaluated
C8051F542
Interface Type
USB
Operating Supply Voltage
2.7 V to 3.6 V
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
C8051F542
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
336-1718
- Current page: 118 of 274
- Download datasheet (3Mb)
C8051F54x
14.1.3. Flash Write Procedure
Flash bytes are programmed by software with the following sequence:
1. Disable interrupts (recommended).
2. Erase the 512-byte Flash page containing the target location, as described in Section 14.1.2.
3. Set the PSWE bit (register PSCTL).
4. Clear the PSEE bit (register PSCTL).
5. Write the first key code to FLKEY: 0xA5.
6. Write the second key code to FLKEY: 0xF1.
7. Using the MOVX instruction, write a single data byte to the desired location within the 512-byte sector.
8. Clear the PSWE bit.
Steps 5–7 must be repeated for each byte to be written. After Flash writes are complete, PSWE should be
cleared so that MOVX instructions do not target program memory.
14.1.4. Flash Write Optimization
The Flash write procedure includes a block write option to optimize the time to perform consecutive byte
writes. When block write is enabled by setting the CHBLKW bit (CCH0CN.0), writes to two consecutive
bytes in Flash require the same amount of time as a single byte write. This is performed by caching the first
byte that is written to Flash and then committing both bytes to Flash when the second byte is written. When
block writes are enabled, if the second write does not occur, the first data byte written is not actually written
to Flash. Flash bytes with block write enabled are programmed by software with the following sequence:
1. Disable interrupts (recommended).
2. Erase the 512-byte Flash page containing the target location, as described in Section 14.1.2.
3. Set the CHBLKW bit (register CCH0CN).
4. Set the PSWE bit (register PSCTL).
5. Clear the PSEE bit (register PSCTL).
6. Write the first key code to FLKEY: 0xA5.
7. Write the second key code to FLKEY: 0xF1.
8. Using the MOVX instruction, write the first data byte to the desired location within the 512-byte sector.
9. Write the first key code to FLKEY: 0xA5.
10.Write the second key code to FLKEY: 0xF1.
11. Using the MOVX instruction, write the second data byte to the desired location within the 512-byte
sector. The location of the second byte must be the next higher address from the first data byte.
12.Clear the PSWE bit.
13.Clear the CHBLKW bit.
118
Rev. 1.1
Related parts for TOOLSTICK542PP
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
KIT TOOL EVAL SYS IN A USB STICK
Manufacturer:
Silicon Laboratories Inc
Datasheet:
Part Number:
Description:
TOOLSTICK DEBUG ADAPTER
Manufacturer:
Silicon Laboratories Inc
Datasheet:
Part Number:
Description:
TOOLSTICK BASE ADAPTER
Manufacturer:
Silicon Laboratories Inc
Datasheet:
Part Number:
Description:
TOOLSTICK DAUGHTER CARD
Manufacturer:
Silicon Laboratories Inc
Datasheet:
Part Number:
Description:
TOOLSTICK DAUGHTER CARD
Manufacturer:
Silicon Laboratories Inc
Datasheet:
Part Number:
Description:
TOOLSTICK DAUGHTER CARD
Manufacturer:
Silicon Laboratories Inc
Datasheet:
Part Number:
Description:
TOOLSTICK DAUGHTER CARD
Manufacturer:
Silicon Laboratories Inc
Datasheet:
Part Number:
Description:
KIT STARTER TOOLSTICK
Manufacturer:
Silicon Laboratories Inc
Datasheet:
Part Number:
Description:
KIT UNIVERSITY TOOLSTICK STARTER
Manufacturer:
Silicon Laboratories Inc
Datasheet:
Part Number:
Description:
DAUGHTER CARD TOOLSTICK F330
Manufacturer:
Silicon Laboratories Inc
Datasheet:
Part Number:
Description:
CARD DAUGHTER UNIVRSTY TOOLSTICK
Manufacturer:
Silicon Laboratories Inc
Datasheet:
Part Number:
Description:
DAUGHTER CARD TOOLSTICK F582
Manufacturer:
Silicon Laboratories Inc
Datasheet:
Part Number:
Description:
DAUGHTER CARD TOOLSTICK F500
Manufacturer:
Silicon Laboratories Inc
Datasheet:
Part Number:
Description:
DAUGHTER CARD TOOLSTICK F540
Manufacturer:
Silicon Laboratories Inc
Datasheet:
Part Number:
Description:
DAUGHTER CARD TOOLSTICK F560
Manufacturer:
Silicon Laboratories Inc
Datasheet: