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

Linker Script Problem!! (hsnmrt)

I receive the following error message when I add linkerscript to my running project. Is there any idea of this? (If the linkerscript is not present, the project is compiling normally.) make -f...

View Article


Power Reset when interrupt triggered (dpadam450_2)

This is old code that was working which I re-enabled and now doesnt work. I tested on 2 different PIC32MX chips and same bug. If I change the period of the timer, it will change the timing of when my...

View Article


Are there any C++ libraries available? (RodoPIC)

Hi all, A quick google search didn't show anything useful. It looks like Microchip has the compiler for C++ but nothing else. Are there any libraries available for C++? free or for sale ok. I'm looking...

View Article

multiply defined symbols (Mr.Mxyzptlk2620)

If you have a declaration of a variable in a header file, and this header file is included in several c files, the linker complains that there are multiply defined symbols. Right? This is basic...

View Article

Connecting SNMP-MIB-Variable to an actual Variable (Findas)

I am working on my first SNMP-Communication. I want to set a variable and make it readable via an OID (so a GET) I wrote both *.mib and compiled it via the mib2bib.jar but how do i connect these two?...

View Article


Syntax for declaring const in Boot flash? (DougD)

Can anyone tell me what the XC32 syntax is for declaring a "const" variable in Boot (not Program) flash memory? Paragraph 9.5 (Variables in Program Memory) on pg 161 of of the XC32 Compiler User's...

View Article

MPLAB XC32 v2.20 Released (DevMod1)

MPLAB XC32 v2.20 C-Compiler is now available for download here. The release provides the following: New Part Support -- This release introduces initial support for additional SAM Microcontrollers as...

View Article

xc32-ld and bin2hex problem (bastl)

I updated xc32 to v2.20 and now it doesn't find symbols defined with .equF.e: .equ reserved_3, 0b01101110111100000000111111110100and config_3: .word reseved_3 I get this from xc32-ld: test.o: In...

View Article


Re-initialization of CAN module during operation (Oliver)

Hi all, I'm working with PIC32MX and Microchip's CAN library. Almost everything works like expected, except re-initializing the CAN module during operation.Given the following scenario: 1) CAN module...

View Article


Compiling with the compiler version that is not supposed? (Nmaster88)

I have now 3 versions of the compiler installed. v1.4,2.1 and 2.15. In the properties of a project, on compiler toolchain i'm selecting the version 2.10.For some reason the project seems to compiler...

View Article

Compile in 2.10 but not 2.20 (onnimikki)

Am trying to compile a simple SAMD21 file using in both XC32 v2.10 and v2.20 on Windows 10 with MPLAB X 5.20. I reinstalled the whole thing yesterday after erasing all my previous MPLAB X, XC32 and XC8...

View Article

XC32 dont allocate heap memory (rangel)

Hi, Why "XC32" linker not allocate memory to heap ? Under project properties -> XC32 -> XC32-ld -> "Options for xc32-ld (v2.20) -> option categories: General -> Heap size (bytes) i...

View Article

Embedding a data file in memory during at compile time (dmccric)

Does anyone know how to include an external data/bin file into the generated hex file during compile time on a PIC32MX MCU? I am using XC32 and the PIC32MX795F512L and would like to include a text file...

View Article


C code DDR2 SDRAM check failure (cbeif)

Can someone tell me if I am doing something wrong,I am trying to get the internal 32MB SDRAM working on a PIC32MZ1025DAG169 chip.So I wanted to write test code to see if I can actually read and write...

View Article

How to apply xc32 part support patch? (kevinmiller)

Installed xc32 v2.2 and then tried to apply the part support patch (xc32-v2.20-part-support-windows-installer.exe) and got this error message: "You cannot install v2.20 () over 0.00 ()" The release...

View Article


Cannot modify DDRSCLSTART register in PIC32MZ1025DAG169? (cbeif)

I am trying to use the internal 32MB DDR SDRAM in the PIC32MZ DA When I try to set a bit in the DDRSCLSTART register, the watch windowin the debugger shows no change to the bit. What would prevent me...

View Article

[DELETE PLEASE][USB][PIC32MM0256GPM064] USB CDC example (LuisNascimento)

Hello, I have made a direct connection from the USB pins to the PIC32MM0256GPM064 and the MCC generated the CDC example, open a terminal to try to get a response but it doesn't work. Is there something...

View Article


Is it available for source codes of XC32 ver.2.20(the newest one)? (bron84)

Hello members,I use xc32 v2.20 now and looking for sources archives of this v2.20 one because there are some strange behaves in this ver. But I cannot find the ver. 2.20 sources, only for previous...

View Article

XC32 -G Option (GP Relative Addressing Threshold) Not Functional on PIC32MZ...

Hi Folks, After a good eight hours of investigation I have following to report regarding the -G option and XC32. I have tried XC32 v2.2, v2.1 and v1.43 all with the same result. My processor is...

View Article

Cannot install xc32 1.10 (skruegel1)

I'm running on Windows 10, and when I attempt installation, I get an error message: "C:/Documents and Settings/Application Data does not exist. Any ideas?..

View Article
Browsing all 1537 articles
Browse latest View live


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