MIKROC Version 6 Vs Version 7

mikroC, mikroBasic and mikroPascal PRO for Microchip’s 8-bit PIC MCUs.
Post Reply
Author
Message
robertj
Posts: 11
Joined: 15 Oct 2013 01:36

MIKROC Version 6 Vs Version 7

#1 Post by robertj » 16 Mar 2022 16:23

I have an odd quirk with version 7. I am using Mikroelectronicas programmer. If I use CTLR/F11 in version 6 the program loads and the PIC automatically starts. In Version 7.6 I have to interrupt power to restart the PIC. This is with a 16F877. I tried a PICKIT3 and ran into the same thing. The code being generated is slightly different making POR necessary.

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: MIKROC Version 6 Vs Version 7

#2 Post by filip » 25 Mar 2022 10:16

Hi,

Can you please explain this in details, it is really strange situation ?

Regards,
Filip.

robertj
Posts: 11
Joined: 15 Oct 2013 01:36

Re: MIKROC Version 6 Vs Version 7

#3 Post by robertj » 11 Apr 2022 18:39

For some reason when code is generated in version 7.6 the PIC being programmed requires a POR to run. With the same C code but compiled with Mikroc version 6 the Pic starts after the programmer finishes automatically. In the case of V7 once the POR is done the code works fine. The PIC was a 16F877A.

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: MIKROC Version 6 Vs Version 7

#4 Post by filip » 14 Apr 2022 12:44

Hi,

This is the first time I heard of such issue.

Can you load both HEX files into the mikroProg Suite application to see if the POR is correctly set ?

Regards,
Filip.

Post Reply

Return to “PIC PRO Compilers”