XC32 v4.00 "warning: read is not implemented and will always fail" (sebmadgwick)
I have switched a project from XC32 v3.01 to v4.00 and the following warning has appeared. This is the only warning or error to appear after switching compiler. I am using MPLABX v6.00. The device is a...
View ArticleAccessing struct member corrupts memory (suspension)
I have following structs and vars defined in the header profile.h:struct profile_segment { short start_second_; short end_second_; char slope_; }; struct profile { const char* name_; short...
View Articlepic32m-ld.exe: cannot find processor.o (RobertJ)
My laptop died - will not longer boot or even turn on, however I did rescue the hdd.I purchased a new laptop and copied over the full project directory from the old hdd. I installed MPLABX and XC32 at...
View ArticleUSB Host fails reading configuration descriptor (jdms)
Dear All I've one device attached to my USB Host project, reading this device configuration descriptor fails, the wTotalLength extracted from descriptors is wrong. As shown in the descriptors dump...
View Articlesprintf and malloc avoid crash (Superciuk)
Multithreaded app with ATSAMC21N-XPRO. Inside a callback sprintf does well with stack (i.e. char xxx). When I use malloc(i.e. char *xxx=(char*)malloc(30)) sprintf crashes app. The best I found is the...
View ArticleEZBL generated merge.S file doesn't assemble with XC32 > v2.4 (RobertJ)
.pushsection EZBL_RAM_AT_0x80000200, address(0x80000200), persist, keep ezbl_integration/AdPower_1337/AdPower_bootloader.merge.S:55: Error: character following name is not '#' I would like to move on...
View Articleinconsistent printf behavior (Thorben.Z)
I have just ported a piece of code from a pic32mx part to upgraded hardware running a pic32mz-ef device. One part of this code uses the following (s)printf format to write only a portion of a string...
View ArticleXC32 double values are not calculating correctly (Fendersens)
I have encountered a very weird issue when dealing with "double" floating point calculations. I am using xc32 v3.01 with Mplab harmony and had this section of code:(getting access denied while posting...
View ArticleXC32 v4.00 in debug mode loading symbols runs forever (Luca Pascarella)
Hi, I'm still experiencing an interminable "loading symbols from..." when using the newest XC32 v4.00 in debug mode. The IDE version (v5.50 or v6.00) seems to not impact the XC32 performance. A single...
View ArticleXC32 ram function SAMV71 (dsherman26)
I am trying to locate functions in RAM, which will be used for reprogramming the flash. This is using MPLAB X 6.00 and XC32 3.01. I have made a section in the linker map, and added the attribute to the...
View ArticleXC32 v4.00 error with building FreeRTOS' portasm.c (user1397215)
I am trying to build my code using the v4.00 xc32 compiler. I am integrating the source files required to have FreeRTOS scheduler running with my code but I am experiencing the following error when...
View ArticleXC32 custom data section (dsherman26)
I'm running into a problem with XC32 and MPLAB X. I am trying to locate constants in a fake memory region to be loaded into an external eeprom. This has worked using GCC, XC32 doesn't seem to be...
View ArticleInput Capture (horkesley)
Hi,I am using input capture to measure a pulse between 1mS and 2mS.I have shown the relative code for one channel at this stage, showing configuration, interrupt etc. all this works fine except...
View ArticleEnable indirect calls fixes overlap? (dsherman26)
I was running into link problems porting a project into XC32 where some seemingly unrelated functions were getting overlap errors. Looking into the options for the compiler, I came across the "enable...
View ArticleHelp saving data in ROM (rlg)
Hi Forum, I am using MPLABX, Harmony V3 and XC32 and the target microcontroller is the atsame54p20a. This mcu has 2 banks of flash ( each bank = 524288 Bytes) Total flash memory = 1048576 I would like...
View Article[Admin, please remove this] (peter70)
Admin: Please remove this post, unfortunatelly i can't do it. I was unable to post to this forum, I'Ve got this message multiple times:----Access DeniedYou don't have permission to access...
View ArticleHow should I correct this warning when compiling? warning: array subscript...
Hi. I have a project with the PIC32MZ1024EFM100 and XC32 v2.50. I have multiple terminals configured as output on different ports. I made a function to collect the logical state of said outputs and put...
View ArticleUnexplained code crash exception -- followup (user2x)
I have a Microchip update regarding the crash problem as in https://www.microchip.com/forums/m1189138.aspx (PIC32MZ2064DAR169) Harmony 3In summary:The CPU crashes with an exception right after...
View ArticlePIC32MM UART Interrupt not clearing (renatosilva)
Hello, I have been stuck around waking my PIC32MM with the UART. I set the UART up and everything works just fine.During set up I enable the interrupt and and WAKE bit as per...
View ArticleWhen is MPLAB XC32 v4.01 going to be released? Can't debug Harmony 3......
Hello,As you know from other topics, debugging harmony 3 projects is nearly impossible. Loading debug symbols takes several minutes to complete thus rendering the whole testing process unusable and...
View Article