Tips, Tools and Applications for the Electronic Industry in Europe

Posted on 2016/03/15 by George

How to Program an SPI EEPROM using the Promira Serial Platform


Programming SPI memory devices is a common use case for the Promira Serial Platform with SPI Active Level 1-3 Applications. There are several ways to do this with the Promira Serial Platform, using Control Center Serial, Flash Center, or the Promira API. This article focuses on how to execute the commands in Control Center Serial Software Command Line mode. Although the following describes the Atmel SPI EEPROM AT25080A found on the I2C/SPI Activity Board, similar steps can be used for other devices.


In this article the Promira platform writes and reads mutiple bytes from AT25080A. Here the Promira platform is the SPI master and the AT25080A in the I2C/SPI Activity Board is the SPI slave. The Promira platform is connected to the AT25080A in the I2C/SPI Activity Board through the 34-10 I2C/SPI cable. The Promira platform supplies 3.3V SPI signals and 5V VDD signal to the I2C/SPI Activity Board. For additional information take a look at I2C/SPI activity board user's manual and the AT25080A datasheet

Writing and Reading Guidelines

  1. Connect the Promira platform USB connector to the PC USB connector.
  2. Download and unzip the latest version of Promira USB Drivers Linux.
  3. Follow the instructions in Section 5.2 - Connectivity of the Promira platform system user manual to configure the Ethernet over USB interface.


  4. Download and unzip the latest version of Promira FW Utility for Linux. If the Promira FW is not the latest FW, then update the Promira to the latest FW with the latest Promira FW Utility for Linux.
  5. Download and unzip the latest version of Control Center Serial.
  6. Connect the Promira platform I2C/SPI connector to the I2C/SPI Activity Board through 34-10 cable.
  7. Launch Control Center Serial.
  8. Connect Control Center Serial to the Promira platform.
    1. Click Adapter, and choose Connect.
    2. Select the Promira platform.
    3. Click OK to connect to the Promira platform.

  9. Write and read from SPI EEPROM on the Total Phase I2C/SPI activity board with Promira platform and Control Center Serial Command Line Mode.
    1. Launch terminal on the computer
    2. Go to Control Center Serial package folder with the file controlctr
    3. Type: "controlctr -c"
    4. Type "connect 2416-606091" (Modify the 2416-606091 to your Promira SN)
    5. Type "batch ./examples/spi-eeprom-read.xml"
    6. Type "disconnect 2416-606091" (Modify the 2416-606091 to your Promira SN)
    7. Type "quit"


For more information, visit the Promira SPI Kit:

Promira SPI Kit


This entry was posted in Programmer | Emulators, Device programming

by George