<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Texte brut Car";
margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
span.TextebrutCar
{mso-style-name:"Texte brut Car";
mso-style-priority:99;
mso-style-link:"Texte brut";
font-family:"Calibri","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=FR-CA link=blue vlink=purple><div class=WordSection1><p class=MsoPlainText><span lang=EN-CA>>As a long-time Microchip customer, I feel your pain.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-CA>>Out of interest what aspect of the debugging isn't working as you want? Is it a particular peripheral that's playing up, or you can't set breakpoints, got problems getting ICD to connect on USB, etc?<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-CA>See all my complaints here:<o:p></o:p></span></p><p class=MsoPlainText><a href="https://www.microchip.com/forums/m1167328.aspx?tree=true">https://www.microchip.com/forums/m1167328.aspx?tree=true</a><o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText><span lang=EN-CA>>Some possible things to try:<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-CA>>Try a known good replacement part.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-CA>>Try using a different PIC model.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-CA>>Keep ICSP data and clock lines short.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-CA>>Power the device externally, not from ICD.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-CA>>Try a really simple program blinking a LED.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-CA>>Try programing it in release mode instead of debug mode, to see if it runs.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-CA>>Post messages to a spare UART or software UART for debugging.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-CA><o:p> </o:p></span></p><p class=MsoPlainText><span lang=EN-CA>I've did ALL these small tests and the final result is....<o:p></o:p></span></p><p class=MsoPlainText><b><i><span lang=EN-CA style='color:red'>Using the following setup my small test program works well with any breakpoints:<o:p></o:p></span></i></b></p><p class=MsoPlainText><b><i><span lang=EN-CA style='color:red'> <o:p></o:p></span></i></b></p><p class=MsoPlainText><b><i><span lang=EN-CA style='color:red'>HiTech C Compiler v9.83<o:p></o:p></span></i></b></p><p class=MsoPlainText><b><i><span lang=EN-CA style='color:red'>MPLAB IDE v8.92 (MPLAB X IDE does not work)<o:p></o:p></span></i></b></p><p class=MsoPlainText><b><i><span lang=EN-CA style='color:red'>PicKit2 (PicKit3, ICD2 & ICD3 don't work)<o:p></o:p></span></i></b></p><p class=MsoPlainText><b><i><span lang=EN-CA style='color:red'> <o:p></o:p></span></i></b></p><p class=MsoPlainText><b><i><span lang=EN-CA style='color:red'>I cannot test my program with PicKit2 inside MPLAB X IDE since it's not supported..<o:p></o:p></span></i></b></p><p class=MsoPlainText><b><i><span lang=EN-CA style='color:red'>So the breakpoints issue is not hardware based here<o:p></o:p></span></i></b></p><p class=MsoPlainText><span lang=EN-CA><o:p> </o:p></span></p><p class=MsoPlainText><span lang=EN-CA>Thank you anyway Richie.<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-CA>I’m anxious to see what the list will say..<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-CA><o:p> </o:p></span></p><p class=MsoPlainText><span lang=EN-CA>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<o:p></o:p></span></p><p class=MsoPlainText><span lang=EN-CA><o:p> </o:p></span></p><p class=MsoPlainText><span lang=EN-CA><o:p> </o:p></span></p><p class=MsoPlainText><span lang=FR style='mso-fareast-language:FR-CA'>-----Message d'origine-----<br>De : Richie Burnett [mailto:rburnett@richieburnett.co.uk] <br>Envoyé : 24 février 2021 16:41<br>À : synth-diy@synth-diy.org; Jean-Pierre Desrochers<br>Objet : RE: [sdiy] Microchip.. for futur projects, choice to do.. PICs or Arduino</span></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>As a long-time Microchip customer, I feel your pain.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Out of interest what aspect of the debugging isn't working as you want? Is it a particular peripheral that's playing up, or you can't set breakpoints, got problems getting ICD to connect on USB, etc?<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Some possible things to try:<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Try a known good replacement part.<o:p></o:p></p><p class=MsoPlainText>Try using a different PIC model.<o:p></o:p></p><p class=MsoPlainText>Keep ICSP data and clock lines short.<o:p></o:p></p><p class=MsoPlainText>Power the device externally, not from ICD.<o:p></o:p></p><p class=MsoPlainText>Try a really simple program blinking a LED.<o:p></o:p></p><p class=MsoPlainText>Try programing it in release mode instead of debug mode, to see if it runs.<o:p></o:p></p><p class=MsoPlainText>Post messages to a spare UART or software UART for debugging.<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>I must admit I've been using MPLAB 8.92 for years with no problems but still find MPLAB-X to be really slow and flaky. Even though it's been out for several years now! <o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Good luck, <o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>-Richie,<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>Sent from my Xperia SP on O2<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>---- Jean-Pierre Desrochers wrote ----<o:p></o:p></p><p class=MsoPlainText><o:p> </o:p></p><p class=MsoPlainText>>Hi list,<o:p></o:p></p><p class=MsoPlainText>><o:p> </o:p></p><p class=MsoPlainText>>This is off synth DIY topics (but not as much..) But I'm at a <o:p></o:p></p><p class=MsoPlainText>>crosspoint here.<o:p></o:p></p><p class=MsoPlainText>>I've been a Microchip PIC user for many years so far.<o:p></o:p></p><p class=MsoPlainText>>I've designed many projects around 8 bits PIC16Fxxxx devices.<o:p></o:p></p><p class=MsoPlainText>>In these last years I used Microchip's development IDE MPLAB IDE then <o:p></o:p></p><p class=MsoPlainText>>updated to MPLAB X IDE for the last years.<o:p></o:p></p><p class=MsoPlainText>>These environments are well constructed to work in assembly Or (in my <o:p></o:p></p><p class=MsoPlainText>>case C code).<o:p></o:p></p><p class=MsoPlainText>>To me the weak part of Microchip environments has always been Their <o:p></o:p></p><p class=MsoPlainText>>debuggers (ICD2-3, PicKIT3, etc..).<o:p></o:p></p><p class=MsoPlainText>>I'm telling that because in the last 4 days I struggled to make my ICD3 <o:p></o:p></p><p class=MsoPlainText>>debug a PIC16F1783 as it should without success.<o:p></o:p></p><p class=MsoPlainText>>I posted my issues on Microchip's forum and had 'some' replies Like did <o:p></o:p></p><p class=MsoPlainText>>you correctly connect your ICD ?<o:p></o:p></p><p class=MsoPlainText>>or what length of ICD to board cable are you using ?<o:p></o:p></p><p class=MsoPlainText>>but then... complete silence there..<o:p></o:p></p><p class=MsoPlainText>>It seems that the interests are mostly aimed to 16 & 32bits PICs.<o:p></o:p></p><p class=MsoPlainText>><o:p> </o:p></p><p class=MsoPlainText>>And... I remembered seeing many posts and videos about how easy it is <o:p></o:p></p><p class=MsoPlainText>>to use Arduino as a 'bridge' to get a small project done.<o:p></o:p></p><p class=MsoPlainText>>Free user interface/programming environment available.<o:p></o:p></p><p class=MsoPlainText>>Final projects on Atmel micros ??<o:p></o:p></p><p class=MsoPlainText>><o:p> </o:p></p><p class=MsoPlainText>>I'm stuck with Microchip unreliable debugging hardware so far.<o:p></o:p></p><p class=MsoPlainText>>Maybe there are MPLAB IDE compatible hardware debuggers but I doubt it.<o:p></o:p></p><p class=MsoPlainText>>So I'd like to hear you about what should I use for my future needs..<o:p></o:p></p><p class=MsoPlainText>>Again I'm a 8 bits micro user programming in C.<o:p></o:p></p><p class=MsoPlainText>>If a good choice of Arduino board would help me to faster develop small <o:p></o:p></p><p class=MsoPlainText>>projects that would interest me..<o:p></o:p></p><p class=MsoPlainText>><o:p> </o:p></p><p class=MsoPlainText>>Your opinions welcomed.<o:p></o:p></p><p class=MsoPlainText>><o:p> </o:p></p><p class=MsoPlainText>><o:p> </o:p></p><p class=MsoPlainText>><o:p> </o:p></p><p class=MsoPlainText>><o:p> </o:p></p><p class=MsoPlainText>><o:p> </o:p></p><p class=MsoPlainText>>_______________________________________________<o:p></o:p></p><p class=MsoPlainText>>Synth-diy mailing list<o:p></o:p></p><p class=MsoPlainText>><a href="mailto:Synth-diy@synth-diy.org"><span style='color:windowtext;text-decoration:none'>Synth-diy@synth-diy.org</span></a><o:p></o:p></p><p class=MsoPlainText>><a href="http://synth-diy.org/mailman/listinfo/synth-diy"><span style='color:windowtext;text-decoration:none'>http://synth-diy.org/mailman/listinfo/synth-diy</span></a><o:p></o:p></p><p class=MsoPlainText>>Selling or trading? Use <a href="mailto:marketplace@synth-diy.org"><span style='color:windowtext;text-decoration:none'>marketplace@synth-diy.org</span></a><o:p></o:p></p></div></body></html>