Production Test Suite - base:a2183db75fcd48477c7edc8c17bee0b2020a91c8 commitshttps://ohwr.org/project/pts-base/commits/a2183db75fcd48477c7edc8c17bee0b2020a91c82014-05-21T15:19:07Zhttps://ohwr.org/project/pts-base/commit/a2183db75fcd48477c7edc8c17bee0b2020a91c8struct: Rename firmware to gateware, update paths in pts.py2014-05-21T15:19:07ZMatthieu Cattinmatthieu.cattin@cern.chhttps://ohwr.org/project/pts-base/commit/f1dbe2c7cf3f7d800c7c3095078c8488e6b63933struct: Remove remaining old version of the gn4124 class.2014-05-13T12:50:02ZMatthieu Cattinmatthieu.cattin@cern.chhttps://ohwr.org/project/pts-base/commit/ce7911349e75eb935b6089f1f7f9f719d14e89beMerge branch 'fmctdc1ns5cha_calib'2014-05-13T10:31:43ZMatthieu Cattinmatthieu.cattin@cern.ch
Conflicts:
common/cp210x_gpio.py
common/find_usb_tty.pyhttps://ohwr.org/project/pts-base/commit/60cdea41ce94ee0054d3d75b94262e1728e06c43struct: Prepare for merge with master.2014-05-13T10:17:17ZMatthieu Cattinmatthieu.cattin@cern.ch
calibr_box.py is board specific (the type of box differ depending on the board).
Therefore it is removed from the common pts. If a mean to differentiate between
the box if implemented, it might come back to common pts.
cp210x driver is removed, because it is now stored in the usb-relay-box1 project's repo.
cp210x_eeprom.py is removed, because it is specific to the board (e.g. not the same for fmc-adc)https://ohwr.org/project/pts-base/commit/e621341132525968f2d289ecbbdbbc63841a0e7estruct: Remove board specific files.2014-05-13T09:27:35ZMatthieu Cattinmatthieu.cattin@cern.chhttps://ohwr.org/project/pts-base/commit/c6861c388c837ee7e9566de1cb3d999eb558cc57common: Add a sdb class.2014-05-13T09:27:35ZMatthieu Cattinmatthieu.cattin@cern.chhttps://ohwr.org/project/pts-base/commit/242d2a862b2ad5571e48655c365aa0e444efbe8dsvec many: Change interrupt scheme, now uses two stages (eic + vic).2014-05-13T09:27:35ZMatthieu Cattinmatthieu.cattin@cern.chhttps://ohwr.org/project/pts-base/commit/f2c2ff912d9b0f12ce8eb7633fbc819df21144cdfmc_adc_svec: Fix issues to make svec_test00.py run in a vem front-end.2014-05-13T09:27:35ZMatthieu Cattinmatthieu.cattin@cern.chhttps://ohwr.org/project/pts-base/commit/2dc8405935c3be8542f14009a4f576bdbc1b2b05common: Add a class wrapper for rr based test.2014-05-13T09:27:35ZMatthieu Cattinmatthieu.cattin@cern.ch
The new class is inherited from the VME class from vv_lib (svec pts)
and it implements iread and iwrite methods needed by rr based tests.https://ohwr.org/project/pts-base/commit/c2e55263e97d514f2e7d4831ed61bb61b1f6b0ecmany: Change interrupt scheme, now uses two stages (eic + vic).2014-05-13T09:27:35ZMatthieu Cattinmatthieu.cattin@cern.chhttps://ohwr.org/project/pts-base/commit/e1613c4897bbc76877d1c104dc15e91771933860common: remove useless import (rawrabbit library).2014-05-13T09:27:35ZMatthieu Cattinmatthieu.cattin@cern.chhttps://ohwr.org/project/pts-base/commit/f23a9bebb1ff2d6e33e9d7582255eff5956e40cecommon: Fix exception class call. Was calling I2C exeptions instead of SPI ones.2014-05-13T09:27:35ZMatthieu Cattinmatthieu.cattin@cern.chhttps://ohwr.org/project/pts-base/commit/3cd3f4a287a31a046caf709489192a8106c6a889common:gn4124: Fix bug in wait interrupt. Was not re-enabling interrupt after...2014-05-13T09:27:35ZMatthieu Cattinmatthieu.cattin@cern.ch
Add a function to read gn4124 interrupt configuration.https://ohwr.org/project/pts-base/commit/988ffd32fcf828827d0001028caf735abe932c50common:gn4124: Allow dma items to pages 0 to 254 (was only page 0).2014-05-13T09:27:35ZMatthieu Cattinmatthieu.cattin@cern.chhttps://ohwr.org/project/pts-base/commit/2ff9a8c47569981cc2fea368eb38fc840682fa7fcommon:gn4124: Remove dma start but clearing, clear is done already in hw.2014-05-13T09:27:35ZMatthieu Cattinmatthieu.cattin@cern.chhttps://ohwr.org/project/pts-base/commit/f582ba4d0cce625ee9b0964ac333a957090587fccommon:gn4124: Add function to print all dma items for debug.2014-05-13T09:27:35ZMatthieu Cattinmatthieu.cattin@cern.chhttps://ohwr.org/project/pts-base/commit/ccfcfda485c46244ea86a0de2f85799e37017e05Modify si570 get raw config function.2014-05-13T09:27:35ZMatthieu Cattinmatthieu.cattin@cern.ch
- Returns all registers.
- Two dimensions table [address, data]https://ohwr.org/project/pts-base/commit/d4317f75608d8eea17e8100d6f4184fbd19057a3pts: Add path to fmc_eeprom tool.2014-05-13T09:27:35ZMatthieu Cattinmatthieu.cattin@cern.ch
This is the tool used to fill the FMC EEPROM with IPMI and calibration data.https://ohwr.org/project/pts-base/commit/64a0e0c4680f06e64cad98103561fa719fae9f13pts: Add common libraries and modules location to system path2014-05-13T09:27:35ZMatthieu Cattinmatthieu.cattin@cern.chhttps://ohwr.org/project/pts-base/commit/f765433c1a075b696707397e378706bdc5a68023csr: Add function to get a register address.2014-05-13T09:27:35ZMatthieu Cattinmatthieu.cattin@cern.chhttps://ohwr.org/project/pts-base/commit/9bf9462d0f870d9504992dd5460fc27845930b0acsr: Fix typo2014-05-13T09:27:35ZMatthieu Cattinmatthieu.cattin@cern.chhttps://ohwr.org/project/pts-base/commit/1d2cc24dd96ce9c179d3c923773776f97a02a301csr: Improve register map print layout.2014-05-13T09:27:35ZMatthieu Cattinmatthieu.cattin@cern.ch
Always print register value, even if it contains fields.https://ohwr.org/project/pts-base/commit/9ba91a45f5e821ceeb861f02b065a1999f671016Remove timeout in interrupt wait.2014-05-13T09:27:35ZMatthieu Cattinmatthieu.cattin@cern.chhttps://ohwr.org/project/pts-base/commit/14302268b371f7c3461f996461d95cfc7fcc77d7csr: Fix bug, register map index was wrong in several places.2014-05-13T09:27:34ZMatthieu Cattinmatthieu.cattin@cern.chhttps://ohwr.org/project/pts-base/commit/fbe479dc7bd8cce2a1e9a7fbf094519cdfa5702acsr: Fix bug in exception raise argument.2014-05-13T09:27:34ZMatthieu Cattinmatthieu.cattin@cern.chhttps://ohwr.org/project/pts-base/commit/f536b8432d87ee141602a7e1d5767309df543203csr: Fix bug in set/get_reg functions arguments.2014-05-13T09:27:34ZMatthieu Cattinmatthieu.cattin@cern.ch
Forgot to remove legacy argument, not useful anymore.https://ohwr.org/project/pts-base/commit/34d90135d41f3e59a60068e0534a68974eb216b8Print register map name when printing register map.2014-05-13T09:27:34ZMatthieu Cattinmatthieu.cattin@cern.chhttps://ohwr.org/project/pts-base/commit/3692bae4acc70da4e0e534aae304a0ccc43a6189Add register access function using register map dictionary.2014-05-13T09:27:34ZMatthieu Cattinmatthieu.cattin@cern.ch
- get/set register
- get/set field in register
- print register maphttps://ohwr.org/project/pts-base/commit/f80aa99007209ca0ac0c55a221d45b2756b99626Add a function to enable interrupt handling in the rawrabbit driver.2014-05-13T09:27:34ZMatthieu Cattinmatthieu.cattin@cern.ch
Call to irqena.
Note: The driver is disabling the interrupts in the ISR.
Therefore, the user have to explicitly enable interrupts again.https://ohwr.org/project/pts-base/commit/f59f84b7428d55ba9ba338a54ac03f2bf74072baChange exception handling structure.2014-05-13T09:27:34ZMatthieu Cattinmatthieu.cattin@cern.ch
Exception from lower level modules (i2c, spi, onewire, etc...) are forwarded
to the upper layer by the device modules (ds18b20, ltc217x, etc...).
Each layer is adding specific informations to the error message (e.g.
wishbone core base address, spi slave number or i2c address, etc...).
This will simplify the exception handling in the higher level modules.https://ohwr.org/project/pts-base/commit/81af9aa42e87355c7ea68432260be70898e8ad69Add exceptions and move CSR out of gn4124 module.2014-05-13T09:27:34ZMatthieu Cattinmatthieu.cattin@cern.ch
Comments review.https://ohwr.org/project/pts-base/commit/93ee4edb6d738e93d09ba7001872f30c8d29b1bbWork on gn4124 module.2014-05-13T09:27:34ZMatthieu Cattinmatthieu.cattin@cern.chAdding exception class, comments, etc...https://ohwr.org/project/pts-base/commit/99bbc37483a59bec063f600b55baab47f9f5bd90Work on gn4124 module.2014-05-13T09:27:34ZMatthieu Cattinmatthieu.cattin@cern.chhttps://ohwr.org/project/pts-base/commit/7848b484133e1d2145396fdc05bed617b2d1175eChange API and add license and comment to max5442 module.2014-05-13T09:27:34ZMatthieu Cattinmatthieu.cattin@cern.ch
-> more generic function name.https://ohwr.org/project/pts-base/commit/5978688f3a88cba2dcc65675b96d42e274e41853Add function to access all the register fields in ltc217x module.2014-05-13T09:27:34ZMatthieu Cattinmatthieu.cattin@cern.chException based error handeling.https://ohwr.org/project/pts-base/commit/bff52e5c78d142a72f682c720bc4110b6bea9695Work on ltc217x module.2014-05-13T09:27:34ZMatthieu Cattinmatthieu.cattin@cern.ch
Adding more function for configuration.https://ohwr.org/project/pts-base/commit/07131f426a3fcfbefabb262709e1cfd3581efa4bAdd exception handling, remove possible infinite loops, add license and comme...2014-05-13T09:27:34ZMatthieu Cattinmatthieu.cattin@cern.chhttps://ohwr.org/project/pts-base/commit/81bfcae91e2739fdc9039a06e2e393c5b48dddc9Add license and exception handler in csr module.2014-05-13T09:27:34ZMatthieu Cattinmatthieu.cattin@cern.chhttps://ohwr.org/project/pts-base/commit/bd4f26249ddc0f29cd9514b0e2b441f53d43494fChange API of the eeprom_24aa64 module.2014-05-13T09:27:34ZMatthieu Cattinmatthieu.cattin@cern.ch
* read and write byte functions.
* page write function with size and page boundary check.
* sequencial read function.
Apply changes made by Richard to the eeprom_24aa64 module.
Changes made by Richard Carrillo (7solutions) for the fmcdio5chttla.
* Proper exception raising and handling.
* Avoiding infinite loop by adding timeouts.
Some cleanup in the comments and commented debug messages.https://ohwr.org/project/pts-base/commit/1fd065f7fb185c89f241ee9aceffb1bad713dcbeApply changes made by Richard to the i2c module.2014-05-13T09:27:34ZMatthieu Cattinmatthieu.cattin@cern.ch
Changes made by Richard Carrillo (7solutions) for the fmcdio5chttla.
* Proper exception raising and handling.
* Avoiding infinite loop by adding timeouts.
Fix a bug introduced in the scan function.
Was not scanning the last address and sending write instead of read operation.
Some cleanup in the comments and commented debug messages.