CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

ICP Programming goes wrong when using the supply of ICD2

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Ivar Boer
Guest







ICP Programming goes wrong when using the supply of ICD2
PostPosted: Mon Mar 17, 2003 7:35 am     Reply with quote

Hello programmers,

In my application iam using a PIC16F877A processor with an ICD2 (and MPLAB IDE 6.13) for in circuit programming. USB is used for connection between PC and ICD2. An external adapter is connected to the ICD2 (someone said this is neccessary to source enough current when using USB)

When iam programming my processor using the supply of the ICD2 (adjusted in MPLAB) my application does strange things (like an instable fan PI-controlling)

When iam programming my processor using the supply of my PCB my application works properly.

Please! contact me if someone knows about this problem.

I have also discovered an EEPROM error on address 0x63 of my EEPROM (I programm 0xFF and 0x77 is read when verifying). I don't know if this has something to do with it.

Thanks to you all.

Ivar
___________________________
This message was ported from CCS's old forum
Original Post ID: 12763
John Yaron
Guest







Re: ICP Programming goes wrong when using the supply of ICD2
PostPosted: Mon Mar 17, 2003 10:54 pm     Reply with quote

:=
:=Hello programmers,
:=
:=In my application iam using a PIC16F877A processor with an ICD2 (and MPLAB IDE 6.13) for in circuit programming. USB is used for connection between PC and ICD2. An external adapter is connected to the ICD2 (someone said this is neccessary to source enough current when using USB)
:=
:=When iam programming my processor using the supply of the ICD2 (adjusted in MPLAB) my application does strange things (like an instable fan PI-controlling)
:=
:=When iam programming my processor using the supply of my PCB my application works properly.
:=
:=Please! contact me if someone knows about this problem.
:=
:=I have also discovered an EEPROM error on address 0x63 of my EEPROM (I programm 0xFF and 0x77 is read when verifying). I don't know if this has something to do with it.
:=
:=Thanks to you all.
:=
:=Ivar

I've had trouble with having my target digital ground
connected to chassis ground. If I maintain isolation
between target ground and chassis ground, USB does not hang
___________________________
This message was ported from CCS's old forum
Original Post ID: 12782
Ivar Boer
Guest







Re: ICP Programming goes wrong when using the supply of ICD2
PostPosted: Tue Mar 18, 2003 9:18 am     Reply with quote

:=:=
:=:=Hello programmers,
:=:=
:=:=In my application iam using a PIC16F877A processor with an ICD2 (and MPLAB IDE 6.13) for in circuit programming. USB is used for connection between PC and ICD2. An external adapter is connected to the ICD2 (someone said this is neccessary to source enough current when using USB)
:=:=
:=:=When iam programming my processor using the supply of the ICD2 (adjusted in MPLAB) my application does strange things (like an instable fan PI-controlling)
:=:=
:=:=When iam programming my processor using the supply of my PCB my application works properly.
:=:=
:=:=Please! contact me if someone knows about this problem.
:=:=
:=:=I have also discovered an EEPROM error on address 0x63 of my EEPROM (I programm 0xFF and 0x77 is read when verifying). I don't know if this has something to do with it.
:=:=
:=:=Thanks to you all.
:=:=
:=:=Ivar
:=
:=I've had trouble with having my target digital ground
:=connected to chassis ground. If I maintain isolation
:=between target ground and chassis ground, USB does not hang

Thanks for your response, but this isn't the problem.
I also discovered that the self-test isn't passed, but i can programm anyway.

See self-test info below:
Target Vdd: Pass
Moddule Vpp: High
MCLR Gnd: Pass
MCLR Vdd: Pass
MCLR Vpp: High

See voltages (shown in MPLAB IDE) below:

Target Vdd: 5.12V
Target Vpp: 13.10V
MPLAB ICD2 Vpp: 13.18V
___________________________
This message was ported from CCS's old forum
Original Post ID: 12788
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group