Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to see the frequency pic are using?
10-05-2013, 05:02 PM,
#11
RE: how to see the frequency pic are using?
Regis,
what serial emulator you are using?
its not minicom..?

thanks

regards
tux
Reply
10-05-2013, 06:34 PM,
#12
RE: how to see the frequency pic are using?
Code:
minicom -o -D /dev/ttyACM0
or simply, if you just need to read /dev/ttyACM0 (i.e if no input is required) :
Code:
cat /dev/ttyACM0
Both work on my computer.
I'm a member of the dialout group (Linux) so I don't need any "sudo" :
Code:
ls -al /dev/ttyACM0
crw-rw---T 1 root dialout 166, 0 mai   10 18:27 /dev/ttyACM0

(10-05-2013, 05:02 PM)TuxD3v Wrote: Regis,
what serial emulator you are using?
its not minicom..?

thanks

regards
tux
It is easier to complain than it is to do, but it is better to do than it is to complain.
Reply
11-05-2013, 05:02 AM,
#13
RE: how to see the frequency pic are using?
Success with CDC output, albeit on Windows.

Although the Windows Pinguino 26J50 driver installed and showed up in Control Panel, it never created a virtual com port. Arghhh.

So, after digging through Microsoft documentation I created (er modified) a CDCACM inf file that does not rely on libusb or any other driver that needs to be installed, but uses Windows built-in usbser.sys driver intended for modems to create the "Pinguino USB Virtual COM-Port". I have attached the inf file - you will need to rename it from .txt to .inf then install via Control Panel for Pinguino.

Output is: CPU 48MHz, Clock 12MHz

Now I just need to work out why I can no longer get CDC output on OS X 10.6 Sad


Attached Files
.txt   cdcacm_pinguino.txt (Size: 3.12 KB / Downloads: 3)
Reply
12-05-2013, 12:26 AM, (This post was last modified: 12-05-2013, 12:27 AM by Pinguino.)
#14
RE: how to see the frequency pic are using?
OK, Pinguino won't play CDC with any version of OS X or FreeBSD. In each case the relevant "modem" device nodes are created, but no data is received.

Code:
FreeBSD 8.4:

ugen2.2: <R.Blanchot> at usbus2
ugen2.2: <R.Blanchot> at usbus2 (disconnected)
ugen2.2: <JP MANDON> at usbus2
umodem0: <JP MANDON Pinguino, class 2/0, rev 2.00/0.00, addr 2> on usbus2
umodem0: data interface 1, has no CM over data, has no break

crw-------  1 root  wheel       0, 166 May 12 08:07 ttyU0.lock
crw-------  1 root  wheel       0, 165 May 12 08:07 ttyU0.init
crw-------  1 root  wheel       0, 164 May 12 08:07 ttyU0
crw-rw----  1 uucp  dialer      0, 169 May 12 08:07 cuaU0.lock
crw-rw----  1 uucp  dialer      0, 168 May 12 08:07 cuaU0.init
crw-rw----  1 uucp  dialer      0, 167 May 12 08:07 cuaU0
lrwxr-xr-x  1 root  wheel            9 May 12 08:07 ugen2.2 -> usb/2.2.0

Code:
OS X 10.6, 10.7, 10.8

AppleUSBCDCACMData: Version number - 4.x.x, Input buffers 8, Output buffers 16

crw-rw-rw-  1 root  wheel      11,  12 12 May 08:21 tty.usbmodem247411
crw-rw-rw-  1 root  wheel      11,  13 12 May 08:21 cu.usbmodem247411

It works under Windows 7 (VM on OS X using Parallels).
Reply
14-05-2013, 12:02 AM,
#15
RE: how to see the frequency pic are using?
Hi, Pinguino.

Are you using a serial emulator?

why you said that you have problems with CDC?
you can't catch serial data in serial emulator, or you don't catch that data in Pinguino IDE like in earlier versions?

I have this problems too in past days, even with a serial emulator nothing....and in that time i now that my device was mapped on /dev/ttyACM0 but nothing...suddenly 2 days after it works again...

regards
tuxd3v
Reply
14-05-2013, 03:58 AM,
#16
RE: how to see the frequency pic are using?
No serial emulators or adapters other than the Pinguino 26J50 board. Simple cat /dev/device_node created by Pinguino's CDC code.

Most bizarre: it works under Windows under Parallels on OS X. So the hardware is ok. Something with the CDC code is not working under bare metal OS X and FreeBSD.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)