Search found 24 matches
- 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...
- 21 Oct 2016 01:12
- Forum: mikroC PRO for PIC General
- Topic: IDE bug and flash programming problem
- Replies: 4
- Views: 2392
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 ...
- 20 Oct 2016 04:04
- Forum: mikroC PRO for PIC General
- Topic: IDE bug and flash programming problem
- Replies: 4
- Views: 2392
Re: IDE bug and flash programming problem
So I make some progress by getting the address' correct
becomes
Now it works once. ie the config1 is programmed, then it hangs....
Hmm, maybe I need to do a page write after all..
PK
Code: Select all
writeWord(0x1FFFF0,0xA0,0xF6); //Config 1
Code: Select all
writeWord(0x1FFF0,0xA0,0xF6); //Config 1
Hmm, maybe I need to do a page write after all..
PK
- 20 Oct 2016 03:42
- Forum: mikroC PRO for PIC General
- Topic: IDE bug and flash programming problem
- Replies: 4
- Views: 2392
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 ...
- 28 May 2015 10:32
- Forum: mikroC PRO for PIC General
- Topic: mikroC for PIC version 6.6.0 released!
- Replies: 53
- Views: 18600
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
Please post rollback instructions.....
PK
- 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...
- 29 Jan 2014 10:43
- Forum: Development Boards
- Topic: Mikromedia (18FJ) bootloader corrupt?
- Replies: 4
- Views: 1782
Re: Mikromedia (18FJ) bootloader corrupt?
Sure, I'll give this a go in the morning. Thanksfilip 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.
PK
- 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 ...
- 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...
- 26 Sep 2013 04:36
- Forum: mikroPascal PRO for PIC General
- Topic: PPS pin-peripheral assignments??
- Replies: 38
- Views: 16843
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
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
- 25 Sep 2013 10:30
- Forum: mikroPascal PRO for PIC General
- Topic: PPS pin-peripheral assignments??
- Replies: 38
- Views: 16843
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...
- 25 Sep 2013 09:30
- Forum: mikroPascal PRO for PIC General
- Topic: PPS pin-peripheral assignments??
- Replies: 38
- Views: 16843
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...
- 30 Nov 2011 09:23
- Forum: mikroC PRO for PIC General
- Topic: New version of FAT16 library
- Replies: 13
- Views: 3259
Re: New version of FAT16 library
MikroC 5.3 (still using the new FAT16 library, not the legacy one) RAM: 3630 ROM: 46217pk7639 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
PK
- 27 Nov 2011 11:00
- Forum: mikroC PRO for PIC General
- Topic: SLOW Mmc_Fat_Read() in MikroC v5.20 compared to V4.10
- Replies: 4
- Views: 1716
Re: SLOW Mmc_Fat_Read() in MikroC v5.20 compared to V4.10
Anyone tried 5.3 yet?
PK
PK
- 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...