Make The Smartpic Serial Programmer: Feature Article
Make The Smartpic Serial Programmer: Feature Article
Make The Smartpic Serial Programmer: Feature Article
The programmer has two sockets program can set the level high (5.5 V) the programming of user program
for target devices. When told to accept or low (4.5 V) for reading. The level is memory when all remaining words
user program and EEPROM data size automatically set to 5.2 V when pro- are to remain blank, saving the time
parameters, the programmer tests to gramming in conformance with Mi- that would otherwise be wasted. The
see if a device is in either target crochip specifications that require VDD master program should verify the
socket. If no device or two devices are to be in the range of 4.75 to 5.25 V. device after programming to be sure
found, the programmer responds with The VDD levels may deviate slightly that there are no nonblank words
an error code. from those nominal voltages but will where there should be none. When
VPP will be applied to the target be within the limits of Microchips programming an EEPROM device, all
sockets only when a command is minimum and maximum specifica- of the program memory is pro-
received that tells the programmer to tions. grammed to assure that unused words
read or program a target device. VPP Hardware handshaking coordinates are erased. EEPROM data memory (if
cannot be applied unless VDD is ap- the computer and the programmer any) is always fully programmed and
plied. VDD will be applied prior to VPP during transfer of data in either direc- verified.
and when testing for devices in the tion. The programmer utilizes half- A device type code can be pro-
target sockets. duplex, interrupt-driven serial I/O grammed into configuration memory
When commanded to read or pro- with a one-character buffer and will at 2008h. This word can be left blank
gram a target device, no voltages are accept a character from the computer by programming it as 3FFFh. When a
applied to the target sockets until the only when it has asserted CTS. The device is read, the configuration
master program drops RTS. No volt- programmer waits until RTS is as- memory can be read first, including
ages are applied to the target sockets serted (up to 2.3 s) before sending a the device type code. The master
when the programmer is powered up, character. There are no unnecessary program can then establish the device
even if it is not connected. It is safe to delays while the computer or pro- parameters based on the type code
put a device into either or both sock- grammer is marking time to give the before reading user program memory.
ets at any time. Note: VDD is actually other time to perform its task. The programmer can read or pro-
at about 0.5 V when not applied. A When programming a non- gram up to 31.75 KB of words of user
target device will not be harmed by EEPROM device, words expected to program memory. The programmer
this low voltage and it can be safely remain blank in either the user pro- can also read or program up to 510
grounded. gram memory or configuration bytes of EEPROM data memory even
There are three possible levels for memory are not programmed or veri- if the program memory is not
VDD4.5, 5.2, or 5.5 V. The master fied. The master program can abort EEPROM. In the event that Microchip