{"id":201,"date":"2009-05-05T17:13:25","date_gmt":"2009-05-05T16:13:25","guid":{"rendered":"http:\/\/www.ibexuk.com\/resource\/?p=201"},"modified":"2022-02-18T15:05:18","modified_gmt":"2022-02-18T15:05:18","slug":"ibex-microchip-icd2-programming-cable","status":"publish","type":"post","link":"https:\/\/ibex.tech\/resources\/guides\/customer-guides\/manufacturing\/ibex-microchip-icd2-programming-cable","title":{"rendered":"IBEX Microchip ICD Programming Cable"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\">Purchasing A Programmer<\/h4>\n\n\n\n<p>The Microchip ICD4 (and ICD3) is a low cost Microchip in circuit programmer.&nbsp; You can purchase this programmer from:<\/p>\n\n\n\n<p><a href=\"https:\/\/uk.farnell.com\/microchip\/dv164045\/in-circuit-debugger-pic-dspic\/dp\/2778123\">FarnellInOne<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/uk.rs-online.com\/web\/p\/semiconductor-development-kit-accessories\/1349695\/\" target=\"_blank\" rel=\"noopener noreferrer\">RS Components<\/a><\/p>\n\n\n\n<p>It is the Microchip part number &#8220;DV164045&#8221; you need.&nbsp; As well as in circuit programming the ICD4 is also a debugger, hence being called that in some product descriptions)<\/p>\n\n\n\n<p>The MPLAB software to use with the programmers is downloaded for free. See <a href=\"https:\/\/ibex.tech\/resources\/resources\/customer-guides\/manufacturing\/in-circuit-programming-using-the-microchip-icd2\">here<\/a> for details on how to use the programmer.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Standard IBEX Programmer To PCB Header Cable<\/h4>\n\n\n\n<p>The Microchip ICD3 may be used to program PIC microcontrollers in circuit.&nbsp; We typically use a low cost SIL header on PCB&#8217;s to allow in circuit programming which differs from the RJ11 cable supplied with the Microchip ICD3.&nbsp; This guide details our standard connecting cable:-<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignleft\"><img loading=\"lazy\" decoding=\"async\" width=\"734\" height=\"174\" src=\"https:\/\/ibex.tech\/resources\/wp-content\/uploads\/sites\/3\/icd4-cable.png\" alt=\"\" class=\"wp-image-2200\" srcset=\"https:\/\/ibex.tech\/resources\/wp-content\/uploads\/sites\/3\/icd4-cable.png 734w, https:\/\/ibex.tech\/resources\/wp-content\/uploads\/sites\/3\/icd4-cable-300x71.png 300w, https:\/\/ibex.tech\/resources\/wp-content\/uploads\/sites\/3\/icd4-cable-60x14.png 60w, https:\/\/ibex.tech\/resources\/wp-content\/uploads\/sites\/3\/icd4-cable-150x36.png 150w\" sizes=\"auto, (max-width: 734px) 100vw, 734px\" \/><\/figure><\/div>\n\n\n\n<p>You can either use the RJ12 cable supplied with the programmer or buy a RJ12 cable from RS Components: <a href=\"https:\/\/uk.rs-online.com\/web\/p\/telephone-extension-cables\/0446664\/\">446-664<\/a>.<\/p>\n\n\n\n<p>Cut off one end, leaving the programming cable as short as possible (100mm total length is recommended to avoid programming issues).<\/p>\n\n\n\n<p>Fit a blue MTA5 socket (or an alternative SIL5 connector that will accept thin cable cores) to the cut end.<\/p>\n\n\n\n<p><span style=\"text-decoration: underline;\"><strong>ICD Programming Connection<\/strong><\/span><\/p>\n\n\n\n<p><span style=\"text-decoration: underline;\">RJ12 Connector<\/span><\/p>\n\n\n\n<p>With the locking tab down and the connector contacts away from you, the left pin is 1, the right pin is 6.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"\"><tbody><tr><td>1<\/td><td>&nbsp;<\/td><\/tr><tr><td>2<\/td><td>RB6\/PGC<\/td><\/tr><tr><td>3<\/td><td>RB7\/PGD<\/td><\/tr><tr><td>4<\/td><td>Gnd<\/td><\/tr><tr><td>5<\/td><td>Vdd<\/td><\/tr><tr><td>6<\/td><td>MCLR\/Vpp<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><span style=\"text-decoration: underline;\">The IBEX standard 5 pin header pinout is:<\/span><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"\"><tbody><tr><td>1<\/td><td>MCLR\/Vpp<\/td><\/tr><tr><td>2<\/td><td>+5V<\/td><\/tr><tr><td>3<\/td><td>Gnd<\/td><\/tr><tr><td>4<\/td><td>RB7\/PGD<\/td><\/tr><tr><td>5<\/td><td>RB6\/PGC<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><span style=\"text-decoration: underline;\">Therefore, build cable as follows:<\/span><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"\"><tbody><tr><td><strong>RJ 6 Pin<\/strong><\/td><td><strong>MTA5<\/strong><\/td><\/tr><tr><td>1<\/td><td>&nbsp;<\/td><\/tr><tr><td>2<\/td><td>5<\/td><\/tr><tr><td>3<\/td><td>4<\/td><\/tr><tr><td>4<\/td><td>3<\/td><\/tr><tr><td>5<\/td><td>2<\/td><\/tr><tr><td>6<\/td><td>1<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Keep the overall cable length short (&lt;=100mm).<br>Mark pin 1 on the MTA5 connector in some way to make it obvious which way the cable connects to the PCB.&nbsp; Our PCB&#8217;s are marked with a pair of white triangles pointing to pin 1.&nbsp; When connecting to PCB headers which have 7 pins the 5 pin MTA may still be used in the same way with pin 1 connecting to pin 1 of the 7 pin header (pins 6 &amp; 7 are not connected).<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Miniature Surface Mount IBEX Connector Cable<\/h4>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"151\" src=\"https:\/\/ibex.tech\/resources\/wp-content\/uploads\/sites\/3\/icd-cable-125-2-1024x151.jpg\" alt=\"\" class=\"wp-image-2267\" srcset=\"https:\/\/ibex.tech\/resources\/wp-content\/uploads\/sites\/3\/icd-cable-125-2-1024x151.jpg 1024w, https:\/\/ibex.tech\/resources\/wp-content\/uploads\/sites\/3\/icd-cable-125-2-300x44.jpg 300w, https:\/\/ibex.tech\/resources\/wp-content\/uploads\/sites\/3\/icd-cable-125-2-768x113.jpg 768w, https:\/\/ibex.tech\/resources\/wp-content\/uploads\/sites\/3\/icd-cable-125-2-1536x226.jpg 1536w, https:\/\/ibex.tech\/resources\/wp-content\/uploads\/sites\/3\/icd-cable-125-2-2048x302.jpg 2048w, https:\/\/ibex.tech\/resources\/wp-content\/uploads\/sites\/3\/icd-cable-125-2-60x9.jpg 60w, https:\/\/ibex.tech\/resources\/wp-content\/uploads\/sites\/3\/icd-cable-125-2-150x22.jpg 150w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Use one end of ready made cable <a href=\"https:\/\/uk.rs-online.com\/web\/p\/telephone-extension-cables\/0446664\/\">RS Components:\u00a0446-664<\/a> connected and a Molex 1.25mm socket using pre crimped wires.<\/p>\n\n\n\n<p>Parts<\/p>\n\n\n\n<p>RS Components (rswww.com) 446-664 &#8211; 1off<br>Farnell (www.farnell.com) 615-109 &#8211; 1off<br>Farnell (www.farnell.com) 112-5272 &#8211; 1 pack of 10<\/p>\n\n\n\n<p>(The Microchip ICD4 programmer is supplied with the RS 446-664 type cable that you could use instead of buying from it RS).<\/p>\n\n\n\n<p><span style=\"text-decoration: underline;\">RJ12 Connector<\/span><\/p>\n\n\n\n<p>With the locking tab down and the connector contacts away from you, the left pin is 1, the right pin is 6.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"\"><tbody><tr><td>1<\/td><td>&nbsp;<\/td><\/tr><tr><td>2<\/td><td>RB6\/PGC<\/td><\/tr><tr><td>3<\/td><td>RB7\/PGD<\/td><\/tr><tr><td>4<\/td><td>Gnd<\/td><\/tr><tr><td>5<\/td><td>Vdd<\/td><\/tr><tr><td>6<\/td><td>MCLR\/Vpp<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><span style=\"text-decoration: underline;\">The IBEX standard Molex 5pin 1.25mm pinout is:<\/span><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"\"><tbody><tr><td>1<\/td><td>MCLR\/Vpp<\/td><\/tr><tr><td>2<\/td><td>+5V<\/td><\/tr><tr><td>3<\/td><td>Gnd<\/td><\/tr><tr><td>4<\/td><td>RB7\/PGD<\/td><\/tr><tr><td>5<\/td><td>RB6\/PGC<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>In the picture below pin 1 is on the right:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/ibex.tech\/resources\/wp-content\/uploads\/sites\/3\/molex125mm.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"298\" height=\"200\" src=\"https:\/\/ibex.tech\/resources\/wp-content\/uploads\/sites\/3\/molex125mm.jpg\" alt=\"\" class=\"wp-image-733\"\/><\/a><\/figure>\n\n\n\n<p><span style=\"text-decoration: underline;\">Therefore, build cable as follows:<\/span><\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"\"><tbody><tr><td><strong>RJ 6 Pin<\/strong><\/td><td><strong>Molex 1.25mm<\/strong><\/td><\/tr><tr><td>1<\/td><td>&nbsp;<\/td><\/tr><tr><td>2<\/td><td>5<\/td><\/tr><tr><td>3<\/td><td>4<\/td><\/tr><tr><td>4<\/td><td>3<\/td><\/tr><tr><td>5<\/td><td>2<\/td><\/tr><tr><td>6<\/td><td>1<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>Keep the overall cable length short (&lt;=100mm).<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"287\" src=\"https:\/\/ibex.tech\/resources\/wp-content\/uploads\/sites\/3\/icd-cable-125-1.jpg\" alt=\"\" class=\"wp-image-2266\" srcset=\"https:\/\/ibex.tech\/resources\/wp-content\/uploads\/sites\/3\/icd-cable-125-1.jpg 1024w, https:\/\/ibex.tech\/resources\/wp-content\/uploads\/sites\/3\/icd-cable-125-1-300x84.jpg 300w, https:\/\/ibex.tech\/resources\/wp-content\/uploads\/sites\/3\/icd-cable-125-1-768x215.jpg 768w, https:\/\/ibex.tech\/resources\/wp-content\/uploads\/sites\/3\/icd-cable-125-1-60x17.jpg 60w, https:\/\/ibex.tech\/resources\/wp-content\/uploads\/sites\/3\/icd-cable-125-1-150x42.jpg 150w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Purchasing A Programmer The Microchip ICD4 (and ICD3) is a low cost Microchip in circuit programmer.&nbsp; You can purchase this programmer from: FarnellInOne RS Components It is the Microchip part number &#8220;DV164045&#8221; you need.&nbsp; As well as in circuit programming the ICD4 is also a debugger, hence being called that in some product descriptions) The [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[],"class_list":["post-201","post","type-post","status-publish","format-standard","hentry","category-manufacturing"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/resources\/wp-json\/wp\/v2\/posts\/201","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/resources\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/resources\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/resources\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/resources\/wp-json\/wp\/v2\/comments?post=201"}],"version-history":[{"count":21,"href":"https:\/\/ibex.tech\/resources\/wp-json\/wp\/v2\/posts\/201\/revisions"}],"predecessor-version":[{"id":2268,"href":"https:\/\/ibex.tech\/resources\/wp-json\/wp\/v2\/posts\/201\/revisions\/2268"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/resources\/wp-json\/wp\/v2\/media?parent=201"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/resources\/wp-json\/wp\/v2\/categories?post=201"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/resources\/wp-json\/wp\/v2\/tags?post=201"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}