I think no one has done it even though I raised this proposition quite some time ago. I think it is a worthy effort even though PICKit 2 is on the horizon. I will be very much interested in your design. 1) ASM would be better. C18 is not cheap and the student version has some limitations. However since you have done it in C18, it may be not necessary to port it to ASM if there is too much effort involved. 2) PID control: again ASM and you have done it already, right? 3) ICSP: again ASM. It is the common language for the PIClisters. :) Actually I do not see many discussion for C (including C18) here. I have some more suggestions. 1) Is it possible to implement Olin's protocol? The tricky part is that Olin's host program will not work since this one is based on USB. 2) Have you written the host program? It would be wonderful if it is written in a cross platform language like c or python. 3) PICkit 1 is using a 6MHz ceramic oscillator and you need to use 4Mhz oscillators (or 8Mhz, etc) for the 18F USB parts. Anyway since you do not really own a PICKit 1, it does not matter. Regards, Xiaofan ---------------------------------------------- Xiaofan Chen R&D Engineer, Photoelectric Sensor Development Pepperl+Fuchs Singapore http://www.pepperl-fuchs.com Signals for the world of automation -------------------------------------------- -----Original Message----- From: WH Tan [mailto:whsiung@tm.net.my] Sent: Saturday, July 02, 2005 8:17 AM To: Microcontroller discussion list - Public. Subject: [PIC] PICKit1 & PIC18F2550 Hello, I recall vaguely that someone has written about replacing the PICKit1 controller with a PIC18F USB controller. Anyway I can't remember any result mentioned here. Has anyone done it? I'm on my way doing this and I believe I'm just a step away from completing it. I would like to discuss with anyone who did/do the same. Points of discussion are: 1) What the language used for implement USB interface? ASM or USB framework in C18 provided by Microchip, or any other language? 2) PID control for Vpp. Again what is the language used? 3) ICSP implemention: again what's the language used? I'm using the C18 framework for the USB interface. For Vpp PID control, I have ported the ASM source for PIC16C745 to PIC18F2550. Now the tricky part is I yet to decide to port the ASM ICSP protocol to PIC18 instructions, or rewriting it in C18. Both method will have its pros and cons. I would like to hear from those who have done this. Thanks & best regards, WH Tan -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist