Search found 9 matches

by canipus
17 Jun 2014 18:51
Forum: Library Development Discussion
Topic: DAC library for dsPIC33F built-in 16-bit oversampling DAC
Replies: 3
Views: 3832

DAC library for dsPIC33F built-in 16-bit oversampling DAC

Are you developing a DAC library for those dsPIC33 chips that have built-in 16 bit DACs?
by canipus
04 May 2014 06:02
Forum: mikroBasic PRO for dsPIC30/33 and PIC24 General
Topic: No source code lines were found at current PC 0x0
Replies: 1
Views: 3306

Re: No source code lines were found at current PC 0x0

Well after more testing with another compiler I'm also getting the same problems with these hex files as well so it must be something to do with the MPLABX installation.
Has any one seen this before with MPLABX?
by canipus
04 May 2014 05:23
Forum: mikroBasic PRO for dsPIC30/33 and PIC24 General
Topic: No source code lines were found at current PC 0x0
Replies: 1
Views: 3306

No source code lines were found at current PC 0x0

Every single hex file from the MicroBasic dsPIC samples folder when loaded into the latest MPLABX v2.1 IDE software simulator gives the following error: Launching Initializing simulator No source code lines were found at current PC 0x0 User program stopped It doesn't matter which example I load the ...
by canipus
03 May 2014 18:35
Forum: mikroBasic PRO for dsPIC30/33 and PIC24 General
Topic: Warning: Source size (32) does not match destination size (1
Replies: 4
Views: 2363

Re: Warning: Source size (32) does not match destination siz

Peter, The file I am compiling is yours. It is the standard FIR example file that gets installed with the latest version of mikrobasic for dsPIC installed at: \Program Files\Mikroelektronika\mikroBasic PRO for dsPIC\Examples\Digital Signal Processing\FIR\FirFilter.mbpds So you already have all these...
by canipus
03 May 2014 07:45
Forum: mikroBasic PRO for dsPIC30/33 and PIC24 General
Topic: Warning: Source size (32) does not match destination size (1
Replies: 4
Views: 2363

Warning: Source size (32) does not match destination size (1

Can someone please explain the meaning of the following warning in the compilation report window? No. 1516 - Warning: Source size (32) does not match destination size (1024) I can guess it is based on the buffer size '32' declared as a constant at the beginning of the code but I don't understand wha...
by canipus
30 Apr 2014 16:17
Forum: mikroBasic PRO for dsPIC30/33 and PIC24 General
Topic: dsPIC Filter Design Tool - numerous syntax errors in code???
Replies: 3
Views: 2732

Re: dsPIC Filter Design Tool - numerous syntax errors in cod

Many thanks for the explanation Marina and also for providing code with adjusted registers. I will check the ADC & Interrupts section and make the necessary adjustments. I think what I found confusing is that I was looking for syntax errors because the compiler parser used the word SYNTAX. It would ...
by canipus
30 Apr 2014 06:40
Forum: mikroBasic PRO for dsPIC30/33 and PIC24 General
Topic: dsPIC Filter Design Tool - numerous syntax errors in code???
Replies: 3
Views: 2732

dsPIC Filter Design Tool - numerous syntax errors in code???

I can't believe how many syntax error are being thrown out by the mikroBasic Pro dsPIC v4.60 Filter Designer Tool code script. The following 11 lines of code have syntax errors. I comment the first one out and then do a rebuild only to find the compiler stops at another one. It goes on and on. The f...
by canipus
10 Apr 2013 17:06
Forum: mikroC PRO for PIC General
Topic: Is this valid mikroC code to do a jump and end program?
Replies: 2
Views: 1374

Re: Is this valid mikroC code to do a jump and end program?

Thanks for the reply Janit. I was under the impression that the chip would only reboot if the watchdog timer was implemented. In my case I'm not using the wdt in fact I don't want it implemented. This is a USB security dongle and I don't want the chip to self reboot. I physically want to end the pro...
by canipus
09 Apr 2013 23:30
Forum: mikroC PRO for PIC General
Topic: Is this valid mikroC code to do a jump and end program?
Replies: 2
Views: 1374

Is this valid mikroC code to do a jump and end program?

I have a need to test a condition for specific user data entry and if true I need to do a jump to the end of the program so that the user is forced to do a reset/power re-start of the device. IOW I need the program to exit prematurely. Being a novice programmer in C I'm not sure how to accomplish th...

Go to advanced search