Sign in

username:

password:



Not a member?

Search piclist



Search tips

Subscribe to piclist



piclist by Keywords

12F675 | 16F628 | 16F84 | 16f877 | 16F877A | 16F88 | 18F458 | ADC | AVR | Bootloader | CAN | CCS | CRC | EAGLE | EEPROM | ICD | ICSP | IDE | JDM | LED | Macros | Microchip | MPLAB | PCB-CAD | PIC10F | Pic12f675 | PIC16F84 | PIC16F84A | PIC16F877 | PIC18 | PIC18F452 | PicBasic | PICC | PICSTART | PWM | RS-485 | RS232 | SMT | SPI | UART | USART | USB | Wireless | Wisp628 | Xilinx


Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | Piclist | Recognizing serial ports in Linux/WINE/MPLAB

A discussion group for the PICMicro microcontroller. Also called the Microchip PIC, this list is dedicated to the use and abuse of this fine, simple, microcontroller. Close to topic posts are welcome, ie. general electronics.

Recognizing serial ports in Linux/WINE/MPLAB - Jason Hsu - Mar 1 19:34:00 2009

My OS is Puppy Linux. I'm running MPLAB through WINE instead of Windows.

My programmer is a PICSTART Plus. I'm using a USB-serial converter to
connect the PICSTART Plus to a USB port on my laptop, which lacks real
serial ports.

I can figure out the port my PICSTART Plus (with the USB-serial cable)
is attached to by typing "dmesg|grep tty" in a shell window. (It's
ttyUSB0.)

THE PROBLEM: How do I get MPLAB under WINE to recognize my PICSTART
Plus? I think I'm supposed to get Puppy Linux to recognize the
PICSTART Plus as a serial port. But how do I get Puppy Linux to
recognize the PICSTART Plus? And how do I get Puppy Linux to treat
this USB port like a serial port?

------------------------------------

to unsubscribe, go to http://www.yahoogroups.com and follow the instructions



(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )


Re: Recognizing serial ports in Linux/WINE/MPLAB - rtstofer - Mar 9 10:54:37 2009

--- In p...@yahoogroups.com, "Jason Hsu" wrote:
>
> My OS is Puppy Linux. I'm running MPLAB through WINE instead of Windows.
>
> My programmer is a PICSTART Plus. I'm using a USB-serial converter to
> connect the PICSTART Plus to a USB port on my laptop, which lacks real
> serial ports.
>
> I can figure out the port my PICSTART Plus (with the USB-serial cable)
> is attached to by typing "dmesg|grep tty" in a shell window. (It's
> ttyUSB0.)
>
> THE PROBLEM: How do I get MPLAB under WINE to recognize my PICSTART
> Plus? I think I'm supposed to get Puppy Linux to recognize the
> PICSTART Plus as a serial port. But how do I get Puppy Linux to
> recognize the PICSTART Plus? And how do I get Puppy Linux to treat
> this USB port like a serial port?
>

Linux already recognizes the port - it told you the port is ttyUSB0.

The problem is getting Wine to map ttyUSB0 to a Windows COM Port that MPLAB can recognize and I have no idea how to do that. Maybe this will help: http://www.linuxforums.org/forum/wine/94500-serial-ports-wine.html

Richard

------------------------------------

to unsubscribe, go to http://www.yahoogroups.com and follow the instructions



(You need to be a member of piclist -- send a blank email to piclist-subscribe@yahoogroups.com )