Search found 23 matches

by electrogera
20 May 2017 23:09
Forum: mikroC PRO for PIC Beta Testing
Topic: CRC16 functions
Replies: 5
Views: 5363

Re: CRC16 functions

I am extremely thankful for your code "cgengineer", I have been suffering for the last 4 weeks trying to learn how CRC works and how to implement this function it on one of my hobby projects, but you really save me, thank you very much..
by electrogera
10 May 2013 18:41
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: Mikroprog Debugging - Direct register Writing without effect
Replies: 1
Views: 1173

Mikroprog Debugging - Direct register Writing without effect

I'm debugging a project where I use mikroprog with the micro PIC18F46K22, but I have this rare problem where I pause my debugging to directly write a value on one of my variables, the values doesn't change, I pause the program, change the value manually, it seems to change but I run my program then ...
by electrogera
18 Sep 2012 15:12
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: dsPIC30F3013 Interrupt 2 problem using mikroProg
Replies: 3
Views: 1777

Re: dsPIC30F3013 Interrupt 2 problem using mikroProg

I found the problem, I don't understand exactly but it solved the problem. The problem was that I am using a 10Mhz cristal, and I want to run my system at 80Mhz, but on the "Edit Project - Oscillator" setting I had selected "FRC w/PLL 8X" instead of "XT w/PLL 8x". I found out because when I was movi...
by electrogera
17 Sep 2012 15:40
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: dsPIC30F3013 Interrupt 2 problem using mikroProg
Replies: 3
Views: 1777

Re: dsPIC30F3013 Interrupt 2 problem using mikroProg

Hello p.erasmus, Thank your for taking the time to reply about my problem with this intrerrupt. The same is what I tought about my PCB board, that is why I also connected just the dsPIC30F3013 chip into a separate proto board just to evaluate the INT2 without my PCB board (picture attached). The har...
by electrogera
15 Sep 2012 02:29
Forum: mikroC PRO for dsPIC30/33 and PIC24 General
Topic: dsPIC30F3013 Interrupt 2 problem using mikroProg
Replies: 3
Views: 1777

dsPIC30F3013 Interrupt 2 problem using mikroProg

Hello, I wonder is somebody had face the same or similar problem with the external interrupt 2 using dsPIC30F3013. I have been programing for a month on a project, and for the first stage of the project (prototype) I used the developing board EASYdsPIC6, I made all the hardware externally and using ...
by electrogera
27 Sep 2011 02:53
Forum: Development Boards
Topic: MikroProg with 18f26k22 doesn't work, but 18f2420 works fine
Replies: 1
Views: 1418

MikroProg with 18f26k22 doesn't work, but 18f2420 works fine

Hello, I just got the mikroprog programer and I'm trying to read o program a PIC18F26K22 but the software mikroProg shows the error "[Lv18PICFLASH prog] Not detected!" and it gets stock every time. I tried different microcontrollers on the same board like mi original PIC18F2420 and it works fine, so...
by electrogera
20 Sep 2011 00:38
Forum: mikroC General
Topic: PICflash2 ICD doesn't work with PIC18F26K22
Replies: 5
Views: 3231

Re: PICflash2 ICD doesn't work with PIC18F26K22

Hi,

I saw the new programmer MikroProg, it will work perfect for me. I will order it today because I really need to be able to debug step by step with PIC18F26K22.
by electrogera
27 Apr 2011 00:29
Forum: mikroC General
Topic: PICflash2 ICD doesn't work with PIC18F26K22
Replies: 5
Views: 3231

Re: PICflash2 ICD doesn't work with PIC18F26K22

Is it almost ready this new programmer? I need and extra programmer. PICFlash doesn't program PIC18F26K26 or all PIC18FXXK22 and according with the last post the new universal programmer should be release in these days.

Pending for your answer, Thanks
by electrogera
17 Mar 2011 18:23
Forum: mikroC General
Topic: PICflash2 ICD doesn't work with PIC18F26K22
Replies: 5
Views: 3231

Re: PICflash2 ICD doesn't work with PIC18F26K22

PIC18F26K26 is not a Low Voltage type, in fact the spec is Full 5.5V Operation – PIC18FXXK22 devices. ICD2 from Microchip works but it needs a Vpp Voltage Limiter on the output cable in order to limit the programing voltage entering into MCLR, from 12V to 8.4V. Microchip sells an extra board (AC1641...
by electrogera
17 Mar 2011 00:23
Forum: mikroC General
Topic: PICflash2 ICD doesn't work with PIC18F26K22
Replies: 5
Views: 3231

PICflash2 ICD doesn't work with PIC18F26K22

I'm programming a PIC18F26K22 with MikroC Pro but I had the surprise than PICflash2 ICD doesn't work with PIC18F26K22!!!! so just for the moment I'm compiling the program with MikroC Pro, but loading the hex file with MPLAB software and ICD2 hardware, but this solution doesn't let me run my program ...
by electrogera
24 Oct 2009 01:40
Forum: mikroC General
Topic: Debuging problem with Variables at Watch windos
Replies: 1
Views: 1299

Debuging problem with Variables at Watch windos

Hello: I'm programing a PIC18F4550 using EasyPIC5 and I just want to run step by step the program to analize some counters. when I use "ICD debug" & "mikroICD Debuger", the information in variables showed at the watch window is totally wrong. The program runs fine but the information is incorrect. I...
by electrogera
06 Mar 2009 19:32
Forum: mikroC General
Topic: ICD debug problem with TMR0 and Interrupt PIC18F4550
Replies: 7
Views: 3799

MikroC is an excellent software, especially for the price. I don't know how it works internally the C language and maybe is not possible to do it, but I think step by step debugging for timers could be and excellent future. I have some projects made in assembler language and I can debug step by step...
by electrogera
27 Feb 2009 17:04
Forum: mikroC General
Topic: ICD debug problem with TMR0 and Interrupt PIC18F4550
Replies: 7
Views: 3799

Hello goran.marinkovic: The code that I posted is just and example of a very simple program. My current project have many lines of code the where TMR0 activation flag is just initialized one time before the while function. I tried some many different options, even using two different microcontroller...
by electrogera
27 Feb 2009 16:52
Forum: mikroC General
Topic: ICD debug problem with TMR0 and Interrupt PIC18F4550
Replies: 7
Views: 3799

waaahhooo!!! that is to bad!!!! I noticed when I run the debugger with F6 the timers works okay, but step by step is a caos!!! I have a project where I have activated TMR0 all the time to generate interrupts, and when I want just to step and other part of the software like the "main part", the inter...
by electrogera
27 Feb 2009 06:20
Forum: mikroC General
Topic: ICD debug problem with TMR0 and Interrupt PIC18F4550
Replies: 7
Views: 3799

ICD debug problem with TMR0 and Interrupt PIC18F4550

Hello everybody. I'm trying to debug with "ICD debug" step a step using EasyPic5 a very simple program trying to set the TMR0 like 16 bit counter and when this timer overpass 0xFFFF generate an Interrupt. The problem that I see is when I press F7 and a single instruction happens, TMR0L and TMR0H mov...

Go to advanced search