Quantcast
Channel: MPLAB XC32
Browsing all 1537 articles
Browse latest View live
↧

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 Article


Help: _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 Article


Is 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 Article

mPORTBSetPinsDigitalOut() 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 Article

PIC18f4550 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 Article


defining 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 Article

1.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 Article

No 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 Article


error: 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 Article


AN1388 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 Article

A 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 Article

pass 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 Article

Any 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 Article


Linker 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 Article

How 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 Article


c - 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 Article

compile 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 Article


Why 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 Article

PIC32MZ, 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 Article

Switching 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
Browsing all 1537 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>