Hello,
i can't get cdc232 to work. The problem is that i can't send or receive any data.
I'm using cdc232.2011-06-24 with an atmega168pa. The hardware is working. I can send data over the UART with another library. V-USB is also working because i'm transfering data over the USBaspLoader. The HID-Data example also works.
Changes i made to the software:
- CPU changed to atmega168p
- "PROGMEM" changed to "PROGMEM const" to work with gcc-4.6*
- changed USB_CFG_DMINUS_BIT from 3 to 4 for my hardware
kernel 3.2.2-gentoo messages are as follows:
Code: Select all
Feb 11 22:17:26 hp kernel: [41519.746802] usb 2-1.1: new low-speed USB device number 88 using ehci_hcd
Feb 11 22:17:26 hp kernel: [41519.838319] usb 2-1.1: config 1 interface 1 altsetting 0 endpoint 0x1 is Bulk; changing to Interrupt
Feb 11 22:17:26 hp kernel: [41519.838324] usb 2-1.1: config 1 interface 1 altsetting 0 endpoint 0x81 is Bulk; changing to Interrupt
Feb 11 22:17:26 hp kernel: [41519.841926] usb 2-1.1: New USB device found, idVendor=16c0, idProduct=05e1
Feb 11 22:17:26 hp kernel: [41519.841929] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Feb 11 22:17:26 hp kernel: [41519.841931] usb 2-1.1: Product: USB-232
Feb 11 22:17:26 hp kernel: [41519.841933] usb 2-1.1: Manufacturer: www.recursion.jp
Feb 11 22:17:26 hp kernel: [41519.842473] cdc_acm 2-1.1:1.0: ttyACM0: USB ACM device
I'm connecting a trusty old pl2303 to the UART to check for incoming data. I've tried 9600 baud and 2400 baud, but there is no change in voltage level.
Can anyone give me a hint how to debug this?
My final goal is to implement some kind of usb-uart to output clear-text messages to the host. So i dont't really need the UART interface. I've already tried to delete all uart-connected code but the software does rely heavily on it.