hi everyone,
i use mplab x v3.30 and xc32 v1.40 PRO compiler for pic32mz2048ECH144 micro .
in my project program use is 52% and data use is 32% in 0 optimization .in this condition i can compile the project.
but when i change optimization 0 to 1 (or ot..
↧
xc32 compiler optimization bug (afdm_2020)
↧
XC32 complains that PORTE is undefined if I try to use pins 2, 3 or 4 - why? (sabia)
Hi I'm using a PIC32MX795L with compiler version 1.34 on a new board. As I start to initialise more and more pins, and getting them to do useful things I have run into an issue where the compiler complains that PORTE is undefined. This works fine (i.e. co..
↧
↧
Code Comparison in MPLABx 3.30 (btaylor147)
Just wondering how you enable the code comparison feature in MPLABx 3.30? Mine is grayed out. I have the newest XC32 compiler 1.40. I would like to see if buy the Pro version would be beneficial. Thanks,
Brandon..
↧
Work on FT800 LCD with PIC 32, MPLAB 8 and EVE software (CamilleK)
Hi everyone,I'm trying to load an JPEG image on my FT800 LCD but the function cmd_loadimage does not work.So, I wonder to know which commands can I use? Thanks..
↧
Compiler Error for preprocessor macro (Paba)
Hi everyone, I have a problem when compiling a project with a preprocessor macro and I don't know what I am doing wrong here. I'm woriking with MPLAB X IDE v3.30 and XC32 v1.40.I have defined a name for a port output in the header file like this: #define ..
↧
↧
xc32 V1.40 link on http://www.microchip.com/mplab/compilers points you to XC32 V1.42 (jtd330)
I just tried to download V1.40 today from the webpage, and I am downloading V1.42. Also, same for the part support patch file...
↧
XC32 V1.42 Legacy libc question (jg_ee)
I have been trying to test the "new" legacy libc standard libraries in XC32 v1.42. First of all, what is the correct documentation to use for the legacy libc libraries? Do they just share the same help files as the now obsolete "new" libraries? My project..
↧
I think I found a bug in the CAN register names (MarkoAnte)
Hi, I'm using PIC32MZ2048EFM144 and I'm setting up CAN1 in the datasheets (device nad section 34. CAN) the bit for CAN Stop in Idle bit is named SIDLE. When I tipe it into the compiler it underlines it but offers C1CONbits.SIDL as correct. I'm running MPL..
↧
MPLAB XC32 v1.42 Released (DevMod1)
MPLAB XC32 C Compiler v1.42 is now available for download here. This release includes: New Part Support Position-Independent Embedded Executables -- The XC32 toolchain now supports optionally building an application as a Position Independent Embedded Exec..
↧
↧
wish to program a 32mx250f128b (hopperisgreen)
I have programmed and used many an 8 bit pic with assembly and ICD3, but recent project require a 32 bit pic. I have been studying C for the purpose of doing this. I purchased the Microstick 2 and a book with several programs and have a fairly good concep..
↧
XC32 part support 1.42 (martinw7750)
Silly question time. I've installed XC32 V1.42 and assumed I also had to install the But it says it can't install over XC32 V1.42 Is all the part support already included in XC32? If yes, then why is there a seperate part support patch? Just interested to..
↧
Reading CPU registers from C? (realexander)
Hi, Is there a way to read the MIPS CPU registers (e.g. r31, also known as ra) from C?("Why do you want to do it" you ask? For debugging. My stack is getting corrupted, resulting in a zero getting popped into ra. I want to narrow down where it's happening..
↧
Detect License Type when Compiing? (James457)
Is it possible to determine the type of license (free, pro) when compiling, for instance using a predefined macro? I want to generate an error/warning in the compiler output if unexpected license type found. Thanks!..
↧
↧
All local variables "Out of scope" when optimisation set to 0 (austingeorge)
Hi all, I'm using MPLABX v3.10 and XC32 v1.40, and have an issue where I need to debug my program and watch a routine execute.If i turn off optimisations by setting gcc and g++ optimisations to 0, all variables that aren't in global scope are read as "Out..
↧
Looking for help disabling const casting warning (ksMTI)
Due to how the harmony graphic libraries are structured and memory constraints (I have to work from rom, not ram), I am getting multiple const casting warnings. I found the warning option in gcc manuals that turns this warning on: -Wcast-qual. If there is..
↧
USB + PIC32 + Harmony (Keval Soni)
MPLAB Harmony: http://www.microchip.com/forums/fb.ashx?m=938030..
↧
[XC32 1.42] undefined reference to `SoftReset' (mvollmer)
Hello, i've installed 1.42 now. Before i was using 1.40.When i try to use SoftReset() i get the error "undefined reference to `SoftReset'" did i miss something? I will use __pic32_software_reset() as replacement now...
↧
↧
XC32 Pro Compiler feature (vibemac.1)
Good morning,I've got a doubt about the: SW006023-SUB - MPLAB XC32 PRO Compiler Subscription LicenseSince I'm not English mother tongue probably I don't understand correctly the explanation.Basically if I purchase this license I can benefit the PRO versio..
↧
Preserving contents of floating point registers across function calls (bsgama)
I wrote an assembly function that uses a small table of double precision values as coefficients of a polynomial that needs to be evaluated. At the moment the 8 or so values are stored in the .data section of the source file and I have to load them in copr..
↧
XC32 optimizes vaiable used for register reading (swanandp)
I am facing a problem with XC32 compiler's optimization. Whenever I write a function to read something from register, XC32 optimizes (read: Removes) the variable which holds the return value.I have a wrapper function which reads a perticular pin of pertic..
↧