Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

two devices manual selection #210

Merged
merged 10 commits into from
Nov 4, 2021
Merged

two devices manual selection #210

merged 10 commits into from
Nov 4, 2021

Conversation

ik1xpv
Copy link
Owner

@ik1xpv ik1xpv commented Oct 24, 2021

If the fx3handler::GetFx3Device() finds two devices a msgBox at run time asks witch one use.
It's a rude solution , a better one with the use of SN to identify the device is planned in future.

See Issue Two devices on the same system at the same time #209

If the fx3handler::GetFx3Device() finds two devices a msgBox at run time asks witch one use.
It's a rude solution , a better one with the use of  SN to identify the device is planned in future
Download of bootstrap made to all the  FX03 devices. Some delay removed.
Message Box label
@ik1xpv
Copy link
Owner Author

ik1xpv commented Oct 27, 2021

Note:
CCyUSBDevice::DeviceCount() (in CyAPI) returns the number of FX03 devices with ProductID == STREAMER_ID or ProductID == BOOTSTRAP_ID.
In CCyUSBDevice::Open(UCHAR dev)  dev = 0,1,2.. is the  order in which the devices are discovered and depends on the port enumeration of this pc.
Use of the same ports guarantees the same dev numbers.
At startup if there are many Fx03 devices with  BOOTSTRAP_ID both are loaded with the SDDC firmware and the MessageBox allows selection of 1° or 2° SDR.

If the device at power up is detected as Cypress FX3 Bootloader device,
the added wait gives more time to enumering as StreamerExample device
FX3 serial number read from MMIO.
@ik1xpv
Copy link
Owner Author

ik1xpv commented Nov 2, 2021

This is a preliminary test using MessageBox in FX3handker that shows the FX3 Serial number
TwoSDR
I'll move it to a dialog in ExtIO_sddc code ...

@fventuri
Copy link
Collaborator

fventuri commented Nov 2, 2021

Looks really nice Oscar!
I especially like the fact that now you can see the exact model of each SDR.

Now it's time to print those Dymo labels with '1716' and '1D31', and stick them on your SDRs! hihi

Franco

In ExtIO_sddc,cpp  InitHW() opens dialogBox to select a device when  there are many FX3 devices.
@ik1xpv
Copy link
Owner Author

ik1xpv commented Nov 3, 2021

InitHW() in ExtIO_sddc.dll if there are many FX3 devices asks to select a device
4prototypes.
bool Enumerate(...) has been added to FX3handler in Win32 implementation while in Linux the code is TBD .

Retry when WestBridge found.
Double click on Listbox devices selects device
SWVERSION 1.3.0 RC1
Firmware 2.02
@ik1xpv ik1xpv merged commit f2b682a into master Nov 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants