Before I switched to linux, having the PICDem 4 powered off the ICD2 worked fine, and I havn't added anything extra to the PICDem 4 prototyping area, so I can't see a reason it won't work now, unless it cannot power the target board when connected via serial to the computer. My main problem at the moment is how to enable powering the target board - that option is off by default, I think. How do I turn it on? - I have read the man pages for most of the GPUTILS and LPLAB programs, and none of them seem to be able to configure the ICD2. On 8/17/05, Chen Xiao Fan wrote: > Hope the attached test helps regarding LPLAB. If > you have more progress, please report it here. > > As for the supply, are you using the original 9V > power supply to the ICD2? I do not have the > exact detail but I think ICD2 5V current driving > capability is limited. I think you will be better > off with another 9V supply. > > Regards, > Xiaofan > > -----Original Message----- > From: dave.w.turner@gmail.com > Sent: Tuesday, August 16, 2005 11:55 PM > > Hmmmm.... > > I have got LPLAB working now, and it can do a self test on my ICD2, > but it says the target voltage is too low - I remember some sort of > setting in MPLAB for the ICD2 to supply power to the target - with the > ICD2 connected to the computer over RS232, can the ICD2 power the > PICDem 4, or do I need another 9V power supply? > > -----Original Message----- > From: Chen Xiao Fan > Sent: Thursday, May 26, 2005 7:54 AM > To: 'Microcontroller discussion list - Public. (E-mail)' > Subject: RE: [PIC] LPLAB testing with ICD2 > > The similar test under Linux (Ubuntu 5.04 Hoary). > > LPLAB: > http://www.landamore.com/pic.html > Command line tools to support ICD1, ICD2, Promate II and others, > under Linux and Windows > > Test environment: > Ubuntu Linux 5.04, MPLAB-ICD2 connected to serial port COM1 > Test hex file: wisp628.hex from Wouter for a 16F628A > (test on Windows is done for a 16F819). > 1) lplab-dasm: disassembly works > 2) lplab-dbg: ICD2 debugging not supported by LPLAB now > 3) lplab-maintain: works, downgrade the firmware to Version 6.43 > (icd01020411.hex) > 4) lplab-showid: works, reads out the configuration bits and ID codes. > 5) lplab-prog: partially working, programs the chip but can not read out > -e erase: working > -v: working > -b: working > -w: working, sometimes working, sometimes not > -r: not working, program stops there for quite long time. > So it is not working since you can not read it out for verification. > A missing verify feature is the next thing to do. > 6) lplab-chk: hex file checking utility, working with 16F628A > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- Dave All us base are belong to you. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist