SGLIB Library, is it possible to use it with XC32? (kappuz)
Hello all, I am trying to use SGLIB () in a Harmony 1.06 project (XC32 v1.40). PIC32MX Ethernet Starter Kit. The library compiled and some macros run but I am getting strange results with one of the...
View ArticleHelp: _mon_putc, puts and fputs (realexander)
Hi, I would like to redirect stdin and stdout to my device. I've implemented _mon_getc, and it's getting called when I invoke fgets(stdin). I've implemented _mon_putc, and it's not getting called when...
View ArticleIs PIC32 Plib removed from the website? (qlb1234)
Two months ago I suggested that it should be .Today I jammed my head in the bathroom door and decided to make a user package of this to Arch Linux's repository and found that, well actually didn't find...
View ArticlemPORTBSetPinsDigitalOut() causes blow up (jvh)
Processor: PIC32MX695F512LClock: 24MHz The code below is a strip down of a project that stopped working. After executing the line mPORTBSetPinsDigitalOut( 0XFFFF);the PC goes to BC00000. Do you see any...
View ArticlePIC18f4550 section problem (KDN)
MPLINK 5.00, LINKERDevice Database Version 1.17 Copyright (c) 1998-2013 Microchip Technology Inc.Error - section '.idata_GSM.o' can not fit the section. Section '.idata_GSM.o' length=0x00000102Errors :...
View Articledefining array index pointers (kmoravec)
I am accustomed to working with 8-bit processors with limited memory. Now I find myself working with a PIC32 with lots of program space and lots of data space. In the past I always made the index of an...
View Article1.40 and part support patch (crosland)
I downloaded 1.40 and the latest 1.40 part support patch but the latter fails to install saying I cannot install 1.40 () over 1.40 (A). Why is Microchips software always so foxed up?..
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 Articleerror: initializer element is not constant (NKurzman)
XC32 V 1.40 I am getting "error: initializer element is not constant" for an initialized struct can't an initializer be a pointer to a different struct?sorry for the not actual example, it is a little...
View ArticleAN1388 USB-Bootloader configuration for PIC32MX250F128D (Wannavee)
Hi,Now I am working on USB-Bootloader on "PIC32MX250F128D". I am using AN1388's source code as a project prototype.At the begining, the AN1388 project was made for "PIC32MX795F512L". Instead of the...
View ArticleA Basic C Pointer question about init a pointer to an array of strings...
static const char *language_strings = {{"English","Spanish","French"}, {"Inglés","Español","Francés"}, {"Anglais","Espagnol","Français"}}; Solve for X if I have:#define MENU_OPTIONS_LANGUAGE_STRINGS...
View Articlepass by reference to a function (sebastien.decorme)
Hi,I need to pass a variable to a function and get it back after the variable is modified by the function.I've tried the reference way but I've some errorsin the .hvoid CAN_RX_running_phase(WORD...
View ArticleAny gotchas from v1.33 to v1.40? (domble)
Hi. Just installed xc32 v1.40 (and mplabx 3.10, and legacy plib for v1.40). A project that previously compiled (under XC32 v1.33) for a PIC32MX695F512H needed some changes to compile without warnings...
View ArticleLinker scripts? (flopez)
Hi,I'm beginning with MPLAB X and I got the following error when I use SYSTEMConfigPerformance() on my PIC32MX250F128D project. I have included plib.h and xc.h. nbproject/Makefile-impl.mk:39: recipe...
View ArticleHow to get details on data memory usage? (dlindbergh)
I want to see where my data memory (RAM) is going. When I look in the .map file produced by XC32 (v1.40), I see lots of detail re ROM (flash) usage - in the section that starts "kseg0 Program-Memory...
View Articlec - double value returned gets corrupted by 'litofp()' (Joe B.)
The following line of c code produces incorrect machine code?: double tmp;static char buffer;tmp = getNVMExtractionRate();sprintf(buffer, "%6.1f\n\r", tmp); disassembly: !double getNVMExtractionRate()...
View Articlecompile problem MRF24WB0MA (sebalitter)
Good Morning Im trying to compile TCPIP- Demo APP proyect from MLA libraries v2013-6-15.I get this error in MPLAB X v 3.1 and MPLAB X 2.35Compiler XC32 v1.4 and v1.34. couldn`t find "Compiler.h" I...
View ArticleWhy is XC32 Vers1.34 beta for PIC32MX270F256 (ubttom)
Hey forum,i use PIC32MX250F128 and PIC32MX270F256 in MPLABX 2.05 with XC32 1.34In MPLABX Select Toolchain if i select PIC32MX250 i get a green dot in the selected xc32 1.34 compiler.If i select...
View ArticlePIC32MZ, PIC32MX: package pins for PMP Master Mode 1 (MaccorFW)
According to the data sheets, the PMP Master Mode 1 uses a dual function RD/*WR pin and an enable pin, but which pins those are on the package is not clear.Does the PMRD pin of Master Mode 2 become the...
View ArticleSwitching between MPLAB 8 and MPLAB X, project not working (JPittenger)
I have a project that I made in MPLAB X v1.85 using XC1.20. It's a bootloader project, so there's the main bootloader program, and the loaded application. Everything has been working fine on the...
View Article