PIC32 programming successfully but not working The Next CEO of Stack OverflowPIC12F617 Device ID read when debugging but not when programmingI2C with PIC32 and MCP4706 Not Workingpic16f628a successfully programmed but not workingPIC32 C programmingPIC32 does not get UART RX interrupts in xc32 CompilerPIC24 PLL module is always out of lockpic16f877A timer not workingSYSTEMConfigPerformance not executing in PIC32PIC18F1220 production build of C code not workingWhere should I start troubleshooting a CC1310 radio design?

How to coordinate airplane tickets?

How exploitable/balanced is this homebrew spell: Spell Permanency?

Is it OK to decorate a log book cover?

What does the same-ish mean?

Can I hook these wires up to find the connection to a dead outlet?

Is there a rule of thumb for determining the amount one should accept for a settlement offer?

Finitely generated matrix groups whose eigenvalues are all algebraic

Why was Sir Cadogan fired?

Mathematica command that allows it to read my intentions

How to use `glossaries` together with `ProvidesPackage`

Identification of tool

Are multiple articles needed in genitive list?

Why can't we say "I have been having a dog"?

What happens if you break a law in another country outside of that country?

How to delete logs automatically after a certain time and restart the process that fills up the log file?

What steps are necessary to read a Modern SSD in Medieval Europe?

Collected fruit by Seine's banks

Some wp-admin folder file deleted when Wordpress upgrade

Loop in macOS not working

How seriously should I take size and weight limits of hand luggage?

Avoiding the "not like other girls" trope?

Using the "a" preposition with "echar de menos" and a personal object

Does Germany produce more waste than the US?

How do I find which disk/partition current directory is on?



PIC32 programming successfully but not working



The Next CEO of Stack OverflowPIC12F617 Device ID read when debugging but not when programmingI2C with PIC32 and MCP4706 Not Workingpic16f628a successfully programmed but not workingPIC32 C programmingPIC32 does not get UART RX interrupts in xc32 CompilerPIC24 PLL module is always out of lockpic16f877A timer not workingSYSTEMConfigPerformance not executing in PIC32PIC18F1220 production build of C code not workingWhere should I start troubleshooting a CC1310 radio design?










1












$begingroup$


I am designing my own PCB around a PIC32MM0064GPL028 microcontroller. Breaking down the steps below-



  1. I have built a simple breadboard version first, inspired by PIC32MM curiosity development board.Breadboard(updated)

  2. Here is the schematic of the prototype programmed using PicKit3.Schematics

  3. The prototype connects and programs with no issues. And the same code works perfectly on the curiosity development board. This indicates that the issue is in the schematics or components.
    PIC32MM curiosity development board

  4. Links to the components I am using - PIC32, crystal, 18pF capacitor for crystal, 10uF capacitor for Vcap, Reverse Protection mosfet.

I am not an electronics engineer and have been playing with arduino and similar boards for quite a while now. However, this is all very new to me and probably the issue is a silly one.
It'll be super helpful if you could help me debug the issue. I can upload the code if it helps? Thanks.










share|improve this question









New contributor




Dhruv is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$endgroup$







  • 2




    $begingroup$
    Shouldn't the LED on the development board have a resistor in series as well? And why is it connected to MCLR? You may have damaged RB13 as it should not exceed the abs max ratings (chapt 26.0 datasheet)
    $endgroup$
    – Huisman
    2 hours ago











  • $begingroup$
    The LED on the development board is working fine even without the resistor (although a resistor is recommended, you are right). The problem is in the breadboard circuit (resistor included) which is not triggering the led.
    $endgroup$
    – Dhruv
    2 hours ago










  • $begingroup$
    What voltage do you measure on pins 3, 7 and 24? If you measure 3.3V, check the polarity of the LEDs.
    $endgroup$
    – Huisman
    2 hours ago






  • 1




    $begingroup$
    @Dhruv The series resistor is not just recommended, it is required. Otherwise you WILL damage your LEDs and/or your PIC
    $endgroup$
    – DerStrom8
    1 hour ago











  • $begingroup$
    @Huisman it shows 0.16V. It goes high for almost half a second while the code is uploading, and the goes back to zero. Leds are placed correctly.
    $endgroup$
    – Dhruv
    1 hour ago















1












$begingroup$


I am designing my own PCB around a PIC32MM0064GPL028 microcontroller. Breaking down the steps below-



  1. I have built a simple breadboard version first, inspired by PIC32MM curiosity development board.Breadboard(updated)

  2. Here is the schematic of the prototype programmed using PicKit3.Schematics

  3. The prototype connects and programs with no issues. And the same code works perfectly on the curiosity development board. This indicates that the issue is in the schematics or components.
    PIC32MM curiosity development board

  4. Links to the components I am using - PIC32, crystal, 18pF capacitor for crystal, 10uF capacitor for Vcap, Reverse Protection mosfet.

I am not an electronics engineer and have been playing with arduino and similar boards for quite a while now. However, this is all very new to me and probably the issue is a silly one.
It'll be super helpful if you could help me debug the issue. I can upload the code if it helps? Thanks.










share|improve this question









New contributor




Dhruv is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$endgroup$







  • 2




    $begingroup$
    Shouldn't the LED on the development board have a resistor in series as well? And why is it connected to MCLR? You may have damaged RB13 as it should not exceed the abs max ratings (chapt 26.0 datasheet)
    $endgroup$
    – Huisman
    2 hours ago











  • $begingroup$
    The LED on the development board is working fine even without the resistor (although a resistor is recommended, you are right). The problem is in the breadboard circuit (resistor included) which is not triggering the led.
    $endgroup$
    – Dhruv
    2 hours ago










  • $begingroup$
    What voltage do you measure on pins 3, 7 and 24? If you measure 3.3V, check the polarity of the LEDs.
    $endgroup$
    – Huisman
    2 hours ago






  • 1




    $begingroup$
    @Dhruv The series resistor is not just recommended, it is required. Otherwise you WILL damage your LEDs and/or your PIC
    $endgroup$
    – DerStrom8
    1 hour ago











  • $begingroup$
    @Huisman it shows 0.16V. It goes high for almost half a second while the code is uploading, and the goes back to zero. Leds are placed correctly.
    $endgroup$
    – Dhruv
    1 hour ago













1












1








1





$begingroup$


I am designing my own PCB around a PIC32MM0064GPL028 microcontroller. Breaking down the steps below-



  1. I have built a simple breadboard version first, inspired by PIC32MM curiosity development board.Breadboard(updated)

  2. Here is the schematic of the prototype programmed using PicKit3.Schematics

  3. The prototype connects and programs with no issues. And the same code works perfectly on the curiosity development board. This indicates that the issue is in the schematics or components.
    PIC32MM curiosity development board

  4. Links to the components I am using - PIC32, crystal, 18pF capacitor for crystal, 10uF capacitor for Vcap, Reverse Protection mosfet.

I am not an electronics engineer and have been playing with arduino and similar boards for quite a while now. However, this is all very new to me and probably the issue is a silly one.
It'll be super helpful if you could help me debug the issue. I can upload the code if it helps? Thanks.










share|improve this question









New contributor




Dhruv is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$endgroup$




I am designing my own PCB around a PIC32MM0064GPL028 microcontroller. Breaking down the steps below-



  1. I have built a simple breadboard version first, inspired by PIC32MM curiosity development board.Breadboard(updated)

  2. Here is the schematic of the prototype programmed using PicKit3.Schematics

  3. The prototype connects and programs with no issues. And the same code works perfectly on the curiosity development board. This indicates that the issue is in the schematics or components.
    PIC32MM curiosity development board

  4. Links to the components I am using - PIC32, crystal, 18pF capacitor for crystal, 10uF capacitor for Vcap, Reverse Protection mosfet.

