On Sun, Feb 19, 2006 at 10:26:35AM +0800, Xiaofan Chen wrote: > On 2/19/06, Peter Todd wrote: > > On Sat, Feb 18, 2006 at 03:44:42AM +0530, palam.c wrote: > > > > I'm a Linux user, I use picp to talk to my programmer, SDCC to do my > > compiling, and my over-taxed brain to do my debugging. :) > > That is a typical Linux user with PIC. > > gputils provides the assmebler and linker. > pikdev /piklab are good IDEs which integrates gputils (assembler > and linker). > > gpsim is the simulator. > > SDCC is the C compiler. > > pikdev /piklab supports many PICs using simple programmers > (JDM/Tait/...). picp supports PS+. xwisp2 supports Wisp628. > pk2/pyk/piklab support PICkit 2. Do you have links for those? I did some google searches, and I'm not sure I found the right pages, a lot of stuff is named piclab for instance. > http://www.gnupic.org has many good resources even though there > are some new stuffs missing. > > > Never done anything with C18 myself, I'd just try to compile it, and fix > > what makes error messages. It's all C, so it should be fairly similar. > > C18 works nicely under Wine. In fact all the language suites under > MPLAB (MPASM/MPASM30/C18/C30) work nicely under Wine. Thanks! I'll give that a try sometime. Do you know of any webpages or the like describing the setup? > > > I found few ICD programmers on linux , > > > Is there any debuggers available in Linux ? > > > > Sadly not. There are some software emulators, but quite frankly they are > > crap. I wouldn't waste your time with them, unless you want to do some > > programming of them yourself. > > I think gpsim is a good software emulator. You may very well have been using a more recent version than me, come to think of it, I was using the version packaged in debian stable, so it could have been fairly old. > piklab aims to support ICD2 debugging on PIC16F device. Be very interested to try that out. I have half the mind to try making my own ICD device for PICs. I've read the documentation from microchip describing how ICD works, with the entry point and what not. Be an interesting summer project to make something that would present a gdb debug socket so you could use gdb to debug. Still need to do more research though to see how feasible all that is. -- pete@petertodd.ca http://www.petertodd.ca -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist