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

Program space used? (cbeif)

$
0
0
How do I determine how much flash space I used after I compile.The old compiler used to report the program usage %Does XC32 do this?..

Compiler bug? Constant stored incorrectly (sitongia)

$
0
0
Program memory constant defined with these values: const unsigned int NVM_PROGRAM_PAGE __attribute__((space(prog),aligned(0x1000))) = {150,7,80,10}; 2nd location stored incorrectly in program memory: 0x00000096

0x00070050 <----- should be 0x000000..

PIC32 SPI not receiving (iulianvalentin)

$
0
0
Hey guys, I've managed to get my SPI working (only for transmitting) but had issues with getting it to receive, I tried every example on the net but to no avail, do you know a good and simple example for both transmitting and receiving, I'm using PIC32MX4..

MPLABX IDE with XC32 1.40 on PIC32MZEF gives "Out of Scope" message in viewing variables (Paul Bjork)

$
0
0
While debugging, after reaching a certain point in program memory inside a single function, variables with function scope suddenly cease to be visible with the watch window or by cursor hovering over the variable. The character string variables are declar..

All local variables "Out of scope" when optimisation set to 0 (austingeorge)

$
0
0
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..

modern scripting/interactive development language (micropython) on PIC32MZ (Zhe Hu)

$
0
0
In old days, things like FORTH provides interactive development on embedded system. Nowadays, capable MCU (ARM, STM32) runs Lua, Javascript, as well as micropython. Has anyone (including Microchip) got plan to port on of these languages to PIC32MZ MCUs? T..

MPLAB XC32 Assembly sbss external memory and fp (frame pointer) addressing (pwgregory)

$
0
0
I've noticed something strange when I declare a memory variable in the sbss section.If I load a register directly from memory in the same source file the variable is declared (lw a0,BssVariable) it correctly expands the instruction into a single byte comm..

C++ 11 (AnEngineerWithAPlan)

$
0
0
When will XC32 support C++ 11 or 14 (including libraries)?..

XC32 V1.42 Does not recognize EBICS1 (egcasira)

$
0
0
I'm developing a project using LCC graphics. Everything works fine with XC32 V1.40, but if I try to use V 1.42 the compiler complains about a number of undefined registers related to EBI interface.Anyone with same results?..

Checking address range for validity (TomSci)

$
0
0
I have a function to check address ranges for validity. I've used simple #defines up to now, but I'd like to get the actual addresses of RAM and ROM start and end from the linker, to make the checks more accurate. I've gotten to the point where I've en..

PIC32 Flash Programming XC32 Example (garypty)

$
0
0
I am programming with the PIC32MM0064 MCU with MPLAX X, XC32 compiler and Code Generator.I would like to use the internal flash memory to store some data so it would not be lost in between power cycle. I found a post discussing about the same issue here: ..

Replacing startup code for C++: need crtbegin and crtend (realexander)

$
0
0
Hi,I'm trying to make a custom crt0.S file. I started by copying Microchip's version to my directory, adding it to my project, and telling the linker not to include the default startup code. My code starts and runs. The twist is that I'm using C++ and the..

pin array (DECORME Sébastien)

$
0
0
Hi,On the forum I haven't found a solution so,I would like to know if there is a solution to create a pin array.I need to address 8 pins but not all time in the same order.I've made an array containing the pointer to the pin array, so like this in a loop ..

Example files not available for download (Vladimir Milosavljevic)

$
0
0
Example files can not be downloadedat: http://microchip.wikidot.com/harmony:middleware-tcpip-training I tried also to register but no success.Can anybody give source where to download these files? Thanks..

Can't find registers for USB module in XC32 v.1.40 (yak_anton)

$
0
0
Hi everyone!I start developing custom firmware for USB module for PIC32MZ1024ECM. Сontrol registers of the USB module contains in its composition registers USBIE0CSR0, USBIE0CSR2, USBIE0CSR3 (sect 51.3 of the Reference manual - "Hi-Speed USB with On-The-G..

Calculation to return "float" got incorrect value (typoon)

$
0
0
I have and function which is to calculate a temperature from a table of ADC value. The declaration is:float find_temp_from_adc(const unsigned int *table, unsigned int table_size, signed int off_set,
unsigned char step, unsigned int value ); And ins..

How to allocate address for string typed data in a program memory (flash)? (afaideen)

$
0
0
Hi Microchip,I hv following initialization and declaration which actually can be found in system_init.c. My intention is to allocate the word "ENCX24J600" to my reserved space at address 0x9d000000. The problem when I verified the program memory, the said..

Link interrupt from static library with XC32 (mathieu.couette)

$
0
0
Hi, I am having issues while compiling a project with static library projects. I am working on a PIC32MZ0512EFF064 with MPLAB 3.40, Harmony 1.08.01 and XC32 1.40.I have needs that enforce me to create a new main project different from the one generated by..

PIC32MZ2048EFH144 Graphics and Legacy MLA Questions (laffelt)

$
0
0
I have a new design which is using the PIC32MZ2048EFH144 and an Epson graphics controller chip to drive a 7" LCD display. I need to stay in the MLA 2013_06_15 graphics tools and not migrate to Harmony as I have several custom widgets designed in this libr..

Example files not available for download (Vladimir Milosavljevic)

$
0
0
MPLAB Harmony: http://www.microchip.com/forums/fb.ashx?m=952232..
Viewing all 1537 articles
Browse latest View live


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