I am not an electronics engineer and have been playing with arduino and similar boards for quite a while now. However, this is all very new to me and probably the issue is a silly one.
It'll be super helpful if you could help me debug the issue. I can upload the code if it helps? Thanks.







pic pcb-design






share|improve this question









New contributor




Dhruv is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Dhruv is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 1 hour ago







Dhruv













New contributor




Dhruv is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 2 hours ago









DhruvDhruv

63




63




New contributor




Dhruv is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Dhruv is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Dhruv is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







  • 2




    $begingroup$
    Shouldn't the LED on the development board have a resistor in series as well? And why is it connected to MCLR? You may have damaged RB13 as it should not exceed the abs max ratings (chapt 26.0 datasheet)
    $endgroup$
    – Huisman
    2 hours ago











  • $begingroup$
    The LED on the development board is working fine even without the resistor (although a resistor is recommended, you are right). The problem is in the breadboard circuit (resistor included) which is not triggering the led.
    $endgroup$
    – Dhruv
    2 hours ago










  • $begingroup$
    What voltage do you measure on pins 3, 7 and 24? If you measure 3.3V, check the polarity of the LEDs.
    $endgroup$
    – Huisman
    2 hours ago






  • 1




    $begingroup$
    @Dhruv The series resistor is not just recommended, it is required. Otherwise you WILL damage your LEDs and/or your PIC
    $endgroup$
    – DerStrom8
    1 hour ago











  • $begingroup$
    @Huisman it shows 0.16V. It goes high for almost half a second while the code is uploading, and the goes back to zero. Leds are placed correctly.
    $endgroup$
    – Dhruv
    1 hour ago












  • 2




    $begingroup$
    Shouldn't the LED on the development board have a resistor in series as well? And why is it connected to MCLR? You may have damaged RB13 as it should not exceed the abs max ratings (chapt 26.0 datasheet)
    $endgroup$
    – Huisman
    2 hours ago











  • $begingroup$
    The LED on the development board is working fine even without the resistor (although a resistor is recommended, you are right). The problem is in the breadboard circuit (resistor included) which is not triggering the led.
    $endgroup$
    – Dhruv
    2 hours ago










  • $begingroup$
    What voltage do you measure on pins 3, 7 and 24? If you measure 3.3V, check the polarity of the LEDs.
    $endgroup$
    – Huisman
    2 hours ago






  • 1




    $begingroup$
    @Dhruv The series resistor is not just recommended, it is required. Otherwise you WILL damage your LEDs and/or your PIC
    $endgroup$
    – DerStrom8
    1 hour ago











  • $begingroup$
    @Huisman it shows 0.16V. It goes high for almost half a second while the code is uploading, and the goes back to zero. Leds are placed correctly.
    $endgroup$
    – Dhruv
    1 hour ago







2




2




$begingroup$
Shouldn't the LED on the development board have a resistor in series as well? And why is it connected to MCLR? You may have damaged RB13 as it should not exceed the abs max ratings (chapt 26.0 datasheet)
$endgroup$
– Huisman
2 hours ago





$begingroup$
Shouldn't the LED on the development board have a resistor in series as well? And why is it connected to MCLR? You may have damaged RB13 as it should not exceed the abs max ratings (chapt 26.0 datasheet)
$endgroup$
– Huisman
2 hours ago













$begingroup$
The LED on the development board is working fine even without the resistor (although a resistor is recommended, you are right). The problem is in the breadboard circuit (resistor included) which is not triggering the led.
$endgroup$
– Dhruv
2 hours ago




$begingroup$
The LED on the development board is working fine even without the resistor (although a resistor is recommended, you are right). The problem is in the breadboard circuit (resistor included) which is not triggering the led.
$endgroup$
– Dhruv
2 hours ago












$begingroup$
What voltage do you measure on pins 3, 7 and 24? If you measure 3.3V, check the polarity of the LEDs.
$endgroup$
– Huisman
2 hours ago




$begingroup$
What voltage do you measure on pins 3, 7 and 24? If you measure 3.3V, check the polarity of the LEDs.
$endgroup$
– Huisman
2 hours ago




1




1




$begingroup$
@Dhruv The series resistor is not just recommended, it is required. Otherwise you WILL damage your LEDs and/or your PIC
$endgroup$
– DerStrom8
1 hour ago





$begingroup$
@Dhruv The series resistor is not just recommended, it is required. Otherwise you WILL damage your LEDs and/or your PIC
$endgroup$
– DerStrom8
1 hour ago













$begingroup$
@Huisman it shows 0.16V. It goes high for almost half a second while the code is uploading, and the goes back to zero. Leds are placed correctly.
$endgroup$
– Dhruv
1 hour ago




$begingroup$
@Huisman it shows 0.16V. It goes high for almost half a second while the code is uploading, and the goes back to zero. Leds are placed correctly.
$endgroup$
– Dhruv
1 hour ago










4 Answers
4






active

oldest

votes


















3












$begingroup$

It looks like you made a mistake in your schematic:
PIN 8 of the PIC (VSS) is connected to PWR and PIN 13 of the PIC (VDD) is connected to GND. VDD must be tied to the power, and VSS to the GND.
What is the voltage of PWR? Why don't you use 3V3 for MCLR and VDD/AVDD?






share|improve this answer









$endgroup$












  • $begingroup$
    Yeah, sorry about that mistake in the schematic. The actual circuit itself has the right connection though. PIN13 to pwr and VSS to GND. It is 3.3V as shown in the top-right part of the schematic, protected by a reverse current protection circuit.
    $endgroup$
    – Dhruv
    2 hours ago






  • 1




    $begingroup$
    Please update your schematics to the correct version.
    $endgroup$
    – Huisman
    2 hours ago










  • $begingroup$
    schematic updated. Sorry about that.
    $endgroup$
    – Dhruv
    1 hour ago


















0












$begingroup$

The Curiosity development board is based around the PIC24FJ128GA204. If you write code that works on that micro, then of course it will not work on a PIC32MM0064GPL028. You will need to go through the process of porting the code over to the new micro, which likely involves shifting around ports, updating some definitions, etc.






share|improve this answer









$endgroup$












  • $begingroup$
    The photo of the board shows that it is a PIC32 board.
    $endgroup$
    – HandyHowie
    1 hour ago










  • $begingroup$
    microchip.com/DevelopmentTools/ProductDetails/DM320101
    $endgroup$
    – Dhruv
    1 hour ago


















0












$begingroup$

There is nothing connected to pin 3 (LED1) of the PIC on your breadboard, neither to pin 7 (LED2). Double check your connections.






share|improve this answer









$endgroup$












  • $begingroup$
    Yeah I was just trying to different pins for output and must have moved them around before the picture. It's updated now, apologies again.
    $endgroup$
    – Dhruv
    1 hour ago


















0












$begingroup$

turns out it was just an incorrect connection to MCLR pin. I connected the 10k resistor in the wrong position in the breadboard. The schematics are fine and the prototype is working now. Thanks a lot for helping and let me know if you want me to share something else.






share|improve this answer








New contributor




Dhruv is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






$endgroup$












  • $begingroup$
    Congrats for finding it. This error was hardly detectable from the initial picture in your post. For next questions, I'd recommend providing clear pictures (from different angles, showing the whole setup etc) and correct schematics. Good luck with this board!
    $endgroup$
    – Huisman
    56 mins ago










  • $begingroup$
    Thanks. You are right, I was assuming the issue is in the schematic itself, or the components I am using. No assumptions next time! Thanks.
    $endgroup$
    – Dhruv
    52 mins ago











Your Answer





StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["\$", "\$"]]);
);
);
, "mathjax-editing");

StackExchange.ifUsing("editor", function ()
return StackExchange.using("schematics", function ()
StackExchange.schematics.init();
);
, "cicuitlab");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "135"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);






