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

Program space used? (cbeif)

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?..

View Article


Compiler bug? Constant stored incorrectly (sitongia)

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:...

View Article


PIC32 SPI not receiving (iulianvalentin)

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

View Article

MPLABX IDE with XC32 1.40 on PIC32MZEF gives "Out of Scope" message in...

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

View Article

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

View Article


modern scripting/interactive development language (micropython) on PIC32MZ...

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

View Article

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

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

View Article

C++ 11 (AnEngineerWithAPlan)

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

View Article


XC32 V1.42 Does not recognize EBICS1 (egcasira)

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

View Article


Checking address range for validity (TomSci)

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

View Article

PIC32 Flash Programming XC32 Example (garypty)

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

View Article

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

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

View Article

pin array (DECORME Sébastien)

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

View Article


Example files not available for download (Vladimir Milosavljevic)

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?...

View Article

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

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

View Article


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

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,...

View Article

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

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

View Article


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

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

View Article

PIC32MZ2048EFH144 Graphics and Legacy MLA Questions (laffelt)

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

View Article

Example files not available for download (Vladimir Milosavljevic)

MPLAB Harmony: http://www.microchip.com/forums/fb.ashx?m=952232..

View Article
Browsing all 1537 articles
Browse latest View live


Latest Images

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