PDA

View Full Version : ICD Problems



markcadcam
- 17th March 2006, 12:46
I built the recommended circuit that uses the Max 232CPE chip to communicate with a PIC 18F452 micro using ICD. When I run the sample program ‘Sort.bas’ that comes with MicroCode Studio Plus, I get a communications error. I rechecked my circuit and found no mistakes. The next thing I tried was making a very simple program that consisted of the line ‘HIGH PORTA.1’. When I compiled this program using ICD Compile the pin was floating and no 5 volts was seen. When I recompiled this program using the Standard Compile, the pin showed 5 volts. Does anybody have any ideas on what may be the problem?

Thanks,
Mark

mister_e
- 17th March 2006, 15:14
Do you have the MCS+ or the Free version?

Did you use ICD_Compile/Program button

http://www.rentron.com/PicBasic/MCS_X3.htm

How about your code?

Any line who disable the Analog stuff on PORTA?

markcadcam
- 17th March 2006, 15:16
I think I found my problem. It had to do with the bootloader.
Thanks,
Mark