Dhruv is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2felectronics.stackexchange.com%2fquestions%2f430286%2fpic32-programming-successfully-but-not-working%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























4 Answers
4






active

oldest

votes








4 Answers
4






active

oldest

votes









active

oldest

votes






active

oldest

votes









3












$begingroup$

It looks like you made a mistake in your schematic:
PIN 8 of the PIC (VSS) is connected to PWR and PIN 13 of the PIC (VDD) is connected to GND. VDD must be tied to the power, and VSS to the GND.
What is the voltage of PWR? Why don't you use 3V3 for MCLR and VDD/AVDD?






share|improve this answer









$endgroup$












  • $begingroup$
    Yeah, sorry about that mistake in the schematic. The actual circuit itself has the right connection though. PIN13 to pwr and VSS to GND. It is 3.3V as shown in the top-right part of the schematic, protected by a reverse current protection circuit.
    $endgroup$
    – Dhruv
    2 hours ago






  • 1




    $begingroup$
    Please update your schematics to the correct version.
    $endgroup$
    – Huisman
    2 hours ago










  • $begingroup$
    schematic updated. Sorry about that.
    $endgroup$
    – Dhruv
    1 hour ago















3












$begingroup$

It looks like you made a mistake in your schematic:
PIN 8 of the PIC (VSS) is connected to PWR and PIN 13 of the PIC (VDD) is connected to GND. VDD must be tied to the power, and VSS to the GND.
What is the voltage of PWR? Why don't you use 3V3 for MCLR and VDD/AVDD?






share|improve this answer









$endgroup$












  • $begingroup$
    Yeah, sorry about that mistake in the schematic. The actual circuit itself has the right connection though. PIN13 to pwr and VSS to GND. It is 3.3V as shown in the top-right part of the schematic, protected by a reverse current protection circuit.
    $endgroup$
    – Dhruv
    2 hours ago






  • 1




    $begingroup$
    Please update your schematics to the correct version.
    $endgroup$
    – Huisman
    2 hours ago










  • $begingroup$
    schematic updated. Sorry about that.
    $endgroup$
    – Dhruv
    1 hour ago













3












3








3





$begingroup$

It looks like you made a mistake in your schematic:
PIN 8 of the PIC (VSS) is connected to PWR and PIN 13 of the PIC (VDD) is connected to GND. VDD must be tied to the power, and VSS to the GND.
What is the voltage of PWR? Why don't you use 3V3 for MCLR and VDD/AVDD?






share|improve this answer









$endgroup$



It looks like you made a mistake in your schematic:
PIN 8 of the PIC (VSS) is connected to PWR and PIN 13 of the PIC (VDD) is connected to GND. VDD must be tied to the power, and VSS to the GND.
What is the voltage of PWR? Why don't you use 3V3 for MCLR and VDD/AVDD?







share|improve this answer












share|improve this answer



share|improve this answer










answered 2 hours ago









PierreOlivierPierreOlivier

22529




22529











  • $begingroup$
    Yeah, sorry about that mistake in the schematic. The actual circuit itself has the right connection though. PIN13 to pwr and VSS to GND. It is 3.3V as shown in the top-right part of the schematic, protected by a reverse current protection circuit.
    $endgroup$
    – Dhruv
    2 hours ago






  • 1




    $begingroup$
    Please update your schematics to the correct version.
    $endgroup$
    – Huisman
    2 hours ago










  • $begingroup$
    schematic updated. Sorry about that.
    $endgroup$
    – Dhruv
    1 hour ago
















  • $begingroup$
    Yeah, sorry about that mistake in the schematic. The actual circuit itself has the right connection though. PIN13 to pwr and VSS to GND. It is 3.3V as shown in the top-right part of the schematic, protected by a reverse current protection circuit.
    $endgroup$
    – Dhruv
    2 hours ago






  • 1




    $begingroup$
    Please update your schematics to the correct version.
    $endgroup$
    – Huisman
    2 hours ago










  • $begingroup$
    schematic updated. Sorry about that.
    $endgroup$
    – Dhruv
    1 hour ago















