Thank you, good work. One wish from me would be that sometimes you move a bit fast with your mouse. Then its hard to follow. Go to the point you want to choose, make a small pause before clicking. Thanks.
Are you sure you selected Conf[Default]? What version of MPLAB X IDE are you using? You might have a broken install or the project is not setup correctly. Unless Microchip changed the MPLAB IDE in newer version witch I doubt since that option has been the same for about 8-10 years now.
Hello, good day, do you think you can help me with a problem please, is that I am a student and I installed MPLAB X ide version 5.40 and compiler Xc8 2.20 the most recent one now, but I had another one that obviously uninstalled the other, the problem lies in how much I have to use the debug I put a break point in any line and it gives me broken then I get the following legend Break point at line 79 in file C: / Users / jonathan / Desktop / Programs assembly PIC18F46k22 / test_1.X / test_1.s cannot be resolved to a valid program memory address and this also comes out No source code lines were found at current PC 0xfff2. Open program memory view to see instruction code disassembly. I would really appreciate it too much I'm doing Assembler programs
Use a NOP instruction where you want the breakpoint to be. It has been ages since I worked in ASM but here what is the cause in C. Not all C statements resolve to a line of assembly code, so you can't break on them. The NOP() macro is useful in that case as a break target.
th-cam.com/video/V7d6jhzMgYY/w-d-xo.html Pickit 4. You can also use a MPLAB SNAP. Working Pickit 3 are hard to find. Was using a original Pickit 3 I got many moons ago in this video.
Full playlist on the PIC microcontroller Programming th-cam.com/video/KSI6fzOPVz0/w-d-xo.html
If there is anything you would like to see let me know.
Very good video, as usual. Always something to learn.
This is a great tutorial! Thanks!
thanks for sharing
Thank you, good work. One wish from me would be that sometimes you move a bit fast with your mouse. Then its hard to follow. Go to the point you want to choose, make a small pause before clicking. Thanks.
You can always set the playback speed with | shift + . | and | shift + , | on PC.
@@BinderTronics Thank you so much for your reply. It will help but I think I will get some problems with the audio. Anyway, I will do it, thanks,
thankyou
when i build that time error come, so how i track them?
Please post the error code. I am unable to decode what you are saying.
For a pic with 20 Mhz crystal what should be the instruction frequency (Fcyc) in the simulator settings under oscillator options
20 / 4 = 5
many thanks, could you please make a video of debugging by PICkit3?
This is with a PICkit3
dont know if you're still replaying, but i dont have that 'Hardware Tool' options at 0:52
Are you sure you selected Conf[Default]? What version of MPLAB X IDE are you using? You might have a broken install or the project is not setup correctly. Unless Microchip changed the MPLAB IDE in newer version witch I doubt since that option has been the same for about 8-10 years now.
@@BinderTronics I'll look through everything again and let you know, thanks. Do you have a video about the download and installation by chance?
@@osaiyare8165 Full playlist. starts with software install. th-cam.com/video/KSI6fzOPVz0/w-d-xo.html
Can you help me where I can see the clock output
If you mean the clock output pin. Then you can use the logic analyzer. It is in the same place as stimulus.
Hello, good day, do you think you can help me with a problem please, is that I am a student and I installed MPLAB X ide version 5.40 and compiler Xc8 2.20 the most recent one now, but I had another one that obviously uninstalled the other, the problem lies in how much I have to use the debug I put a break point in any line and it gives me broken then I get the following legend
Break point at line 79 in file C: / Users / jonathan / Desktop / Programs assembly PIC18F46k22 / test_1.X / test_1.s cannot be resolved to a valid program memory address
and this also comes out
No source code lines were found at current PC 0xfff2. Open program memory view to see instruction code disassembly.
I would really appreciate it too much I'm doing Assembler programs
Use a NOP instruction where you want the breakpoint to be. It has been ages since I worked in ASM but here what is the cause in C.
Not all C statements resolve to a line of assembly code, so you can't break on them.
The NOP() macro is useful in that case as a break target.
Do you use Pickit or else?
I wonder your hardware conneciton
th-cam.com/video/V7d6jhzMgYY/w-d-xo.html
Pickit 4. You can also use a MPLAB SNAP. Working Pickit 3 are hard to find. Was using a original Pickit 3 I got many moons ago in this video.
@@BinderTronics thx
I have pic kit3 and PIC18F2550 .I am able to programme pic but I am not able to debugging. Do you know any other technique for debugging.
Disable the low power programming config bits. Try without breakpoints first