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

Using Microchip Copyrighted Struct/enums in PC library (hadleyrobotics)

There are structs and enums in the serial and CAN header files from the PIC32MX XC32 legacy library that I'd like to use in a closed source commercial Ethernet library (although this header file which...

View Article


Reading data to dynamic allocated table by FATFS (adi1525)

Hello, I want to write bitmap by the F_read to the table with dynamic allocated array but it's dosen't work. The program stop in function f_read(&file,&bitmapImage,Bi.biSizeImage,&size) and...

View Article


how to change CAN pins in pic32mx775f512l (Cha1312)

hello all, Previously i have used pic32mx5xx series controller in that we can assign 49 and 50th pins for CAN. But now I am using pic32mx7xx series in this they are pre-defined CAN pins. Now can we...

View Article

PIC microcontroller getting hot (Cha1312)

Hello all, I am using pic32mx550f256l microcontroller in my project. I have tested the board with led blinking code. It is working properly even if it is hot. The controller is getting hot it is...

View Article

Disassembly view wrong for PIC32MM- MicroMips (cvm)

MPLABX 4.05, XC32 1.44, PIC32MM0256GPM064 (usb curiosity board)Window-Debugging-Output-Dissasembly Listing File 106: int main(){9D00057C 4FE5 ADDIU SP, SP, -569D00057E 233DD010 SWM S0-S7, S8, RA,...

View Article


low pass filter with a dt notion (ffb.boy.30)

Hi,On my previous code I add a main loop locked at 1ms ,so it was easy to make a filter like this: 0 < Frequency < 1Output = LastInput - (Frequency * (LastInput - Input));LastInput = Output; but...

View Article

License expired message (skruegel1)

I bought a subscription license, then didn't need it anymore. Now whenever I build with the free version, I get dozens of messages like this one:Subscription License has not been renewed - activation...

View Article

Does the XC32 compiler support variadic argument lists in macros? (Paul Bjork)

I'm trying to implement a variadic argument list in a macro, but get the following error: error: __VA_ARGS__ can only appear in the expansion of a C99 variadic macro I'm using the v1.43 compiler and...

View Article


Execution time for for loops with XC32 (adi1525)

Hello ;)I don't understand timing with for loop. I have 12 Mhz Oscillator with option SYS CLOCK to 96000000 and PBCLK to 48000000. Now in harmony I have code for loop:uint32_t...

View Article


Generating an executable file (realexander)

Hi. I have a PIC32-based device that implements a USB flash drive. I'd like to compile a C program in MPLAB X, copy the executable code to the device, and tell the PIC32 to run it. Is the XC32 tool...

View Article

[XC32] Harmony v1.11 and bootloader (Andrea Guglielmi)

Hi all,I am working on a PIC32MZ1024EFM100 microcontroller.I started the project using Harmony 2.02b, but too many issues (maybe cause ignorance also, it was the first time i used that framework)...

View Article

Maxium PWM rate for PIC32 (fsonnichsen)

I was working with some rather fast pulse timing issues and I wanted to check the output compare (OC) /pwm rates that can be reached with the PIC32. I am using the MZ2048EFH100 and running on the PLL'd...

View Article

getting Explorer 16/32 to work with "serial_eeprom" demo project in Harmony...

I am trying to run "serial_eeprom" demo project in Harmony (2.04) APPS. using explorer 16/32 Board ver.3 with 32mx795f512 PIM. :MPLAB X ver. 4.05 : XC 32 ver. 1.44. There is a Demo project for writing...

View Article


How to generate .Bin File in MPLAB X V3.40 with C32 Compiler (sagartalawar)

Hello, I need .bin file of project for OTA functionality. I didn't get any direct option to generate .bin file in MPLAB X. Please let me to know , the option to generate .bin File or Steps to generate...

View Article

Linker file(.ld) location in Project (sagartalawar)

Hello, Please let me know at which location in MPLAB project, linker file is present. I need to modify the memory addresses.I am not able to find linker file in my application project folder...

View Article


Run time writing on flash (sagartalawar)

Hello I want to do the partition of flash. In which in one part my running application is there and in other part I want to write the latest firmware received from FTP. Please help me to which API's /...

View Article

file scope error, local scope ok (bblessing)

I'm using XC32 v1.44B. If I write this at local scope it will work, but not at file scope. At file scope I get an "error: initializer element is not constant" error. I can work around this just fine,...

View Article


xc32-ld error 255 cannot find (ZigZagee)

Trying to compile the aws-iot-firmware-pic32mz-2.0.0 project from Microchip. This requires Harmony v1.09 and XC32 1.42, both of these are installed. When compiling and linking, most of it works. The...

View Article

PIC32MX795F512L with 24LC04B 4K I2C™ Serial EEPROM (Netanel)

Hi i am new pic programmerI tried XC32 examplebut the read value is 0 not 0xAA as we save;this is all my code.Thanks //I2C FUNCTIONS#define SYSCLK (72000000) #define Fsck 50000 #define PBCLK (SYSCLK/2)...

View Article

Is it worth learning C++? (Rafauy)

Hi, I work with PIC32 for a living. I only know C and I was wondering if its worth to learn C++, because Ive heard its hard to master and online questions about this topic are generally answered by...

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>