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

Migrating to XC32 from C32 Compiler (cgiordan)

$
0
0
I am attempting to evaluate the XC32 compiler. While I have been using the C32 compiler v.2.x, I did not uninstall this compiler and installed the XC32 compiler side by side so to speak. Problem is when I go into the project configurations in

insert build image CRC as part of MPLAB.X's post build process (Lee22)

$
0
0
Hi, I would like to automatically generate a CRC of my build image and insert into a set memory location, during MPLAB.X's post build process. I have found posts on Microchip forums indicating HEXMATE is capable of doing this (e

USB stuck in POWERED_STATE (deutronium)

$
0
0
I can't for the life of me work out why the PIC32MX250F128B isn't going beyond the POWERED_STATE. I've setup the USB PLL correctly, to give 48MHz from my 16MHz crystal oscillator. I've attached the Vusb pin to the 5V pin of the U

compiler Problem : #error Unknown processor! (Feanor)

$
0
0
Hello everyone, I bought MPLAB ICD 3 with the IDE, with a PIC 18F4420. For try with a existing program, i open the project named "led_message" in C:\Program Files\Microchip\MPLAB C32 Suite\examples\c32_examples\led_message i am connected on th

the build of all my projects became faild at XC32 of ver.1.21 (ysaitoysaito)

$
0
0
Hi I have become not to be able to build all,maybe, my MPLAB X projects by changing from ver.1.20 XC32 Compiler to ver.1.21 XC32 Compiler. It seems that all error message are same. They includes corruption of text, e.

Optimization levels (microcoder)

$
0
0
Hello, I have just successfully licensed my XC32 pro and my first test was to evaluate code optimization. I am using XC32 v1.21 and the option legacy-libc, MPLABX 1.80, PIC32MX360F512L. For this test I don't have any custom linker script. This

Structs and pointers passing between functions Exception thrown (Jmkokott)

$
0
0
I declare a struct, but when I try to access the pointer to it in a different function, it throws an exception. I can't for the life of me figure out why; all this code works when compiled with gcc on my linux box. I feel like this is

XC32 Code Location (hala9k)

$
0
0
Hi all, I need a guru here. My board uses an 'MX695 and TCPIP 5.42. I'm using XC32 v1.20, and MPLAB8.90. I'm trying to add the ability for users to update code, and I think I'm in the home stretch. I can upload the hex file to spi flash and check it. I'v

C++11 Support (jdeguire)

$
0
0
GCC 4.5, which is what XC32 is based on, has preliminary support for C++11 (known as C++0x at the time). This can be enabled using the "-std=c++0x" or "-std=gnu++0x" option, depending on whether or not you want GNU extensions. Here's a nice a

XC32 v1.21 _PLIB_DISABLE_LEGACY and CloseOC1() (sebastian_held)

$
0
0
Hello, what are the correct replacement functions for OpenOC1() and CloseOC1(), if the _PLIB_DISABLE_LEGACY define is in use? Thanks, Sebastian

USB bootloader freeze (Mattmakas)

$
0
0
Hi guys, I've managed to get pic32mx564f128h compiling with boot loader by replicating AN1388. I can use the AN1388 PC application, connect to my pic32, and it even recognizes the firmware version number, so I assume the communication is

itoa() et al are wrong?! (majenko)

$
0
0
I'm working on a system to export a project from another IDE into MPLAB-X, and I have come across something rather worrying. While trying to compile the exported project in MPLAB-X it fails saying it can't find atoi (or not one with a matching prot

Why run with ICD3 but not standalone (mmgg_be)

$
0
0
Dear, I'm using the CDC and USB stack. My project (built with command "program device for debugging") works perfectly with ICD3, but when I try without ("make and program device"), it seems the interrupt routines are working w

MPLAB IDE v8.5 and XC32 (dspic30f6011a)

$
0
0
I'm using MPLAB IDE v8.5 with XC32 compiler..device is PIC32MX460F512L. I selected xc32 language tool suit but after compilation it shows following error i.e. Could not spawn language tool. Check command-line options. (2) ------------------

Undefined reference to "function" (default linker script) (kda406)

$
0
0
I am experiencing several "undefined reference to" issues regarding UART1 on a PIC32MX150F128D. It sounds like the problems described in this thread and [link=http://www.microchip.com/forums

I cannot program userid, what is wrong?? (gweb)

$
0
0
The first pragma is accepted, the second gives compile error #pragma config ICESEL = ICS_PGx1 // ICE/ICD Comm Channel Select: ICE pins shared with PGC1,PGD1 #pragma config USERID = 4711 I have checked the p32mx150

So you've found a compiler bug... (JasonK)

$
0
0
Help us out by reporting it! A good bug report will help us expedite a fix. Where should I send the bug report? Submit the bug report as a support ticket [http://www.microchip.com

DDPCONbits.JTAGEN (DUET)

$
0
0
DDPCONbits.JTAGEN = 0; // disable the JTAG port Hi I am newbie. I have questions about the above instruction line. What is JTAG port? Why does "disable the JTAG port" mean? Why should I disable JTAG port? Could someone please help me here?

not enough memory for stack (Niraj_Prompt)

$
0
0
Hi.. I have developed bootloader/application project in mplab8 two separate linker script. It's working properly. Now I have imported the same project in MPLABX1.60 with XC321.20. My bootlader project is compiled correctly but when I trie

extern bit declarations? (bartt)

$
0
0
I am porting some libraries that I wrote from MikroC to XC32 and have run into a bit of a problem that I haven't seen a solution for. I know the answer is probably a simple "why didn't I think of that" head slapper, but I cannot seem to sort this out..
Viewing all 1537 articles
Browse latest View live


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