$begingroup$
Yeah, sorry about that mistake in the schematic. The actual circuit itself has the right connection though. PIN13 to pwr and VSS to GND. It is 3.3V as shown in the top-right part of the schematic, protected by a reverse current protection circuit.
$endgroup$
– Dhruv
2 hours ago




$begingroup$
Yeah, sorry about that mistake in the schematic. The actual circuit itself has the right connection though. PIN13 to pwr and VSS to GND. It is 3.3V as shown in the top-right part of the schematic, protected by a reverse current protection circuit.
$endgroup$
– Dhruv
2 hours ago




1




1




$begingroup$
Please update your schematics to the correct version.
$endgroup$
– Huisman
2 hours ago




$begingroup$
Please update your schematics to the correct version.
$endgroup$
– Huisman
2 hours ago












$begingroup$
schematic updated. Sorry about that.
$endgroup$
– Dhruv
1 hour ago




$begingroup$
schematic updated. Sorry about that.
$endgroup$
– Dhruv
1 hour ago













0












$begingroup$

The Curiosity development board is based around the PIC24FJ128GA204. If you write code that works on that micro, then of course it will not work on a PIC32MM0064GPL028. You will need to go through the process of porting the code over to the new micro, which likely involves shifting around ports, updating some definitions, etc.






share|improve this answer









$endgroup$












  • $begingroup$
    The photo of the board shows that it is a PIC32 board.
    $endgroup$
    – HandyHowie
    1 hour ago










  • $begingroup$
    microchip.com/DevelopmentTools/ProductDetails/DM320101
    $endgroup$
    – Dhruv
    1 hour ago















0












$begingroup$

The Curiosity development board is based around the PIC24FJ128GA204. If you write code that works on that micro, then of course it will not work on a PIC32MM0064GPL028. You will need to go through the process of porting the code over to the new micro, which likely involves shifting around ports, updating some definitions, etc.






share|improve this answer









$endgroup$












  • $begingroup$
    The photo of the board shows that it is a PIC32 board.
    $endgroup$
    – HandyHowie
    1 hour ago










  • $begingroup$
    microchip.com/DevelopmentTools/ProductDetails/DM320101
    $endgroup$
    – Dhruv
    1 hour ago













0












0








0





$begingroup$

The Curiosity development board is based around the PIC24FJ128GA204. If you write code that works on that micro, then of course it will not work on a PIC32MM0064GPL028. You will need to go through the process of porting the code over to the new micro, which likely involves shifting around ports, updating some definitions, etc.






share|improve this answer









$endgroup$



The Curiosity development board is based around the PIC24FJ128GA204. If you write code that works on that micro, then of course it will not work on a PIC32MM0064GPL028. You will need to go through the process of porting the code over to the new micro, which likely involves shifting around ports, updating some definitions, etc.







share|improve this answer












share|improve this answer



share|improve this answer










answered 1 hour ago









DerStrom8DerStrom8

14.1k52759




14.1k52759











  • $begingroup$
    The photo of the board shows that it is a PIC32 board.
    $endgroup$
    – HandyHowie
    1 hour ago










  • $begingroup$
    microchip.com/DevelopmentTools/ProductDetails/DM320101
    $endgroup$
    – Dhruv
    1 hour ago
















  • $begingroup$
    The photo of the board shows that it is a PIC32 board.
    $endgroup$
    – HandyHowie
    1 hour ago










  • $begingroup$
    microchip.com/DevelopmentTools/ProductDetails/DM320101
    $endgroup$
    – Dhruv
    1 hour ago















$begingroup$
The photo of the board shows that it is a PIC32 board.
$endgroup$
– HandyHowie
1 hour ago




