XC16 V1.24 code size (HJonker)
Hi guys, A colleague of me 'tested' version 1.24 and noticed that the ROM usage for the project increased. Not just a little bit, it grew from 54% (version 1.23) to 61%. RAM usage changed just a little...
View ArticleGrouping functions, linker. XC16, PIC 24 (jcvel)
Hi all:Is it possible to group functions to be located after certain address ?I haven't dug enough into the linker.Any help will be appreciated.ThanksJC..
View ArticleHi, (cagabit)
With XC16, 24FJ128GB206 and MPLABX 2.30Trying to use pointers for arrays, should access ram tables quickly but getting ; No source code lines were found at current PC 0x2d4 Briefly, defined as,UINT16...
View ArticleWhere is the documentation for the DSP libraries? (w1res)
I'm using XC16 version 1.22. If I open "C:\Program Files (x86)\Microchip\xc16\v1.22\docs\16-Bit_Language_Tools_Libraries_Manual.pdf", it says that the DSP library documentation should be inside of...
View ArticleGrouping functions, linker. XC16, PIC 24 (jcvel)
Hi all:Is it possible to group a set of functions that belong to a .c file instead of adding the __attribute__ to every single function within that file ?ThanksJC..
View ArticlePIC24FV32KA302: Getting timer1 to work with secondary oscillator? (RodoPIC)
Hi all, This is for MPLAB X v1.51 and XC16 v1.11 using the simulator I was trying to get the RTCC to work but I got so stuck I decided to first check if the external oscillator was working. So I set up...
View ArticleLink Error: reference to __npowers_ in doprnt_fFs.EPeo is not compatible with...
Hello, I had a project with a dsPIC33EP256GP502 working well until last year. However, since I updated mplab x and the compiler xc16 to the latest versions I'm having problems to build my project. On...
View ArticleIs the PIC24 / dsPIC33 family being phased out? (Tony_a)
I'm just wondering about Microchip's commitment to their 16bit MCUs, because it seems that issues which have been reported and acknowledged with XC16 never get fixed. Apart from new product support,...
View ArticleIndex (or TOC) for family documents (mark_k5xh)
If there an index or Table of Contents for the various family reference documents?I'm looking specifically for the one for a PIC24EP family. A Google search reveals bits and pieces.Seems like it should...
View ArticleQuestion about 24EP256GP206 and BOR (mark_k5xh)
I am working on a project using the 24EP part. This project has a super cap as part of the power supply that is capable of holding the supply up for about 20 to 30 seconds. But as the cap dies the uP...
View ArticleStructs, Unions, and Typedefs..... Potential issues .... (balmerjd)
Does anyone know if there is a limit to the "depth" or complexity of a struct, union, or typedef? I've looked around the few books I have and the manual for the XC16 compiler and nothing points to such...
View ArticleLinker allocation (jmartin)
I searched the forums, but couldn't find this topic. What is the easiest way to get a variable at the end of the automatically allocated data region. I can’t seem to find anything like this in the user...
View ArticleXC16 (Version: 1.21-Free), dsPIC33E - Code is not working after addition...
Hi All, We are working on Compiler XC16 (Version: 1.21-Free Edition) for Microcontroller: dsPIC33E since last 1 year. Suddenly since last week our code stops working for any addition. After removing...
View ArticleStrange Compiler outputs (dantech8)
I have this struct: typedef struct { unsigned short patternLength; PatternEvent events;} Pattern;--- snip ---Pattern currentPattern;--- snip ---Then I'm running this:currentPattern.patternLength = 64;...
View ArticleArrays - 2D (signalflow)
I have an array that is two-dimensional that would hold 10 names for example 16 characters each. I am doing something similar to this: char array_name;char user_input_text; strcpy(array_name,"Bill");...
View ArticleNoise Suppression microchip library: "non-enclosed address space" error...
Hi everybody,I'm trying to use one of the microchip library (is the Noise Suppression one, but I think that the problem could verify also with others) on a dsPIC33EP512GM604.To use this lib I had to...
View ArticleIVT redirection on dspic33EP256MC506 (mfarver)
We have sort of an unusual requirement. The device will have two distinct pieces of firmware loaded, an operational program and a diagnostic/service app. We have a bootloader that switches between the...
View ArticleOdd Linker Issue with PIC24FJ16MC102 (movax)
Hi all - Apologies if this should be in MPLAB X IDE sub-forum; I'm posting here because the error is being thrown by the XC16 linker. I used the MPLAB X GUI (2.30) to generate config bits for my MCU,...
View ArticleAssembly interrupt handlers in a C application? (mfarver)
Is there a way to have "all assembly" interrupt handlers in a C project? I created a .s file with the following: .global __T1Interrupt__T1Interrupt: btsc _appflag,0 goto 0x5000 + 0x30 goto 0x10000 +...
View Article24FJ128GB204 SPI Library (cinpezzo)
Hi all,I'm developing to use SPI Master on 24FJ128GB204 device with XC16 v1.24 compiler but I have some error bulding my project.I use "spi.h" and "spi.c" file included in 24F peripheral library but it...
View Article