| ... | @@ -28,8 +28,13 @@ In many cases it might be more convenient to store the firmware in the flash mem |
... | @@ -28,8 +28,13 @@ In many cases it might be more convenient to store the firmware in the flash mem |
|
|

|
|

|
|
|
*Fig. 2: KC705 boot settings*
|
|
*Fig. 2: KC705 boot settings*
|
|
|
|
|
|
|
|
2. Add the correct SPI flash memory device to the Vidado hardware manger by right-clicking the target FPGA and selecting **Add configuration memory**. For BDAQ53 (KX2) select **S25FL512S**, for USBPix3 (KX1) select **MT25QL256**, for KC705 select **MT25QL128** if you have a rev. 1.0 board or MR25QL256 for rev. C ([Xilinx Reference](https://www.xilinx.com/support/answers/50079.html)).
|
|
2. Add the correct SPI flash memory device to the Vidado hardware manger by right-clicking the target FPGA and selecting **Add configuration memory**. Based on your hardware, select one of these:
|
|
|
|
- BDAQ53 (KX2): **S25FL512S**
|
|
|
|
- USBPix3 (KX1): **MT25QL256**
|
|
|
|
- KC705 **MT25QL128** if you have a rev. 1.0 board or MR25QL256 for rev. C ([Xilinx Reference](https://www.xilinx.com/support/answers/50079.html)).
|
|
|
|
|
|
|
The memory device now shows up in the target list and you will be asked, if you want to assign a configuration file.
|
|
The memory device now shows up in the target list and you will be asked, if you want to assign a configuration file.
|
|
|
|
|
|
|

|
|

|
|
|
*Fig. 3: Configuration memory device*
|
|
*Fig. 3: Configuration memory device*
|
|
|
|
|
|
| ... | @@ -45,27 +50,28 @@ In order to use multiple readout systems with one PC, every readout needs its ow |
... | @@ -45,27 +50,28 @@ In order to use multiple readout systems with one PC, every readout needs its ow |
|
|
The IP address can be changed in different ways:
|
|
The IP address can be changed in different ways:
|
|
|
##### BDAQ53 and USBPIX(=MIO3/MMC3) hardware
|
|
##### BDAQ53 and USBPIX(=MIO3/MMC3) hardware
|
|
|
- Jumper settings:
|
|
- Jumper settings:
|
|
|
The PMOD connector, located between the power connector and the USB port, can be used to configure the IP by soldering a pin header and setting jumpers.
|
|
The PMOD connector, located between the power connector and the USB port, can be used to configure the IP by setting jumpers.
|
|
|
|
|
|
|
|
The default IP address is always 192.168.10.16, but you can change it to .11.17, .12.18 or .13.19.
|
|
The default IP address is 192.168.10.**12**, but you can set the subnet in a range between .**10**.12 and .**25**.12.
|
|
|
|
|
|
|
|
**Procedure**:
|
|
**Procedure**:
|
|
|
1. Make sure, the readout system is not powered.
|
|
1. Make sure, the readout system is not powered.
|
|
|
2. Locate PMOD Pin1 (indicated by a white dot on the PCB).
|
|
2. Locate PMOD Pin1 (indicated by a white dot on the PCB).
|
|
|
3. The IP is set by putting jumpers on the PMOD connector, which short pin 1+2 and/or 3+4.
|
|
3. The IP is set by putting jumpers on the PMOD connector, which short pin 1+2, 3+4, 5+6 and 7+8. Standard binary counting is used:
|
|
|
|
|
|
|
|
| PMOD_1+2 | PMOD_3+4 | IP_ADDRESS |
|
|
| PMOD_7+8 | PMOD_5+6 | PMOD_3+4 | PMOD_1+2 | IP_ADDRESS |
|
|
|
| -------- | -------- | ------------- |
|
|
| -------- | -------- | -------- | -------- | ------------- |
|
|
|
| 0 | 0 | 192.168.10.16 |
|
|
| 0 | 0 | 0 | 0 | 192.168.10.12 |
|
|
|
| 0 | 1 | 192.168.11.17 |
|
|
| 0 | 0 | 0 | 1 | 192.168.11.12 |
|
|
|
| 1 | 0 | 192.168.12.18 |
|
|
| ... | ... | ... | ... | ... |
|
|
|
| 1 | 1 | 192.168.13.19 |
|
|
| 1 | 1 | 1 | 0 | 192.168.24.12 |
|
|
|
|
| 1 | 1 | 1 | 1 | 192.168.25.12 |
|
|
|
|
|
|
|
|

|
|

|
|
|
*Fig. 5: BDAQ53 ip setting (example for .19). The arrow points to pin 1.*
|
|
*Fig. 5: BDAQ53 ip setting (example for .13.12). The arrow points to pin 1.*
|
|
|
|
|
|
|
|
4. Double check, that you did not place the jumper in the wrong place!
|
|
4. Double check, that you did not place the jumper in the wrong place!
|
|
|
5. Turn the readout system on and ping the new IP address. Then change the parameter `ip` located in the the first section of the `bday53.ymal` configuration file to match the new IP address.
|
|
5. Turn the readout system on and verify the setting by a ping to the new IP address.
|
|
|
|
|
|
|
|
- EEPROM configuration memory (to be implemented)
|
|
- EEPROM configuration memory (to be implemented)
|
|
|
|
|
|
| ... | @@ -76,15 +82,16 @@ The IP address can be changed in different ways: |
... | @@ -76,15 +82,16 @@ The IP address can be changed in different ways: |
|
|
**Procedure**:
|
|
**Procedure**:
|
|
|
- Follow the same steps as for the BDAQ/USBPIX.
|
|
- Follow the same steps as for the BDAQ/USBPIX.
|
|
|
|
|
|
|
|
| DIP_SW2 | DIP_SW1 | IP_ADDRESS |
|
|
| DIP_SW4 | DIP_SW3 | DIP_SW2 | DIP_SW1| IP_ADDRESS |
|
|
|
| ------- | ------- | ----------- |
|
|
| ------- | ------- | ------- | -------| ----------- |
|
|
|
| 0 | 0 | 192.168.10.16 |
|
|
| 0 | 0 | 0 | 0 | 192.168.10.12 |
|
|
|
| 0 | 1 | 192.168.11.17 |
|
|
| 0 | 0 | 0 | 1 | 192.168.11.12 |
|
|
|
| 1 | 0 | 192.168.12.18 |
|
|
| ... | ... | ... | ... | ... |
|
|
|
| 1 | 1 | 192.168.13.19 |
|
|
| 1 | 1 | 1 | 0 | 192.168.24.12 |
|
|
|
|
| 1 | 1 | 1 | 1 | 192.168.25.12 |
|
|
|
|
|
|
|
|

|
|

|
|
|
*Fig. 6: KC705 ip setting (example for .19). The arrow points to pin 1.*
|
|
*Fig. 6: KC705 ip setting (example for .13.12). The arrow points to pin 1.*
|
|
|
|
|
|
|
|
##### Firmware synthesis
|
|
##### Firmware synthesis
|
|
|
If you want to synthesize your own firmware, make sure to modify the following line in `/firmware/SiTCP/WRAP_SiTCP_GMII_XC7K_32_K.V`:
|
|
If you want to synthesize your own firmware, make sure to modify the following line in `/firmware/SiTCP/WRAP_SiTCP_GMII_XC7K_32_K.V`:
|
| ... | |
... | |
| ... | | ... | |