Error trying to use bit ANSB6 on PIC24FJ128GA202 when upgrading from XC 1.24...
In trying to upgrade to XC16 v1.25 I ran across a problem accessing the definition for ANSBbits.ANSB6. I could access this just fine in XC16 v1.24 but it was flagged as an error in compilation in XC16...
View ArticleLinker file - Copy memory section (dumont02)
Hi, Is it possible in a linker script to create a copy of a memory section to another memory section? For example, the interrupt vector table (ivt) for the pic24f I am using must be located at address...
View ArticleXC18 with MLA - Change original libs path folder (2X)
Hello,I am using a project and additional libraries from "Microchip Libraries for Applications". How can I copy a project from "Microchip Libraries for Applications" and to change the path from source...
View ArticleXC16 1.25 and RTCC library (lelsteph)
HelloXC 16 1.25 does not come with the peripherals libraries anymore, they must be downloaded separatetly which I did.Using the RTCC function, I noticed it is no more working. Selecting XC 1.22 works....
View ArticleTrying to declare extern __weak__ function pointers in an archive file (neworld)
very basic explanation of what is being attempted. I need a function pointer in a library be referenced in a main process using the library at run-time. Note: this is not the same as linking functions...
View ArticleXC16 - License has expired message... (terryopie)
I have the free license, always have. I had v1.23 installed with no issues. This morning I installed v1.25. Using that version I consistently get messages during the compile "License has expired"....
View ArticleXC-16 Structure initialize warning (craigjbradley)
When I compile code with initialized structures, i get a warning on the first initialization constant "braces needed". I have version 1.11. If I put braces around the constant, that does not help. Char...
View ArticleDSPIC33EP512 BLDC SVM Spike and Negative DC Current (yogesh_gudekar)
Dear All, We are working on BLDC 3 pole pair based application. We have implemented the SVM algorithm referring AN1017 application note on DSPIC33EP512 microcontroller. Overall the application is...
View ArticleEmbedding xc16 compiler in another application (Kyle Gregory)
I'm looking to embed my PIC project into another application that I will distribute to a handful of users so that the users can compile a .hex file without editing any C/C++ code. So I have two...
View ArticleMAP file: Pointer to be the address it is pointing to (instead of pointer...
When the map file is generated, is it possible that the memory address location can be made to be the address that the pointer is pointing to, rather than the address of the pointer itself ? For...
View ArticleWrong Program Memory Value in Dashboard (Volker)
Hi, i work with the PIC24FJ256GB210 and the Program Memory Value showed at the dashboard changed from 155FC words to 368F1 Bytes with the update from XC16 V 1.24 to 1.25.The Value with V 1.24 is...
View ArticleNot able to print unsigned int ,long,float , double datatypes. (Rakesh H)
Hi,I am using XC16 v1.25 and printf() is not working for almost all data types except char and signed int.I have referred lot of other threads and tried the solutions posted there, but it is not...
View ArticleXC16 1.25 | I2C Library add (jay_s)
I too am having a similar problem with my I2C application and moving to v1.25. I installed the P-Lib in my XC16 directory and I can see the subdirectories in there, yet I get compiler errors as if the...
View ArticleHow to store a string in flash at an absolute address?? (Maurizio Perego)
Hello,In firmware I'm developing I need to store some strings in flash at an absolute address, use it at the first start of the firmware and then delete it. I know how delete them at runtime but i dont...
View ArticleXC16 1.25 | I2C Library add (~Maddy~)
In my project I am using I2C Library and I have added#include Upto now I was using XC16 1.24 version and it was compiling good. But now after moving to version 1.25 it is giving me error that there is...
View ArticleC# PC Bootloader available (John Dekker)
I have been playing around with XC16 for the first time after using PIC18F devices for the long time for which I have written many support tools for my own use. I choose the dsPIC33FJ128MC802 for...
View ArticleTwo FIR Filters using One Set of Filter Coefficients (Bill EE)
Basically the problem is that I want to filter two streams of data using FIR Filters with the same filter coefficients. Each filter has its own FIRStruct and Delay Buffer. What I am getting is an...
View Article[Bootloader] Incorrect instruction set when running loaded application (Bikemat)
Hi, I am designing a Bootloader for dsPIC33EP512MU814 which is based on AN1094. The bootloader uses program memory from address 0x800 to 0xA1AE. I have a test program to load wich uses program memory...
View ArticleProblem Writing to external SRAM (winikul)
Hello I am using Development board for PIC24FJ256DA210. Trying to write External SRAM using EPMP .But could not write to it I ma attaching my code alongPleas let me know what is the reasonThanx in...
View ArticleIs there a pps.h in XC16 1.25? (kiril.dimitrov)
Hi,is there a pps.h header or similar header with macros for configuring the Peripheral Pin Select of PIC24FJ128GA204 in XC16 1.25. The pps.h header was available in the C30 compiler v3.31 e.g. under...
View Article