I have just bought the mikroprog suite for pic.
I have one project with pic18LF26k22 , the only way to work with the debugger is power the mcu from the mikroprog and to put a pull up resistor on mclr pin.
(I use to disable the mclr pin at my projects)
....................
Update
after some testing, the debugger doesnt work , now I can get into in debug mode but when I press the start button I get the following errors.
Is need it to put extra pull ups or pulls down on the clock and data pins?
I have the laterst drivers
Latest fw on mikroprog
I have tested on a second pc
I use windows 10 64bit
I havent connect anything on data and clock pins , just the mikroprog
latest version of mikroc
laterst version of mikroprog suite
Programing works on this pcb
mikroprog for pic and debugger problems
mikroprog for pic and debugger problems
- Attachments
-
- Untitled.jpg (31.88 KiB) Viewed 4600 times
Re: mikroprog for pic and debugger problems
I enabled the mclr pin and now I dont get an error msg
- darko.ilijevski
- Posts: 581
- Joined: 21 Mar 2017 16:57
Re: mikroprog for pic and debugger problems
Hello,
So, were you able to resolve your issue ?
Regards
So, were you able to resolve your issue ?
Regards
BR,
Darko
Darko
Re: mikroprog for pic and debugger problems
As I see I must enable the MCLR pin ?
With MCLR enable , it doesn't need to power the pcb from mikroprog.
With MCLR enable , it doesn't need to power the pcb from mikroprog.
- darko.ilijevski
- Posts: 581
- Joined: 21 Mar 2017 16:57
Re: mikroprog for pic and debugger problems
Hello
MCLR pin is basically used to feed the programming voltage to the MCU, so it has to be enabled in order to program the device. During the programming - especially if you are using high voltage programming, that pin can be fed with up to 12v (depending on the MCU) If you disable it or put some inadequate resistors on it, it might interfere with the programming process. For the most accurate info on that, you can check in the datasheet of a certain MCU you are trying to program.
Best regards
MCLR pin is basically used to feed the programming voltage to the MCU, so it has to be enabled in order to program the device. During the programming - especially if you are using high voltage programming, that pin can be fed with up to 12v (depending on the MCU) If you disable it or put some inadequate resistors on it, it might interfere with the programming process. For the most accurate info on that, you can check in the datasheet of a certain MCU you are trying to program.
Best regards
BR,
Darko
Darko
Re: mikroprog for pic and debugger problems
It doesnt need to be enable for mcu programing.You can configure mclr as a Port and you can program the mcu with no problem.
Mikroprog can program the mcu with the MCLR disable , but debugger doesn't work.
Is this standard for mikroprog debug? because I think that there isnt on the manual
Mikroprog can program the mcu with the MCLR disable , but debugger doesn't work.
Is this standard for mikroprog debug? because I think that there isnt on the manual
- darko.ilijevski
- Posts: 581
- Joined: 21 Mar 2017 16:57
Re: mikroprog for pic and debugger problems
Hi,
Yes, you are correct for the programming, when I said enabled, I was thinking like - the pin not being cut off from the circuitry, or disconnected. Programmer sets the Vpp via that pin, doesn't care about the current code in the MCU itself - you can't 'lock' the PIC that way... But without it, you couldn't even program. As for the debug - I will investigate a bit and let you know.
Best regards...
Yes, you are correct for the programming, when I said enabled, I was thinking like - the pin not being cut off from the circuitry, or disconnected. Programmer sets the Vpp via that pin, doesn't care about the current code in the MCU itself - you can't 'lock' the PIC that way... But without it, you couldn't even program. As for the debug - I will investigate a bit and let you know.
Best regards...
BR,
Darko
Darko