[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
MPLAB ICD2 under Linux
From: Xiaofan Chen ####@####.#### Date: 30 Nov 2005 11:01:30 +0000 Message-Id: <a276da400511300301v58b938b0t7eb603673988bc0b@mail.gmail.com> Hope this is interesting to both lists. http://forum.microchip.com/tm.asp?m=125019 http://www.hcilab.org/resources/particles/particles-linux-mplab-howto.htm http://www.hcilab.org/resources/download/icd2prog-0.1.tar.gz Regards, Xiaofan From the site: http://www.hcilab.org/resources/particles/particles-linux-mplab-howto.htm Particle Programming using the MPLAB ICD2 with Linux Please see our Particle How-To page for an overview as well. The MPLAB ICD2 can be used with Linux! The original files our code heavily bases on use the LPLAB code from http://www.landamore.com/pic.html. Though, the LPLAB code was not working for our PIC18F6720 from Microchip, due to problems with parsing the compiled HEX files, the communication with the serial port as well as the communication protocoll which relied on an old and hard-to-get MPLAB ICD2 firmware. Our version works with the MPLAB ICD2 firmware supplied with Microchip's MPLAB 7.21, but should work with any firmware versions. The MPLAB ICD2 is connected to the computer using the serial port, or, preferred, the USB port. Currently, we can set the configuration bits download HEX files generated with the CCSC C compiler and program Particles with it verifiy the downloaded code use USB or serial connection The tool currently provides a command line interfaces. We currently provide the raw sources which so far have been tested with Debian and Gentoo Linux. If you have questions on the ICD2 programmer code for Linux, please contact us at icd2linux @ hcilab.org | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: MPLAB ICD2 under Linux
From: Nicolas ####@####.#### Date: 14 Dec 2005 16:27:07 +0000 Message-Id: <92d8b98a0512140827l7b3a8b52j97d1b862a14e5fa7@mail.gmail.com> I'd like to make you aware that I just released a new version of piklab (cf http://piklab.sourceforge.net ) that supports ICD2 programmer both with serial and USB port. I'd love to have feedback !!! Regards, Nicolas On 11/30/05, Xiaofan Chen ####@####.#### wrote: > Hope this is interesting to both lists. > > http://forum.microchip.com/tm.asp?m=125019 > http://www.hcilab.org/resources/particles/particles-linux-mplab-howto.htm > http://www.hcilab.org/resources/download/icd2prog-0.1.tar.gz > > Regards, > Xiaofan > > >From the site: > http://www.hcilab.org/resources/particles/particles-linux-mplab-howto.htm > Particle Programming using the MPLAB ICD2 with Linux > Please see our Particle How-To page for an overview as well. > > The MPLAB ICD2 can be used with Linux! The original files our code > heavily bases on use the LPLAB code from > http://www.landamore.com/pic.html. > > Though, the LPLAB code was not working for our PIC18F6720 from > Microchip, due to problems with parsing the compiled HEX files, the > communication with the serial port as well as the communication > protocoll which relied on an old and hard-to-get MPLAB ICD2 firmware. > > Our version works with the MPLAB ICD2 firmware supplied with > Microchip's MPLAB 7.21, but should work with any firmware versions. > The MPLAB ICD2 is connected to the computer using the serial port, or, > preferred, the USB port. > > Currently, we can > > set the configuration bits > download HEX files generated with the CCSC C compiler and > program Particles with it > verifiy the downloaded code > use USB or serial connection > The tool currently provides a command line interfaces. We currently > provide the raw sources which so far have been tested with Debian and > Gentoo Linux. > > If you have questions on the ICD2 programmer code for Linux, please > contact us at icd2linux @ hcilab.org > > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: MPLAB ICD2 under Linux
From: Xiaofan Chen ####@####.#### Date: 8 Jan 2006 13:01:51 +0000 Message-Id: <a276da400601080501h7f06e502r606bd521e9e4ca3d@mail.gmail.com> On 12/15/05, Nicolas ####@####.#### wrote: > I'd like to make you aware that I just released a new version of > piklab (cf http://piklab.sourceforge.net ) that supports ICD2 > programmer both with serial and USB port. > I'd love to have feedback !!! > > Regards, > Nicolas > Today I tried piklab-prog using an ICD2 and an 18F452 (on a PICDEM2+) under Linux Fedora Core 4. Somehow it is not working. I am using the USB connection. Under Windows the setup is oaky. As a normal user, ICD2 can not connect with the chip. That is normal because of libusb. [xiaofan@localhost ~]$ piklab-prog -p icd2 -d 18F452 -c connect kbuildsycoca running... Connecting ICD2 Programmer with device 18F452... As root, I got lots of "u"s from ICD2. [root@localhost ~]# piklab-prog -p icd2 -d 18F452 -c connect Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed Session management error: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed kbuildsycoca running... Connecting ICD2 Programmer with device 18F452... send_command: '<0801C9>' Malformed string received "uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu <lot of uuuuuuuuuu skipped>" Regards, Xiaofan | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: MPLAB ICD2 under Linux
From: Xiaofan Chen ####@####.#### Date: 8 Jan 2006 13:23:13 +0000 Message-Id: <a276da400601080523m357f4a14yefca33f096271ee7@mail.gmail.com> On 1/8/06, Xiaofan Chen ####@####.#### wrote: > > > > Today I tried piklab-prog using an ICD2 and an 18F452 (on a PICDEM2+) under > Linux Fedora Core 4. > > Somehow it is not working. I am using the USB connection.> Updates: just boot into Ubuntu 5.10 Breezy and piklab works in the GUI mode. This is great! Regards, Xiaofan Sample running session: Connecting ICD2 Programmer with device 18F452... Connected Reading device id... 18F452; 18F4539 (revision #4) Reading device id... 18F452; 18F4539 (revision #4) Reading device memory... Reading done Verifying... Verifying successful Erasing... Erasing done Reading device id... 18F452; 18F4539 (revision #4) Verifying blank... Verifying blank successful Reading device id... 18F452; 18F4539 (revision #4) Programming device memory... Programming successful Reading device id... 18F452; 18F4539 (revision #4) Verifying... Verifying successful Reading device id... 18F452; 18F4539 (revision #4) Reading device memory... Reading done | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |