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

How to see data in real Time and export a large amount of data (NCosta)

Hi I need to export a large amount of data but when i try to export through a 50000 long array the mplab crashes. I tried to send data via UART (with a COM) and read through MPLAB Data visualizer but...

View Article


samg51n18 float printf (granel)

mplab x ide 6.0 x32adcvolt=adc*ADCREF/4095U; adcvolt=adc*ADCREF/4095U; samg51n18 float printf bad:printf("0x%04x %d mV 0x%04x %d mV\n",adc, adcvolt, adc, adcvolt);0x0f6a 1742 mV 0x0001 0 mV same code...

View Article


MPLAB XC32 v4.10 Released (JasonK)

The MPLAB XC32 Compiler v4.10 release is now available for download here. This release provides the following: Improved ELF load times in MPLAB X -- This release introduces a new default command-line...

View Article

Debug Output via Printf/Stdio Doesn't Work (chris.dickerson)

Board used: Curiosity Pro Development Board (PIC32MK1024MCM100)Compiler: XC32 v4.10 (Build date: Apr 28 2022)Example code (\Harmony3\csp_apps_pic32mk\apps): can_fd_operation_interrupt_timestamp The...

View Article

Problem initializing a pointer of type char with an array of the same type...

Hi. I have a char pointer as follows: char * host; And a char array as follows char ipServer;ipServer = '1';ipServer = '2';ipServer = '3';ipServer = '4'; I try to initialize the pointer as follows:...

View Article


Can't install XC32 4.10 (perdrix)

Trying to run the installer for XC32 4.10 and get an error popup saying: There has been an error.Licensing Error: What's am I doing wrong? David..

View Article

Problem with code not processing boolean state properly (down_under)

I have a project for SAMD21E15 in MPLAB-X. Compliler XC32 (v4.000.A function is using TC3 for a timeout. Below is my init code, interrupt handler and function to test.The interrupt gets called and...

View Article

XC32 pic32m-ld configuration.data Error Making Harmony 3 example (neopisha)

Hi everybodyI am trying to build Harmony 3 PIC32MZ tcpip_tcp_server app with PIC32MZ2048EFH144 config.MPLAPX 5.45XC32 2.10 First I got error not able to finding PIC32MZ SFRs:undefined reference to...

View Article


DevTool Bits series of short videos (JasonK)

The Microchip Development Tools group is launching a series of short videos. Get ready to learn a bit about a bunch of different development tools from Microchip's experts in our new series, Dev Tool...

View Article


XC32 3.01 failing on assigning address to variable (EqqmanMChip)

Using MPLABX 5.50 and XC 3.01 compiling a project for the PIC32MM128GPM48 I am experimenting trying to get values stored in exact locations in the flash memory so they can be overwritten later with the...

View Article

MPLAB XC32 compiler limitations (GeorgeG)

Are there any other limitations for the free version of the XC32 compiler, apart from Code Optimization and Size Reduction?When I was installing the MPLAB X IDE and the XC32 compiler I remember that I...

View Article

link an xc32 library with a project being compiled with pic32-gcc.exe...

Is it possible to link a library created with xc32 with a project being compiled with pic32-gcc.exe compiler (v2.02)?..

View Article

XC32 build failed on undefined reference to `_snprintf_cdnopsuxX' (juliej)

Hi there, I'm facing a compilation problem. I developed a logger which formats log messages using strncat, vsnprintf, snprintf,... functions.I'm working on a base code which doesn't use the code...

View Article


Linker overlaps sections same address: .bss overlaps section .sbss in debug...

See the map file sections below. The linker assigns data sections to overlapping addresses.Project is bootloader with linker file btl.ld.Application as loadable project linker file app_mz.ld, supplied...

View Article

Why can't I change TCPIP_TCP_SOCKET_DEFAULT_RX_SIZE to a value greater than...

Hi. I'm working with the PIC32MZ1024EFM064, XC32 v 4.1, MPLAB X v6.00 and Harmony 3 I have a project in which my hardware is a TCP server and it communicates with a remote client. It worked correctly,...

View Article


Cannot Build First TCP/IP Project Due to MakeFile Error (MadeByMusti)

Hello,I'm working with the PIC32MZ2048EFM1444, XC32 v 4.1, MPLAB X v6.00 and Harmony 3 I'm rookie to tcp/ip protocol. I found the following resource to do the first test Microchip First TCP/IP Project...

View Article

error: '%s' directive writing up to 255 bytes into a region of size between...

Hi.I have the following code that compiles without problems: char bufferx[] = "{" \ "\"Type\":1" \ "," \ "\"Uid\":\"abcdefghi\"" \ "," \ "\"Port\":6777" \ "," \ "\"TypeConn\":0" \ \<..

View Article


Efficent UART decoding (balazzska)

Hi folks! I've got a project, where 60 individual channels are transmitting data via UART @ 125kbaud. The packages are relatively in sync (all channels begin the transmission within 5ms), and are...

View Article

Why does pointer of type char alter its content? (DominusT)

Hi. I’m working with XC32 v4.1, MPLAB X v 6.00 and PIC32MZ1024EFM064 device. I have a function that allows me to search a char array for a string and if it finds it, it returns true and otherwise,...

View Article

SYSTEMConfigPerformance (horkesley)

In the old days of plib.h we would use SYSTEMConfigPerformance to obtain max. speed from a pic32. Now with XC32 v 4.00, what is the equivelent line of text. MPLAB X IDE v6.00XC32 v...

View Article
Browsing all 1537 articles
Browse latest View live


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