unrecognized option '--memorysummary' (d.)
I was using v1.34 in one of my 8 different projects. For one of them, I switched to v1.40. Then when going back to the previous projects I switched back to v1.34 due to conflicts with plib, etc. which...
View ArticleTrying to project with custom linker file, keep getting undefined reference...
Hi all, I am a little confused as to what happened to my project. I have a project that I compiled with a bootloader, which has worked in the past, but now when I build the project I keep getting...
View ArticleMPLAB X not picking up __PIC32MX__ predefined macro (tone_crafter)
I recently upgraded from MPLAB X v2.20 to v3.00. After installing the new version I uninstalled the previous version. Now in my projects that rely on the __PIC32MX__ predefined macro MPLABX is not...
View ArticleUSERID setting issue. (Doug Richard)
Hi.I can do this with no problem: #pragma config USERID = 0X1034 What I can't do is this: #define TEST_VAL 0X1034#pragma config USERID = TEST_VAL I get the following error:...
View ArticleCannot find include (jvh)
I copied a small project that had some i2c references in it. In the new project the compiler complained about I2C_MODULE. The old one did not and I had no reference to i2c.h there. So I try to include...
View ArticleXC32 manual eratta - "DRM" (dlindbergh)
The term "DRM" is used 3 times in the manual, but it's never defined. I think it means "RAM": Footnote 1 in 14.3.1: The end of data memory is different based on whether RAM functions exist. If RAM...
View ArticleOptimization ok in 256k but not in 128k (pirupic)
Hello everybody. I simple question. I have a program for the micro Pic32MX575F256H ( 256k program memory )when a compile it with all optimizations available on xc32 compiler the program memory used is...
View ArticleStack init and _stack (dlindbergh)
Are the 8 bytes at _stack used by the stack or not? I'm a little confused. The XC32 manual (DS50001686H) says "The Stack Pointer is always aligned on an 8-byte boundary." (section 12.6), and that it...
View ArticleCompiler generates infinite loop not in code (sitongia)
PIC32MX130F064BA while loop in main() waits for a countdown timer to expire. The timer is decremented in the timer interrupt. The timer reaches 0 but never exits the loop because the compiler adds an...
View ArticleCompiler Activation... (cgiordan)
I have a license for XC pro compiler. I DL'ed the batch file after putting in the host ID and license key, ran it, then my XC v.1.40 says that I am not activated. Note, I have v.1.31 installed...
View ArticleNo support for PIC32170F256B in 32-bit version of XC32 1.40? (jstanle1_home)
I've updated the XC32 compiler to 1.40 recently on machines running Win 8.1 (64-bit) and Win 7 (32-bit). On the 64-bit machine the compiler supports the PIC32170F258B part, but that doesn't work on the...
View ArticleI should buy XC32++? (DominusT)
Hi. Maybe it's a stupid question, but ... What is the purpose of XC32++? All libraries and examples are written in C. Is it possible that someday, MCHP migrate its examples to C++? Thanks..
View ArticlePIC32 core timer (jvh)
Processor: PIC32MX695F512L In some legacy code I have run across a reference to a core timer, apparently it had been used in the past to trigger an ADC. I looked in the timers section of the reference...
View ArticlePC: 0xBFC00000 (jvh)
My code has started blowing up and the PC is 0xBFC00000, which is guess is a reset vector because sometimes the program restarts awhile after it gets there. The call stack doesn't help only stating...
View ArticleMASTERs Conference - After-Hours MPLAB XC Compiler discussion (Thursday, Aug...
The Microchip Worldwide MASTERs Conference in Phoenix starts 19 August 2015. Like last year, we will be hosting an evening discussion regarding the 8-, 16-, and 32-bit compilers. Join the Microchip...
View ArticlePIC32 Timer1 not entering ISR (Gebus)
Hi All, I am a novice here so please forgive any breach of etiquette or shady code practice. I am trying to blink an LED using an ISR for no reason other than to learn to use the device. However, after...
View ArticleLegacy Peripheral Library bug: TX and RX Enable bits transposed in...
In spi_legacy.h, which is located at pic32-libs\include\lega-c\peripheral\legacy\spi_legacy.h pic32-libs\include\peripheral\legacy\spi_legacy.h pic32mx\include\lega-c\peripheral\legacy\spi_legacy.h...
View ArticleIssues with float when using atof or floor (boiler)
Hi all, since upgrading to XC32 (from C32) i have serious issues mixing float and double. For example float myFloat;myFLoat = 10.6;myFloat = floor( myFloat );result myFloat is 0 but should be 10 I...
View ArticleHow to find out when XC License HPA expires ? (saj)
Hi, I have just purchased the HPA for XC32. My original HPA will expire on 1 September 2015. I have installed the new HPA. Will this now expire on 1 September 2016 eventhough I have installed it before...
View Articletroubles with endian.h in interrupt routine (treuherz)
Hi I've been working my way through Lucio Di Jasio's 'Programming 32-bit Microcontrollers in C - Exploring the PIC 32'. Apart from some simulator issues my journey has been quite smooth so far.. Im now...
View Article