Serial Peripheral Interface (SPI) Programming of EEPROM / Flash / MCU using SuperPro IS01
SuperPro IS01 Programmer supports high-speed programming of SPI compatible serial EEPROMs and Flash memory devices. The Serial Peripheral Interface (SPI) programmer (Superpro IS01 or Gang ISP programmer SuperPro IS03) provides fast programming of any SPI memory device by controlling the SPI bus signals directly through a dedicated high-speed SPI interface on the programmer. User can erase, program, verify and read content of SPI EEPROM and Flash memory devices. The programming operation steps are as follows:
- Search chip part numbers in the ISP programming software to view operation hint.
- Connect signal lines (including GND) for corresponding interfaces of the ISP programmer with the target board.
- If the “mass production" function is to be used, TPIN and TPOUT signal lines should also be connected.
- It is recommended that the target board power is supplied independently, especially for target boards with high power consumption and multiple power systems. Otherwise, VCC should be connected if power is supplied by the ISP cable.
- Switch on the target board independent power supply.
- Operate erase, blank check, and program. Verify functions from the software screen.
According to the device information box from the software, signal connections should comply with the table below.
Following is an example pinout of SPI EEPROM:
The in-system programmer and target system need to operate with the same reference voltage. This is done by connecting ground of the target to ground of the programmer.
The target AVR microcontroller will enter Serial Programming mode only when its reset line is active (low). When erasing the chip, the reset line has to be toggled to end the erase cycle. To simplify this operation, the target reset is controlled by the In-System Programmer.
When programming the AVR or other SPI chips in Serial mode, the In-System Programmer supplies clock information on the SCK pin. This pin is always driven by the programmer, and the target system should never attempt to drive this wire when target reset is active. Immediately after the Reset goes active, this pin will be driven to zero by the programmer.
When programming the AVR in Serial mode, the In-System Programmer supplies data to the target on the MOSI pin. This pin is always driven by the programmer, and the target system should never attempt to drive this wire when target reset is active.
When Reset is applied to the target AVR microcontroller, the MISO pin is set up to be an input with no pull up. Only after the “Programming Enable" command has been correctly transmitted to the target will the target AVR microcontroller set its MISO pin to become an output. During this first time, the In-System programmer will apply its pull up to keep the MISO line stable until it is driven by the target microcontroller.
VCC can be supplied from ISP programmer to the target PCB. This would allow the target to be programmed without applying power to the target externally. Another option is to use external power supply, in which VCC from programmer is left unconnected and board is powered using external power supply. When Designing Hardware Supporting In-System Programming, always connect ground of the target to ground of the In-System Programmer.
Do you have any questions?