Re: [Flashforth-devel] flashforth on p18f4550 - No usb?
Brought to you by:
oh2aun
From: Mikael N. <mik...@pp...> - 2011-10-13 19:59:16
|
The first thing to try is to skip the IDLE_MODE in the config file. The IDLE_MODE causes the PIC to poll the USB tranceiver too seldom. Newer and faster PCs seems to have a problem with that ! Are xtal and pll setting correct ? Mike On 13.10.2011 20:46, Scott Balneaves wrote: > Hello! > > I'm trying to get flashforth going on a p18f4550. I've bought an experimenter > board from Olimex: > > http://www.olimex.com/dev/pic-usb-4550.html > > I've git-cloned the latest flashforth, and installed the MPLAB tools > that came with my PICKIT2 burner. > > I create a new project, add ff18_usb.asm, PF18_USB_REG.asm, and add the > FF_USB_18F4550.lib file. Build appears to be successful: ends with build > succeeded. I program the device and verify it, and it tells me the device > is programmed successfully and verifies successfully. > > I plug the board into my Linux box (64 bit Ubuntu 11.04), and here's what > I'm seeing in dmesg: > > [13843.230116] usb 6-3: new full speed USB device using ohci_hcd and address 17 > [13843.370133] usb 6-3: device descriptor read/64, error -62 > [13843.630123] usb 6-3: device descriptor read/64, error -62 > [13843.890117] usb 6-3: new full speed USB device using ohci_hcd and address 18 > [13844.040144] usb 6-3: device descriptor read/64, error -62 > [13844.300133] usb 6-3: device descriptor read/64, error -62 > [13844.560128] usb 6-3: new full speed USB device using ohci_hcd and address 19 > [13844.980126] usb 6-3: device not accepting address 19, error -62 > [13845.130133] usb 6-3: new full speed USB device using ohci_hcd and address 20 > [13845.550143] usb 6-3: device not accepting address 20, error -62 > [13845.550197] hub 6-0:1.0: unable to enumerate USB device on port 3 > > I'm assuming it's supposed to look like a USB serial device that I can > connect minicom to port /dev/ttyUSB0 or the like. > > Any ideas on what I'm doing wrong? > > Cheers, > Scott > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2d-oct > _______________________________________________ > Flashforth-devel mailing list > Fla...@li... > https://lists.sourceforge.net/lists/listinfo/flashforth-devel > |