Migrating from C32 to XC32 (boiler)
Hi all, i need to migrate my project to the new toolchain. I get a lot of linker errors: c:\program files...
View Articleincorrect result cbrt function (luckyluc)
Hi all, cbrt (cubic root) gives an unexpected result. double X; X = 16.0; X = cbrt(X); ===> Result in X is "INF"X = cbrt(16.0); ===>gives the correct result. Any idea. C32 and XC32 give same...
View ArticleInstall xc32 compiler in a headless/server system, possible? (christoffer)
HiI was going to set up the xc32 compiler in headless server/non-gui system but can't find any information about it on your website. Trying to run the installation binary just fails silently.Is it...
View ArticleHex file contains debug information (vanhorng)
When i use the MPLAB IPE to load a hex file into a target, I get the warning message that says, "The imported hex file contains debug information and has been cleared by MPLABX IPE." Is there a setting...
View ArticleXC32 Include paths problem (rehakmatej)
Hello, I'm working on TCP/IP Stack application and I have problem with Compiler.h file. In some files the Compiler.h is included correctly but in some other files Compiler.h is not included correctly...
View ArticleMPLAB XC32 v1.34 Released (DevMod1)
MPLAB XC32 C-Compiler v1.34 is now available for download here. This release provides the following: New part support Linker-Script Preprocessing Added support for fixed-point operations Please see the...
View Articlev1.34 - What's with _DISABLE_OPENADC10_CONFIGPORT_WARNING (aschen0866)
XC32 v1.34 - Getting this warning message:In file included from c:\program files (x86)\microchip\xc32\v1.34\bin\bin\../../lib/gcc/pic32mx/4.5.2/../../../../pic32mx/include/plib.h:49:0, from main.c:2:...
View Articlemeaning of section .eh_frame lma 0xa0000000 adjusted to 0xa0000008? (BDD)
Hi AllV1.21 do not have any problems when I compile with V1.31 I get thissection .eh_frame lma 0xa0000000 adjusted to 0xa0000008Why? and how can I remedy this?Note. I have a custom linker script and...
View Articleprintf adds extra 0x0d? (breinhold)
I send a string to stdout that ends in 0x0d 0x0a using printf("%s", str) where str is defined as uint8_t str; The string is sent, but there's an extra 0x0d sent: the output string is sent ending with...
View Article20Mhz System Clock / Single Microsecond Delay (karl_34)
Hello, I've looked through the forum threads regarding microsecond delay strategies for the PIC32MX, in particular the thread . This thread provided a delay function below that worked very close to a...
View Articleproblem with strlen() (phillhs)
Hi all I'm having a problem with strlen always returning 0. My program has a string buffer defined with char buff; in my program's main(). I'm reading into this a a string of characters from the serial...
View ArticleXC32 compiler cannot set out pin tdo, tdi such as digital in/out put (Cali1306)
Dear all,I want set TDO, TDI of PIC32MX340F512H such as digital input/output but not yet. i dont know why?My configuration are:#pragma config DEBUG = OFF // Background Debugger disabled --> OFF...
View ArticleProblem with STDIO (XC32) (Kopka)
Environment: MPLAB X IDE v2.20; PIC32MZ2048ECM100; xc32-gcc (v1.32) I see a curious effect in the STDIO functions. I am trying to implement the file functions. (fopen , fprinf, fclose and so on)...
View ArticleI2C Data Hold Time Too Fast (Sean Kitko)
Hi all, I am working on a project with a PIC32(MX270F256D) and another Microchip Part, a PAC1720 current sensor. I have repeatedly experienced a problem where my I2C bus locks up. With the PIC32 as the...
View ArticleCannot return main program from interrupt process (Cali1306)
Hi all,I have a problem with interrupt.I build a program include 3 interrupts: core-timmer, uart1 (enable rx), uart2 (enable rx). when a byte data received from uart1, i output a byte via uart2 is OK....
View ArticleUART RX Interrupt on PIC32MX795F512L (jvalerio)
Hello,I'm trying to get the receive end of UART1 interrupt to work properly, but it's getting triggered when I send a character over to the development board. Below is the code I'm using. void...
View Articlevolatile struct member and SPI driver development (future56k)
Hello everybody, I am developing a SPI driver that is working only in optimization level 0. When set to 1, a test to SPI1STAT.RBF will fail and loop forever. I am sure that I am failing to place the...
View ArticleDoes the 'persistent' keyword really preserve data across a power cycle....
According to page 204 of the XC32 compiler documentation (DS5000168G),Variables whose contents should be preserved over a Reset, or even power-off, should be qualified with the persistent attribute,...
View ArticleHow to remove the 'bin' folder from a PC's system path? (aschen0866)
I have quite a few of different versions of xc32, xc16 and xc8 installed on my computer and their 'bin' folders are all on my PC's system path. Is there a way to remove all of them from the path...
View ArticleCalculating CRC on Application and placing it at specific memory location...
I have a boot loader and application, and I want to make sure the application sections are good before the boot loader fires up the app. I plan on doing this with a 32 bit CRC stored at the lowest word...
View Article