> well I'm not really a programmer. I have written a small Program in Basic to send a File over a Special RS422 Interface.
> This Interface as just a Windows driver and the source Code of it. ...Is not much Code
> Now I want to use this on OSX.
> You can download the Source of the Diver here EMuSer_v1_00_3 and the old LUFA version for that here
> LUFA-090924 and I think you need this Library avr-libc-1.7.2rc2252.tar.bz2.
>
> Thank you very much!
>
The driver is not really a driver.. it's a Windows INF file to let window recognize the AVR as a " Windows USB CDC ACM" device.
OS X has native support for ACM device. The need to report the proper CDC class.
I flashed the firmware (USBtoSerialEmu_Teensy2_0.hex) on one of my teensy 2.0 board and it does show up as a serial port (/dev/tty.usbmodem1d1141 and /dev/cu.usbmodem1d1141 in my case).
There is no code to compile from the OS X side of things as this is a standard ACM device.
BUT .. from the doc, it looks like the device is expecting to be set at a non standard baud rate for a serial port (500000). OS X relies on standard RS232 BSD speed and 500000 is not a valid speed. To be able to do this it would require us to get the OS X CDC ACM kernel extension code a rewrite part of it to allow unsupported speed via extra ioctl.
Have you try with a teensy flashed with this firmware to use it ? What software uses this EMuSer ?
I can't recompile the firmware as some files are missing :
EMuSer_v1_00_3/Sourcecode/LUFA 090924/Demos/Device/LowLevel/USBToSerialEmu
Issues with filename… makefile and c files reference USBtoSerialEmu.* but the actual name are USBToSerialEmu (capital T) : this break on Unix and OS X
USBToSerialEmu.c inclide USBToSerialEmu.h .. which doesn't exists
EMuSer_v1_00_3/Sourcecode/LUFA 090924/Demos/Device/LowLevel/USBToSerialEmu_AVRNoLeds :
empty dirs… nothing in there
EMuSer_v1_00_3/Sourcecode/LUFA 090924/Demos/Device/LowLevel/USBToSerialEmu_TEENSY
empty dirs… nothing in there
EMuSer_v1_00_3/Sourcecode/LUFA 090924/Demos/Device/LowLevel/USBToSerialEmu_TEENSY_plus :
empty dirs… nothing in there
Are you the author ? if yes, some file are missing so add them to
http://users.skynet.be/emxp/EMuSer_v1_00_3.zip and I can try recompiling them but this has nothing to do with OS X (by this I mean the firmware).
Regards, Rodolphe
>
>
> On Saturday, June 1, 2013 2:40:06 AM UTC+2, rpineau wrote:
>
> On May 31, 2013, at 11:58, Wolfram Niessen <
mrwoo...@gmail.com> wrote:
>
> > Hi,
> >
> > I have the source code for a special USB Serial Interface Driver.
> > Can Anyone help me to compile it for OSX?
> >
> > Thanks
> > Wolfram
> >
>
> I can probably help. We might need more detail though.
> Is it a OS X driver ? If you have the source code , did you try compiling it in XCode ?
> Or do you have the source for another OS and you want to port it to OS X ?
>
> Regards, Rodolphe
>
>
> --
>
> | Rodolphe Pineau RTI-Zone |
> |
http://www.rti-zone.org/ |
> | Robotics / Unix / Mac OS X / Astronomy |
>
>
>
> --
> You received this message because you are subscribed to the Google Groups "LUFA Library Support List" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
lufa-support...@googlegroups.com.
> To post to this group, send email to
lufa-s...@googlegroups.com.
> Visit this group at
http://groups.google.com/group/lufa-support?hl=en.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>