MiniProg3 Connections For Bootloading Over I2C - KBA203606

Version: **

 

Question:

How should I connect the MiniProg3 to a DVK board, to bootload over I2C?

 

Answer:

With VTARG supplied from the DVK:

 

  1. Connect the following MiniProg3 pins to the DVK  
       
    1. VTARG pin -> DVK board VDD (for example 3.3V, i.e. DVK board supply voltage)
    2.  
    3. SCLK -> DVK board I2C clock pin
    4.  
    5. SDAT -> DVK board I2C data pin
    6.  
    7. GND -> DVK board GND
  2. Program the bootloader project through PSoC Creator
  3. Open the bootloader host program, and in Port Configuration select Voltage "External". Also select the proper I2C speed and slave address.
  4. Select a bootloadable .cyacd file and program it

 

Following is an image showing the Bootloader Host with the correct settings:

1.png

 

 

 

With VTARG supplied from the MiniProg3:

 

  1. Connect the following MiniProg3 pins to the DVK   
       
    1. VTARG pin -> DVK board VDD
    2.  
    3. SCLK -> DVK board I2C clock pin
    4.  
    5. SDAT -> DVK board I2C data pin
    6.  
    7. GND -> DVK board GND
  2. Program the bootloader project through PSoC Creator
  3. Open the bootloader host program and, in Port Configuration select Voltage "3.3 V". Also select the proper I2C speed and slave address.
  4. Select a bootloadable .cyacd file and program it

 

Following is an image showing the Bootloader Host with the correct settings:

2.png

 

 

 

Note:

 

  1. There is no need for external pull-up resistors as the MiniProg3 already has these resistors (5.6K)
  2. The MiniProg3 resistors are pulled-up to the VTARG voltage (provided either by the MiniProg3 or the DVK board)