Array too large - GFXDisplayBuffer[GFX_DISPLAY_PIXEL_COUNT] (Al.THz)
Hello all, Specs:MPLABX IDE v2.15XC16 v1.24 CompilierPIC24FJ256DA210 Dev BoardTFT_G240320LTSW LCD w/Touch Experience:I have compiled and run the demo projects from microchip successfully, I have also...
View ArticlePIC24EP512GU810 stack overflow at 50% RAM usage (MRG)
Hi, I have been working on a project which requires a relatively large number of libraries. The fileio stack has been put to use and been working reliably all through development, but when we came to...
View ArticlePIC24F_periph_features.h missing definition for PIC24FJ128GB202 (Ben Crundwell)
I'm using a PIC24FJ128GB202 in a new design and am having trouble using the peripheral libraries as the PIC24FJ128GB202 is not listed in the PIC24F_periph_features.h file. Is there an updated version...
View ArticleXC16 stack size problem (eAgle_)
Hi,I'm using XC16 compiler for the first time. I need to program dsPIC33EP256MU806 and i've integrated OS in it. My current situation is when OS start working MCU is getting reset but working normally...
View ArticleQuery regarding the Q15 and Q16 math operator (melrose.sean)
Hi I am getting the error 424: undefined reference to `__Q15sqrt' and I have #include short int DC_BUS_A; short int x;DC_BUS_A = _Q15sqrt( x ); what am I doing wrong..
View Articlesmps_control.h undefined reference issue (Derek Belle)
Hi all, I am using a dspic33EV256GM106 and am trying to use the new smps_control library that was just released. I have followed the instructions in the documentation but I still can not get the...
View ArticleInstalling xc16 compiler on linux mint (EI24)
Hi, i'm trying to install the xc16 compiler for mplabx on linux mint 17.1. I have followed this guide, , and successfully installed the xc8 and xc32 compilers. However when i try to install the xc16...
View ArticleMPLABX and PIC24 assembly (EI24)
Hi, i have ordered two PIC chips, PIC24FJ256DA206 and DSPIC33EP512GM706. I want to program them in assembly, however when i come to the 6th step in creating a new project(mplabx 3.0), there is no...
View Articlemissing TRISC13 and TRISC14 (wreeve)
Using XC16 2.24, PIC24FJ64GA310 TRISCbits.TRISC13 and TRISCbits.TRISC14 don't seem to exist....the LATCbits.LAT13 and 14 are fine. Is is something I am doing; or a hardware issue I've not spotted....
View ArticleNoise Suppressioin Library and XC16 (Bill_EE)
I am trying to build an application with the Noise Suppression Library on a dsPIC33EP512MU810 using MPLABX and XC16. I get the code to compile but the output of sounds like a pair of hair clippers. If...
View ArticleXC16 activation (GoEk)
Hi,just about to start developing for PIC for the first time and have the XC16 Standard compiler with RealICE. Regarding activation, I hate computer locked copy protection. If I recall correctly, XC16...
View ArticleRETFIE use (rgy74)
In the MPLAB XC16 C compiler users guide in section 14.3.1 it states: "An ISR uses the return from interrupt (RETFIE) instruction to exit from the function rather than the normal RETURN instruction....
View ArticlePIC24FJ128GB202 - XC16 - UART issue (dimitris_c)
Hi all, I am trying to import a project from PIC24FJ256GB106 to the PIC24FJ128GB202 (XC16 compiler), and I have a problem with the UART. First, _PIC24FJ128GB202 was not included in the...
View ArticleLink Error: Could not allocate data memory (with MPLAB X IDE v2.30)...
Hi All, I ran my code fine with 22% data memory and 29% program memory usage. However, the error message for data memory showed up after I added ~160 bytes more of data memory as the highlighted line...
View ArticleMPLAB X IDE v2.30-Pickit3 (sachammm)
Hello everyone! I have some kind of trouble with my MPLABX! When I try to launch a project, it tells me " The programmer could not be started: Could not acquire hardware tool communications resources:...
View ArticleC "__LINE__" macro problem with XC16 and MPLAB X (milanqingren@outlook.com)
Hi, I am trying to use one of C macros "__LINE__" to retrieve the line number of the code. It worked so that the line number of the code can be retrieved successfully with "__LINE__" macro. But, the...
View ArticleLinker error in dspic33ep512mu810 bootloader code. (Manjunath N N)
HI All,I am trying to put button to my visi genie display because in my custom board i do not have button. If i want to go to bootloader mode i need a button, so i added some code to existing...
View ArticleAssembler visibility (Gort2015)
Hi How can I make an assembler function visible to the library that it is in but not global. In C__attribute__ ((visibility ("internal")) long add(int a, int b){etc...} GCC specifies .hidden but not on...
View ArticleHow to create byte pointer from 16 bit typecast byte variable (Neiwiertz)
HelloI am struggle to create an byte pointer to be passed to a function; which assume(s) the byte pointer points to a 16 bit wide data object, when use a word variable to be the data object all is fine...
View ArticleStrange __delay32 problems in XC16 V1.24 (Mac) (Juggle4Evr)
Hi everybody, I have a strange effect using the __delay32() function with a DSPIC33FJ128GP804.I just let a LED blink and use the __delay32 function for the delay. The strange thing is: for some delay...
View Article