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 support@ccsinfo.com

ICD-U40 programming problems possible fix

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
martin gordon



Joined: 15 Sep 2003
Posts: 6
Location: Edinburgh

View user's profile Send private message

ICD-U40 programming problems possible fix
PostPosted: Sun Feb 08, 2004 4:03 am     Reply with quote

I have been having problems programming some times with the ICD-U40 and have found a fix for all my current problems.

The problem seems to be related to EMC and stray high frequency paths.

The fix has been simple, to place a ferrite tube 28 mm long with an outside diameter of 14 mm and an inside diameter of 7 mm on the cable to the PIC. The cable is threaded through the ferrite twice.

This has fixed the problem on two different boards. The first has 4 PIC and two DC to DC converters that generate large amounts of interference.
The second board is a simple PIC with no other switching logic running.

The ferrite acts as a balan transformer, forcing the net currents to be zero. The lossy ferrite material attenuates the unbalance currents that the transformer action, did not balance.

Best to use ferrites made for EMC suppresion as they are lossy.

Split ferrites are available but usually donot work as well due to problems with the mating surfaces and resultant gaps.

My EMC work has not shown large difference between makes. Length does matter, longer the better.

Hope this helps with some problems.

Note this will not fix all problems such as wrongly set configurations bits etc


Martin
wedilo



Joined: 16 Sep 2003
Posts: 71
Location: Moers, Germany

View user's profile Send private message

PostPosted: Mon Feb 09, 2004 6:39 am     Reply with quote

Hello Martin,
Thanks for your information, but I'm surpriced. Are the ICDs not EMC compatible? It looks so.

73 Sven
martin gordon



Joined: 15 Sep 2003
Posts: 6
Location: Edinburgh

View user's profile Send private message

PostPosted: Mon Feb 09, 2004 8:10 am     Reply with quote

I have no reason to believe that the ICD is not emc compliant (have not tested, but could).

But the ICD does have fast rise pulsed that usually go to PIC pins and hence unterminated. This could cause ringing.

The circuit usually has multiple 0 volt returns. This is due to power supplies, debug equipeement and the circuit that the PIC is intended to drive and a PC. The multiple earth return can cause signal degredation and cross talk between lines.

The action of the ferrite will be to clean up the signals.

Note the ferrite is on the cable between the ICD and the PIC

Martin
bm919@hotmail.com
Guest







Re: ICD-U40 programming problems possible fix
PostPosted: Mon Feb 23, 2004 1:13 am     Reply with quote

[quote="martin gordon"]I have been having problems programming some times with the ICD-U40 and have found a fix for all my current problems.

The problem seems to be related to EMC and stray high frequency paths.

The fix has been simple, to place a ferrite tube 28 mm long with an outside diameter of 14 mm and an inside diameter of 7 mm on the cable to the PIC. The cable is threaded through the ferrite twice.

This has fixed the problem on two different boards. The first has 4 PIC and two DC to DC converters that generate large amounts of interference.
The second board is a simple PIC with no other switching logic running.

The ferrite acts as a balan transformer, forcing the net currents to be zero. The lossy ferrite material attenuates the unbalance currents that the transformer action, did not balance.

Best to use ferrites made for EMC suppresion as they are lossy.

Split ferrites are available but usually donot work as well due to problems with the mating surfaces and resultant gaps.

My EMC work has not shown large difference between makes. Length does matter, longer the better.

Hope this helps with some problems.

Note this will not fix all problems such as wrongly set configurations bits etc


Martin[/quote]
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