Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-09-03 | fix i2c read buffer overrun | Paul Selkirk | |
If a client requests data beyond the end of the coretest response, i2c_core could wait forever for txd_syn to be asserted, locking up the system. The current solution is to assume that data will be available by the time the client sends the READ_CMD and then issues the i2c read request; if no data is available, i2c_core returns 0x00. Given the relative speeds of the i2c bus and the FPGA, this seems justifiable, but it could use more scrutiny. | |||
2014-08-28 | initial commit of I2C code for coretest | Paul Selkirk | |