PIC MCU DEBUGGING #8 - Debug macro (Absolute Beginner)

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 พ.ย. 2024

ความคิดเห็น • 14

  • @Microesque
    @Microesque  ปีที่แล้ว +4

    I apologize for the lack of uploads... I haven't abandoned the channel, and I never will. I just have a lot to do these days and can't find the time to edit. I'll keep making more videos when I find the time. I hope you can be patient 👍 If you have any questions, you can contact me through my mail "microesque@gmail.com".

    • @BigA1
      @BigA1 7 หลายเดือนก่อน +1

      I look forward to you producing more videos - they're pure concentrated quality. Good luck with whatever else you are doing.

    • @Microesque
      @Microesque  7 หลายเดือนก่อน

      ​@@BigA1 I'm still around 👍 Like I said, I have no intention of abandoning this channel since I've been doing it for fun in the first place. But I probably won't be able to upload for a while still, it seems 😕

  • @cesarborjaruiz3584
    @cesarborjaruiz3584 5 หลายเดือนก่อน

    Just watched all ur videos, the best mC videos to ever be released!
    Congrats

  • @joanlopezjimenez8336
    @joanlopezjimenez8336 ปีที่แล้ว

    Great video! You have my attention.

  • @sisakestgroup
    @sisakestgroup 10 หลายเดือนก่อน

    ThANK YOU SO MUCH FOR ALL THERE VIDEOS, THANK YOU

    • @Microesque
      @Microesque  10 หลายเดือนก่อน

      Thanks 👍

  • @Alex-rv8gw
    @Alex-rv8gw ปีที่แล้ว

    NICE VIDEO

  • @Alex-rv8gw
    @Alex-rv8gw ปีที่แล้ว

    Hi sir I am using pickit 4 facing issues like failed to device ID and unable to flash any firmware do you know how to solve this problem?

    • @Microesque
      @Microesque  ปีที่แล้ว

      That's a very basic error message, so it's hard to say what would be the issue without seeing your circuit. Some things that come to mind:
      1- Your microcontroller may be broken. (If you didn't buy from a reputable seller it may be fake/faulty. Also make sure the microcontroller isn't drawing hundreds of milliamps, as that could mean it's fried. You can check if it's getting hot by touching it too.)
      2- Your microcontroller may not be powered on properly.
      3- You may have a loose connection. (Cheap breadboards are really problematic. Wires may not be making proper contact even if it looks like they do.)
      4- Make sure the programming lines are connected properly.
      5- Your PGD and PGC lines may be connected the wrong way.
      6- Make sure to restart the IDE and/or re-plug the USB cable to PICKIT4, as sometimes the interface bugs out. I've experienced that multiple times for sure...

    • @Alex-rv8gw
      @Alex-rv8gw ปีที่แล้ว

      @@Microesque My electronic connection is no problem because when I use ICD 3 to flash my firmware I find no issues but when the time I use pickit4 it keeps popping up failing to get the device ID

    • @Microesque
      @Microesque  ปีที่แล้ว

      ​@@Alex-rv8gw Hmm... Reading the device ID is the first thing the programmer is supposed to do, and if the microcontroller is working without a problem as you say, there must be a problem with either your connections to PICKIT4 or the PICKIT4 itself. If you have an oscilloscope you can check the programming lines to verify if PICKIT4 is doing what it should. Other than that, make sure MPLAB is up to date. Also, make sure there are no other components like resistors or capacitors connected to the programming lines, and make sure both the Vdd and GND lines are also connected as you DO need both. You can also try to program another microcontroller if you have any on hand (ideally one from a different family), to see if PICKIT 4 works with that.
      If none of that works, you can try to update the PICKIT4 firmware manually or something. Honestly, that error is so generic that the reason could be anything, so it's hard to suggest things without seeing the actual circuit.