$begingroup$
The photo of the board shows that it is a PIC32 board.
$endgroup$
– HandyHowie
1 hour ago












$begingroup$
microchip.com/DevelopmentTools/ProductDetails/DM320101
$endgroup$
– Dhruv
1 hour ago




$begingroup$
microchip.com/DevelopmentTools/ProductDetails/DM320101
$endgroup$
– Dhruv
1 hour ago











0












$begingroup$

There is nothing connected to pin 3 (LED1) of the PIC on your breadboard, neither to pin 7 (LED2). Double check your connections.






share|improve this answer









$endgroup$












  • $begingroup$
    Yeah I was just trying to different pins for output and must have moved them around before the picture. It's updated now, apologies again.
    $endgroup$
    – Dhruv
    1 hour ago















0












$begingroup$

There is nothing connected to pin 3 (LED1) of the PIC on your breadboard, neither to pin 7 (LED2). Double check your connections.






share|improve this answer









$endgroup$












  • $begingroup$
    Yeah I was just trying to different pins for output and must have moved them around before the picture. It's updated now, apologies again.
    $endgroup$
    – Dhruv
    1 hour ago













0












0








0





$begingroup$

There is nothing connected to pin 3 (LED1) of the PIC on your breadboard, neither to pin 7 (LED2). Double check your connections.






share|improve this answer









$endgroup$



There is nothing connected to pin 3 (LED1) of the PIC on your breadboard, neither to pin 7 (LED2). Double check your connections.







share|improve this answer












share|improve this answer



share|improve this answer










answered 1 hour ago









HuismanHuisman

1,164212




1,164212











  • $begingroup$
    Yeah I was just trying to different pins for output and must have moved them around before the picture. It's updated now, apologies again.
    $endgroup$
    – Dhruv
    1 hour ago
















  • $begingroup$
    Yeah I was just trying to different pins for output and must have moved them around before the picture. It's updated now, apologies again.
    $endgroup$
    – Dhruv
    1 hour ago















$begingroup$
Yeah I was just trying to different pins for output and must have moved them around before the picture. It's updated now, apologies again.
$endgroup$
– Dhruv
1 hour ago




$begingroup$
Yeah I was just trying to different pins for output and must have moved them around before the picture. It's updated now, apologies again.
$endgroup$
– Dhruv
1 hour ago











0












$begingroup$

turns out it was just an incorrect connection to MCLR pin. I connected the 10k resistor in the wrong position in the breadboard. The schematics are fine and the prototype is working now. Thanks a lot for helping and let me know if you want me to share something else.






share|improve this answer








New contributor




Dhruv is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






$endgroup$












  • $begingroup$
    Congrats for finding it. This error was hardly detectable from the initial picture in your post. For next questions, I'd recommend providing clear pictures (from different angles, showing the whole setup etc) and correct schematics. Good luck with this board!
    $endgroup$
    – Huisman
    56 mins ago










  • $begingroup$
    Thanks. You are right, I was assuming the issue is in the schematic itself, or the components I am using. No assumptions next time! Thanks.
    $endgroup$
    – Dhruv
    52 mins ago















0












$begingroup$

turns out it was just an incorrect connection to MCLR pin. I connected the 10k resistor in the wrong position in the breadboard. The schematics are fine and the prototype is working now. Thanks a lot for helping and let me know if you want me to share something else.






share|improve this answer








New contributor




Dhruv is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






$endgroup$












  • $begingroup$
    Congrats for finding it. This error was hardly detectable from the initial picture in your post. For next questions, I'd recommend providing clear pictures (from different angles, showing the whole setup etc) and correct schematics. Good luck with this board!
    $endgroup$
    – Huisman
    56 mins ago










  • $begingroup$
    Thanks. You are right, I was assuming the issue is in the schematic itself, or the components I am using. No assumptions next time! Thanks.
    $endgroup$
    – Dhruv
    52 mins ago













0












0








0





$begingroup$

