aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorPaul Selkirk <pselkirk@isc.org>2014-09-03 10:07:59 -0400
committerPaul Selkirk <pselkirk@isc.org>2014-09-03 10:07:59 -0400
commita768072bbe3ea9762ee3325ffb5c42c3156e7859 (patch)
tree4ab6d3b54c75a3828c4fc00c6a2e06e0756f8936 /README.md
parentd846f5ebdec82b4ae21e75e1da02db92f9bcd715 (diff)
fix i2c read buffer overrun
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.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions