Msus onboard 12 to8bit#195
Closed
hsemwal wants to merge 182 commits into
Closed
Conversation
- Investigating where buffer per frame value is getting set at 3, likely self._buffer_npix is getting its values - adjusting the StreamBit header file and the config file according to
and changed baud rate to 5 MHz for FPGA
…number of buffers and dummy words to better match the firmware)
…h/buffer block length) NOT WORKING
and changed baud rate to 5 MHz for FPGA
…number of buffers and dummy words to better match the firmware)
…h/buffer block length) NOT WORKING
Copied last function in types.py and copied to my code (maybe accidentally changed)
Changed yml MSUS file bitstream pointer to 5 MHz
Changed blocksize back to 4000, which should include the data+header
For some reason MSUS config had an incorrectly tabbed if statement, hopefully fixed in this commit
Output data that the FPGA receives (so far, just \x00\x8f\xff)
right now the data is not properly being read by MIO and the output text file gives some 0x00....0x8f....0xff which is not what is being sent out from the dev board
fix buffer_npix method in gs
msus - test frame processing values with bright/dark sample
Converting datastream to 8bit value. Will need to modularize this a bit better, currently inside of buffer_to_array
Increased time for debug and comments
Increased time for debug and comments
Just modified some comments and added a test as a proof of concept
This reverts commit 17a69c2.
We now have video recording capabilities on MIO
minor update to mio before starting branch to fix 12 MHz version
quick check before branching
Implemented ROI row by row flexibility
Implementing ROI based MSUS/MIO interface (changed to 8 MHz)
Branch for 12 to 8 bit conversion that is already processed on board the MSUS
Corrected yaml file for new data block sizes
Created an MSUS ROI Yaml file for testing
testing for ROI from MSUS
changes to MSUS ROI for the smaller region of interest MSUS ROI (8 MHz output, 120x120x8 pixel)
Collaborator
|
seems like some kind of i/o error with the opalkelly board. seems like more of an issue than a pull request? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I unplugged the USB and power overnight, and all of sudden, when I attempt to run the FPGA, I get the following error:
Process _fpga_recv:
Traceback (most recent call last):
File "..\Lib\multiprocessing\process.py", line 313, in _bootstrap
self.run()
~~~~~~~~^^
File "..\multiprocessing\process.py", line 108, in run
self._target(*self._args, **self._kwargs)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "..\mio\mio\stream_daq.py", line 265, in _fpga_recv
dev = self._init_okdev(BIT_FILE, read_length)
File "..\mio\mio\stream_daq.py", line 207, in _init_okdev
dev.set_wire(0x00, 0b0010)
~~~~~~~~~~~~^^^^^^^^^^^^^^
File "..\mio\mio\devices\opalkelly.py", line 102, in set_wire
raise DeviceConfigurationError(f"Wire update failed: {ret}")
mio.exceptions.DeviceConfigurationError: Wire update failed: -15
What did I do??
📚 Documentation preview 📚: https://miniscope-io--195.org.readthedocs.build/en/195/