Search found 24 matches

by pk7639
02 May 2017 21:56
Forum: mikroC PRO for PIC General
Topic: 7.1.0 locks files and fails
Replies: 1
Views: 1809

7.1.0 locks files and fails

I have a ticked logged for this, but I was wondering if anyone else is seeing 7.1.0 builds either ending with "Finished with errors" without any errors in the code, or displaying that message just after building the delays library. We usually find that it will build fine the first time, maybe the fi...
by pk7639
21 Oct 2016 01:12
Forum: mikroC PRO for PIC General
Topic: IDE bug and flash programming problem
Replies: 4
Views: 2390

Re: IDE bug and flash programming problem

Hi, Yes, I agree with you. Just one note, Brown-out Reset Enable bit is in CONFIG1H<0> ,page 555: http://www.mouser.com/ds/2/268/30575A-243037.pdf Maybe your problem is because that CONFIG1L<0> is U-1 (not writable bit). Kind regards, Aleksandar Yes, posting problems on the forums is like going to ...
by pk7639
20 Oct 2016 04:04
Forum: mikroC PRO for PIC General
Topic: IDE bug and flash programming problem
Replies: 4
Views: 2390

Re: IDE bug and flash programming problem

So I make some progress by getting the address' correct

Code: Select all

 writeWord(0x1FFFF0,0xA0,0xF6);  //Config 1
becomes

Code: Select all

 writeWord(0x1FFF0,0xA0,0xF6);  //Config 1
Now it works once. ie the config1 is programmed, then it hangs....
Hmm, maybe I need to do a page write after all..

PK
by pk7639
20 Oct 2016 03:42
Forum: mikroC PRO for PIC General
Topic: IDE bug and flash programming problem
Replies: 4
Views: 2390

IDE bug and flash programming problem

So the "Brownout reset" config setting for an 18F67J94 in MikroC V6.6.2 has it's logic inverted, ie "enabled" actually disables BOR. It was an easy mistake to make, CONFIG1L<0> == 0 to enable is a bit counter intuitive, and I've logged a ticket. So now I have a bunch of product in the wild that I'd ...
by pk7639
28 May 2015 10:32
Forum: mikroC PRO for PIC General
Topic: mikroC for PIC version 6.6.0 released!
Replies: 53
Views: 18599

Re: mikroC for PIC version 6.6.0 released!

OK, a big +1 for the case sensitivity in libraries problem. We have production code that won't build in 6.6.0. and that means we are close to dead in the water.
Please post rollback instructions.....
PK
by pk7639
09 Sep 2014 09:38
Forum: mikroC PRO for dsPIC30/33 and PIC24 Beta Testing
Topic: Unsual file/network activity when running MikroC for dsPIC
Replies: 3
Views: 4530

Re: Unsual file/network activity when running MikroC for dsP

Hi, I believe that I answered you via support desk. Best regards, Marina :-) Great, but if you had copy/pasted your response here, then I wouldn't have had to raise the same question as a support ticket. The problem gets much worse if you open C-PIC16 and C-PIC32 at the same time. With a single IDE...
by pk7639
29 Jan 2014 10:43
Forum: Development Boards
Topic: Mikromedia (18FJ) bootloader corrupt?
Replies: 4
Views: 1782

Re: Mikromedia (18FJ) bootloader corrupt?

filip wrote:Hi,

Please, could you disconnect all external circuitry, program the MCU with the bootloader, and try to upload the HEX files several times and see if you can recreate this issue ?

Regards,
Filip.
Sure, I'll give this a go in the morning. Thanks

PK
by pk7639
29 Jan 2014 09:14
Forum: Development Boards
Topic: Mikromedia (18FJ) bootloader corrupt?
Replies: 4
Views: 1782

Re: Mikromedia (18FJ) bootloader corrupt?

Hello, This happened during the normal work or during the reprogramming? Additional custom circuit is used with board? Best regards, Peter Peter it happened during the reprogramming. There is a circuit connected to this board and it is driving a stepper motor. But it fell over about 25% of the way ...
by pk7639
28 Jan 2014 23:07
Forum: Development Boards
Topic: Mikromedia (18FJ) bootloader corrupt?
Replies: 4
Views: 1782

Mikromedia (18FJ) bootloader corrupt?

I have been developing some code on a Mikromedia 18F87J50 board for a few days. Everything was working fine. Then a bootload failed and the device is no longer detected by the windows HID bootload software. OK, these things happen.. So I connect a programmer and reflash the bootloader. Verify it, bu...
by pk7639
26 Sep 2013 04:36
Forum: mikroPascal PRO for PIC General
Topic: PPS pin-peripheral assignments??
Replies: 38
Views: 16841

Re: PPS pin-peripheral assignments??

Thanks heaps for the response, I'll check the RP46 issue and try out your tool.

I do now have RP39 mapped to the EUSART and sending data. Yay!
The last piece of the puzzle was figuring out I had set TXSTA2 wrong....Doh!
Making progress now..
PK
by pk7639
25 Sep 2013 10:30
Forum: mikroPascal PRO for PIC General
Topic: PPS pin-peripheral assignments??
Replies: 38
Views: 16841

Re: PPS pin-peripheral assignments??

Inching forward.. Gotta turn off the LCD driver, and IOLOCK is in OSCCON2 not OSCCON1 (the datasheet has a typo in section 11.15.5.1) I'm now at: void main() { TRISC.B3=0; ANCON1=0; ANCON2=0; ANCON3=0; LCDCON=0; LCDSE0=0; LCDSE1=0; LCDSE2=0; LCDSE3=0; LCDSE4=0; LCDSE5=0; LCDSE6=0; LCDSE7=0; LCDREG=0...
by pk7639
25 Sep 2013 09:30
Forum: mikroPascal PRO for PIC General
Topic: PPS pin-peripheral assignments??
Replies: 38
Views: 16841

Re: PPS pin-peripheral assignments??

Impressive work! There's a great Calvin Coolidge quote. http://www.quotationspage.com/quote/2771.html very applicable here. So I'm now looking to migrate our products to this chip.. 4 UARTS and a built in RTCC with battery backup! Wooo hoo. I have a definition file from the MikroElectronica guys. No...
by pk7639
30 Nov 2011 09:23
Forum: mikroC PRO for PIC General
Topic: New version of FAT16 library
Replies: 13
Views: 3237

Re: New version of FAT16 library

pk7639 wrote:OK, same (FAT-16 library using) code, 18F67J10
MikroC 5.01 RAM: 2911 ROM: 47567
MikroC 5.2 RAM: 3632 ROM: 49952

Looks suspiciously like there's an extra 512byte buffer in there!.....
PK
MikroC 5.3 (still using the new FAT16 library, not the legacy one) RAM: 3630 ROM: 46217

PK
by pk7639
27 Nov 2011 10:57
Forum: mikroC PRO for PIC Wish List
Topic: Bounds checking
Replies: 1
Views: 1462

Bounds checking

Most compilers for more powerful packages come with a bounds checking library you can link in when debugging. I'm currently casting a suspicions eye over some of my sprintx code..... I don't know of any other tool for the PIC or AVR that does it, but it'd be really nice to have. It'd also set MikroC...

Go to advanced search