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

Extracting the data from the FFT (Pete F)

My setup is: MCLAB X IDE v5.10 XC32 (v2.15) Harmony 2.06 Demo Kit DM320010 PIC32MZ Embedded Graphics with Stacked DRAM (DA) Starter Kit PIC32MX2064DAG169 I need to extract the data from the FFT array.I...

View Article


xc32-as: assembler namespace requirement for include files and global access...

I recognized that there is a real big problem with labels in this assembler:There is no namespace functionality in xc32-as.At the moment, if this is true, xc32-as is nearly unusable.If you have hundred...

View Article


Fill const struct with 0xFFFFFFFF (jtzeng)

How can I setup a const struct and have if filled with 0xFFFFFFFF or leave the erased value.I will test the structure and use flash driver write to fill it in under program control.Thanks...

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

I2C Wierdness - 9th clock missing but only sometimes (Neil Peers)

I have a routine for writing a byte using the I2C module on a PIC32MM to a UCS81003 device.It writes to the appropriate registers to start the process and looks for the appropriate bits to tell me when...

View Article


memcpy() alignment bug (BasePointer)

Hi, We have a project that use PIC32MZ0512EFE100 with XC32 v2.15.Following code doesn't copy the first 4 bytes of m_LCD_BUFF. (Compiled with -Os option) static uint8_t m_LCD_BUFF;// it misses the first...

View Article

xc32 persistent area not retained after software reset (ploit)

Hello all, I have been battling with the persistent attribute for 2 days now and I just cannot make it work. I am using xc32 v.2.10 compiler with the PIC32MZ0512EFF064. Even an example as simple as...

View Article

basic_freertos.x.production. does not exist or is not an executable (Pete F)

My setup is: MCLAB X IDE v5.10 XC32 (v2.15) Harmony 2.06 Demo Kit DM320010 PIC32MZ Embedded Graphics with Stacked DRAM (DA) Starter Kit PIC32MX2064DAG169I am programming using a PICKit4 I have attached...

View Article


XC32 headless install (ethanm)

I wish to make mplab projects on a headless server, but cannot find any way to install xc32 without a GUI. This suggests that --mode text might work, but does not work for me. It is a very old post. I...

View Article


PIC32MM and FreeRTOS Unrecognized Opcode (Liem Dung Phan)

My IDE: MPLAB X IDE v5.15 XC32 v2.15 MCC v3.75I port FreeRTOS v10.2.0 to run on PIC32MM0256GPM048. And I'm faced with an issue in clock library of MCC. My project will only be built successfully if I...

View Article

Modified mhc file thru Harmony but system_config.h does not change. (Pete F)

My setup is: MCLAB X IDE v5.10 XC32 (v2.15) Harmony 2.06 Custom version of Demo Kit DM320010 PIC32MZ Embedded Graphics with Stacked DRAM (DA) Starter Kit PIC32MX2064DAG169 I changed some pin settings...

View Article

SYS_TMR_TickCountGet never increments. (Pete F)

My setup is: MCLAB X IDE v5.10 XC32 (v2.15) Harmony 2.06 A board based on: Demo Kit DM320010 PIC32MZ Embedded Graphics with Stacked DRAM (DA) Starter KitPIC32MX2064DAG169 I have a program that uses...

View Article

How to port C32 PIC32MX MCU code into XC32 compiler? (cjchiragcool90)

I am porting my source code from C32 compiler to XC32 compiler. My code is compiled and running perfect with C32 compiler for PIC32MX120F032B MCU. Now I want to port my source code from C32 to XC32...

View Article


XC32 backwards compatibility (lpelj)

So my company has a project using PIC32MX795F512L that we developed in 2014 using XC32 version 1.33 and MPLAB-X IDE version 2.10. Subsequent attempts to update our tools to the newest compiler and IDE...

View Article

Strange compiler error changing from 2.05 to 2.15 (JohnPIA)

Hi all, Building my PIC32MZ2048EFM144 project with XC 2.05 doesn't give any error or warnings.Just installed 2.15 and did a try-out with it, but it gives a strange ISR vector error: In function...

View Article


pic32mx NVM question... (KamPutty)

Hi all, Hope all is well with you and yours. I have a fast question regarding the NVM support in the pic32MX795 chip I can allocate and persist the data in the following 2 addressed USER_1_ADDRESS =...

View Article

error: 'move' is not a member of 'std' (Memen)

Does xc32 support std::move? Tested the following (minimal) code but xc32 gives an error: 'move' is not a member of 'std' #include #include #include #include #include std::queue

View Article


Struct size issue. (eng_daniel)

Hello, I've been porting the tcp / ip library with the ENC26J60 to the Curiosity development platform with PIC32MM of a version for eight bits microcontrollers ... and I found the following...

View Article

gcc for AVR32 ? (Brane313)

Since after the MC/Atmel merger there are no right forums for AVR stuff, I am posting this here as it's closest to the matter.I am set to configure a bunch of crosscompilers for most frequent...

View Article

Strange Harmony TCP/IP Example. According to C this would give undesirable...

This might already have been discussed earlier, but I have no idea what to search for. In the Harmony tcp/ip examples about clients we can find the following (I have no idea if other examples use this...

View Article
Browsing all 1537 articles
Browse latest View live


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