Recent Posts

Pages: 1 [2] 3 4 ... 10
11
Parallel Port / Re: USB/parallel bidirectional support
« Last post by Jan Axelson on January 12, 2020, 11:06:01 am »
The USB/parallel-port adapters that I'm aware of are designed for use only with printers. They contain a USB device that converts between the USB and parallel interfaces. The device identifies itself as a printer, so it won't work if attached to another device type.

If the Amiga has a serial port, and if you have Amiga software that can transfer data using that port, you should be able to use a serial-to-USB cable on a PC to receive the data (may require some programming on the PC).
12
Parallel Port / USB/parallel bidirectional support
« Last post by tango on January 11, 2020, 10:54:03 am »
Back in 1998 I had my Amiga connected to the PC via a parallel cable wired like the attached, and I could transfer data. This used to work fine when PCs had "real" parallel ports. I am wondering if this might still be possible (with an old Amiga, still only parallel as "high speed" option), but using these current inexpensive USB-parallel adapters on the PC side, of which you see so many on Amazon, etc. Are they all the same under the hood, or are there some chip or other differences that a worthy of knowledge?

For example, this one claims "Bi-directional parallel interface communication (IEEE 1284)"

I see that most of these devices say they do not even need a driver. I am willing to write some code, but I wonder if Windows 10 supports them in a way that will allow API-level bidirectional I/O?

More importantly, is the hardware on these "adapters" really bidirectional enough to support a Laplink-like data transfer connection, or is that barely enough to detect a "paper out" status?

Thanks!
14
USB / Re: Generic HID example work only under .NET Framework 2.0
« Last post by Frank Neumann on December 05, 2019, 12:06:26 am »
Hi,

now I found something.
If I set the Framework on 4,5 then the following Method shows an error.
See attachments

And this error will generated from
Quote
fileStreamdevicedata.BeginRead(inputReportBuffer, 0, inputReportBuffer.Length, New AsyncCallback(AddressOf GetInputReportData), inputReportBuffer)

15
USB / Re: Generic HID example work only under .NET Framework 2.0
« Last post by Jan Axelson on December 04, 2019, 09:17:33 am »
I'm not sure when I'll have time to look at this in more detail but will post if I have a fix. In the meantime, suggest using an earlier edition of .NET that works.
16
USB / Re: Generic HID example work only under .NET Framework 2.0
« Last post by Frank Neumann on December 04, 2019, 12:36:36 am »
Good morning,

no I have not set a breakpoint.
18
USB / Re: Generic HID example work only under .NET Framework 2.0
« Last post by Frank Neumann on December 03, 2019, 04:36:49 pm »
Hallo,

at this row stopped the debugger

Quote

  fileStreamdevicedata.BeginRead(inputReportBuffer, 0, inputReportBuffer.Length, New AsyncCallback(AddressOf GetInputReportData), inputReportBuffer)

Error msg:
Quote
Eine Ausnahme (erste Chance) des Typs "System.AccessViolationException" ist in mscorlib.dll aufgetreten.

I have set Framework on 4,5
And CPU = X86
19
USB / Re: Generic HID example work only under .NET Framework 2.0
« Last post by Jan Axelson on December 03, 2019, 02:29:21 pm »
Use breakpoints, single stopping.

https://stackify.com/debugging-tips-net/
20
USB / Re: Generic HID example work only under .NET Framework 2.0
« Last post by Frank Neumann on December 03, 2019, 12:31:30 pm »
How can I determine where exactly that fails?

Pages: 1 [2] 3 4 ... 10