gnupic: Re: [PIC] 18F USB under Linux


Previous by date: 8 Nov 2005 02:20:50 +0000 Re: [gnupic] Re: MCHPFSUSB AN950, AN956, ..., Easy B
Next by date: 8 Nov 2005 02:20:50 +0000 Re: [gnupic] Re: MCHPFSUSB AN950, AN956, ..., Chen Xiao Fan
Previous in thread:
Next in thread:

Subject: FW: [PIC] 18F USB under Linux
From: Chen Xiao Fan ####@####.####
Date: 8 Nov 2005 02:20:50 +0000
Message-Id: <3B8AEFFADD3DD4118F8100508BACEC2C0A28937E@spex>

Maybe this is useful for some people here who want to experiment
with 18F USB parts. I am a beginner of 18F and USB as well but
I have collected some resources. After learning a bit on the
host side, I start to look at the 18F datasheet again and the C18
samples again.

Regards,
Xiaofan

-----Original Message-----
From: Chen Xiao Fan 
Sent: Tuesday, November 08, 2005 8:32 AM
To: 'Microcontroller discussion list - Public.'
Subject: RE: [PIC] 18F USB under Linux


/* Add the subject */

The first thing is that I am not so sure 18F2455 is a beginner chip
or not. It is a USB part. USB is not so easy and I am facing a steep
learning curve here. I have learned something on the host side and
now I am looking at the firmware side.

I wrote the howto. However the hardware portion (ICD2, etc) and the 
MPLAB IDE part do not work under Wine. pikdev may be a good choice
under Linux but I have not used it. I am okay with command line
applications under Linux and Windows.

18F2455 is a USB MCU. For programmers under Linux, I will recommend
Wisp628 with the xwisp2 version 1.8.1 by Rob Hamerling
at http://www.robh.nl/. It works under OS2/Linux/Windows/MacOS X.
Maybe there are some software work under Linux for other programmers
as well but I am not so sure. Take a look at the PIC18FUSB wiki at
http://pic18fusb.online.fr/wiki/wikka.php?wakka=WikiHome .

Microchip Forum USB section is very good place to go as well.
http://www.microchip.com/usb
http://forum.microchip.com/tt.asp?forumid=102 

For the host application, take a look at libusb/libusb-win32 project.
http://libusb.sourceforge.net
http://libusb-win32.sourceforge.net

For Linux PIC development, take a look at GNUPIC website and
subscribe to GNUPIC mailing list.
http://www.gnupic.org

For the assembly part, gputils work very well under Linux and Windows.
http://gputils.sourceforge.net/

For assembler based USB firmware, take a look at Olin College's
excellent website. It should be easily adapted to gpasm. MPASM under
Linux with Wine is also okay.
http://pe.ece.olin.edu/ece/

For the simulator part, take a look at gpsim. Not so sure if it works
with the 18F USB parts.
http://www.dattalo.com/gnupic/gpsim.html

For the C compiler, take a look at SDCC. Of course, Microchip MPLAB
C18 3.0 student version works under Linux with Wine as well. With
most of the USB firmware written in C18, this may be a good choice.
http://sdcc.sourceforge.net/
http://ubicomp.lancs.ac.uk/~martyn/sdcc_linux/

Regards,
Xiaofan

-----Original Message-----
From: ####@####.#### 
Sent: Tuesday, November 08, 2005 6:42 AM
To: Microcontroller discussion list - Public.
Subject: Re: [PIC]

http://www.piclist.com/techref/member/xiaofan-sg-/index.htm

Using off-the-shelf Microchip tools under linux.

Mike H.

-----Original Message-----
From: ####@####.####
Sent: Tuesday, November 08, 2005 6:33 AM
To: ####@####.####
Subject: [PIC]

Hi

I'm new to PICs and would like to programme an 18f2455, ideally in a linux 
environment. I have a pcb for an El Cheapo programmer, but in his book, Myke

Predko doesn't state it will work - not surprising probably as I don't think

this chip had been released at the time!

Reading around the internet,  I found this information 

http://www.qsl.net/dl4yhf/winpic/#adapt_18F2x5x

that indirectly suggests El Cheapo should work at it delivers the ICSP
signals 
to the correct pins. The only addition would seem to be grounding the low 
voltage programming pin.

Could someone tell me if I am correct or suggest an alternative, equally 
cheapo, programmer if not? Also, I'm looking at pikdev as the programming 
software, is this a wise choice?

Thanks

Nick
-- 

Previous by date: 8 Nov 2005 02:20:50 +0000 Re: [gnupic] Re: MCHPFSUSB AN950, AN956, ..., Easy B
Next by date: 8 Nov 2005 02:20:50 +0000 Re: [gnupic] Re: MCHPFSUSB AN950, AN956, ..., Chen Xiao Fan
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.