turns out it was just an incorrect connection to MCLR pin. I connected the 10k resistor in the wrong position in the breadboard. The schematics are fine and the prototype is working now. Thanks a lot for helping and let me know if you want me to share something else.






share|improve this answer








New contributor




Dhruv is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






$endgroup$



turns out it was just an incorrect connection to MCLR pin. I connected the 10k resistor in the wrong position in the breadboard. The schematics are fine and the prototype is working now. Thanks a lot for helping and let me know if you want me to share something else.







share|improve this answer








New contributor




Dhruv is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this answer



share|improve this answer






New contributor




Dhruv is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









answered 1 hour ago









DhruvDhruv

63




63




New contributor




Dhruv is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Dhruv is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Dhruv is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











  • $begingroup$
    Congrats for finding it. This error was hardly detectable from the initial picture in your post. For next questions, I'd recommend providing clear pictures (from different angles, showing the whole setup etc) and correct schematics. Good luck with this board!
    $endgroup$
    – Huisman
    56 mins ago










  • $begingroup$
    Thanks. You are right, I was assuming the issue is in the schematic itself, or the components I am using. No assumptions next time! Thanks.
    $endgroup$
    – Dhruv
    52 mins ago
















  • $begingroup$
    Congrats for finding it. This error was hardly detectable from the initial picture in your post. For next questions, I'd recommend providing clear pictures (from different angles, showing the whole setup etc) and correct schematics. Good luck with this board!
    $endgroup$
    – Huisman
    56 mins ago










  • $begingroup$
    Thanks. You are right, I was assuming the issue is in the schematic itself, or the components I am using. No assumptions next time! Thanks.
    $endgroup$
    – Dhruv
    52 mins ago















$begingroup$
Congrats for finding it. This error was hardly detectable from the initial picture in your post. For next questions, I'd recommend providing clear pictures (from different angles, showing the whole setup etc) and correct schematics. Good luck with this board!
$endgroup$
– Huisman
56 mins ago




$begingroup$
Congrats for finding it. This error was hardly detectable from the initial picture in your post. For next questions, I'd recommend providing clear pictures (from different angles, showing the whole setup etc) and correct schematics. Good luck with this board!
$endgroup$
– Huisman
56 mins ago












$begingroup$
Thanks. You are right, I was assuming the issue is in the schematic itself, or the components I am using. No assumptions next time! Thanks.
$endgroup$
– Dhruv
52 mins ago




$begingroup$
Thanks. You are right, I was assuming the issue is in the schematic itself, or the components I am using. No assumptions next time! Thanks.
$endgroup$
– Dhruv
52 mins ago










Dhruv is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















Dhruv is a new contributor. Be nice, and check out our Code of Conduct.












Dhruv is a new contributor. Be nice, and check out our Code of Conduct.











Dhruv is a new contributor. Be nice, and check out our Code of Conduct.














Thanks for contributing an answer to Electrical Engineering Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2felectronics.stackexchange.com%2fquestions%2f430286%2fpic32-programming-successfully-but-not-working%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How should I use the fbox command correctly to avoid producing a Bad Box message?How to put a long piece of text in a box?How to specify height and width of fboxIs there an arrayrulecolor-like command to change the rule color of fbox?What is the command to highlight bad boxes in pdf?Why does fbox sometimes place the box *over* the graphic image?how to put the text in the boxHow to create command for a box where text inside the box can automatically adjust?how can I make an fbox like command with certain color, shape and width of border?how to use fbox in align modeFbox increase the spacing between the box and it content (inner margin)how to change the box height of an equationWhat is the use of the hbox in a newcommand command?

Doxepinum Nexus interni Notae | Tabula navigationis3158DB01142WHOa682390"Structural Analysis of the Histamine H1 Receptor""Transdermal and Topical Drug Administration in the Treatment of Pain""Antidepressants as antipruritic agents: A review"

Haugesund Nexus externi | Tabula navigationisHaugesund pagina interretialisAmplifica