Facing issue in assigning two different memory sections for data...
I'm using XC32 compiler for my project.I have a use case to use two different memory regions for data.I decalred the two memory sections in linker under memory like this. kseg1_data_mem (rwx) : ORIGIN...
View ArticleXC32 installer for Linux fails in unattended mode (Brane2)
I'm trying to make ebuild for Gentoo that would automatically install xc8/xc16/XC32 through gentoo's infrastructure ( portage). Unfortunately, they don't behave as documented....
View ArticleHow to Increase program memory on XC32 (V1.34) compiler?? (balastat)
Hi, I am using PIC32MX110F016B controller for my application. IDE - mplabide (v4.1)Tool chain - XC32(v1.34). While I am Compiling the code, the kseg0_program_memory is almost full(98.8%). But...
View ArticleXC32 Linker errors for attempting to allocate persistent data on an absolute...
IDE version: MPLAB 4.0 Compiler xc32-gcc version v1.44 Background Info/Context: My bootloader app is using a persistent data flag, 'boot_mode_status' in an absolute RAM address, known by both the...
View ArticleVersion 1.42 to 1.43 compile error (LostInSpace)
I have a working project with V1.42 and when I change to 1.43 I get pages of these undefined errors - Any Ideas?The only option I have on the compiler settings is I have the LibC box checked. Harmony...
View ArticleCan't access harmony after updation (Cha1312)
Hello Forum, I recently updated my Harmony,Compiler and MP Lab IDE to the latest versions.Since I got notification from microchip to update.After that I am unable to access i.e. the harmony part during...
View ArticleNot Getting proper Data from PIC serial port after reset (PIC32MX110F016B)...
Hi, I am using the PIC32MX110F016B controller for my application. I have configured the UART2 for serial communication between PIC and PC for my application. Actually, I am receiving character data as...
View ArticleError handler: reporting line numbers, file, function (TomWr)
Greetings,In writing an error handler, I would like to report the line number, function, and file of an error. gcc supports this with __FILE__, __FUNCTION__, and __LINE__. Is there something similar...
View ArticleMPLAB XC32 V1.44 HID USB Problem (Liem Dung Phan)
I have a HID USB project using PIC32MX530F128H. If built by XC32 v1.42, It works. But, if built by XC32 v.144, It doesn't work - USB device not recognized. I use Windows 10 64bit. What's new in v1.44...
View ArticleFFT Resynthesis Function PIC32 DSP Library (thegrinch)
Hi, I have been looking at the PIC32 DSP Library: http://ww1.microchip.com/downloads/en/DeviceDoc/MPLAB%20C32%20Libs%2051685b.pdf (Ch.3), and notice that there are functions for calculating the fourier...
View ArticlePreprocessor macro arguments cannot be left empty in use, not as specified...
When defining a #define macro with potentially more arguments than may be needed in a given instance, the compiler generates an error if not ALL arguments are specified. For example, if 4 arguments are...
View ArticleUndefined reference but not with “dummy” call… (SM6FIE)
I have the following problem that puzzles me. I have a main function (main()) that calls a functions in library A. Library A in turns calls functions in library B. Then I compile the application I get...
View ArticleBasic debug question after first C++ program (jfsimon1981)
Hello, I was wondering why the simulator with break points in the while loop and and on return shows going straight from i++ to i+=10 to return 0 ?Apparently it won't stay in the while loop, any...
View ArticleMy PIC Microcontroller gets heated up suddenly when USB connected (Cha1312)
Hello Forum, I am using PIC32MX550F256L in customaized PCB board for various peripheral communication. I am powering up this board using USB. But when I connected USB it is getting heated up suddenly...
View ArticleStore variable in prog memory instead RAM (xc32 compiler) (Witek_Polska)
How in XC32 compiler store variables in flash(program memory) instead RAM . I'm looking for similar technic for AVR GCC compiler where strings stored in program memory...
View ArticleMCP2025 LIN chip not getting proper regulator output (Cha1312)
hello forum, I am using LIN chip in my project for communication. The chip I am using it in 5V regulator output format. But I am not getting 5v a regulator output pin instead of that am getting 1V....
View ArticleWhich linker file is MPLABX using? (ScottSD)
Sorry if this has been answered already in the forum, but I could not find a thread that did. There are a number of threads suggesting things, and when I dug into it, they pertained to the PIC32MX and...
View ArticleNot getting solution for LIN mcp2025 Output (Cha1312)
Hello forum, I am testing LIN mcp2025 to make communication with other peripherals on my board. There is a 10K ohm resistance in series with the 12v input to pin1 of the Mcp2025. Whne I give 5v...
View ArticleCannot post to forum (Charles.Freeman)
Hi, I am trying to post a problem to the forum but I get this: Access DeniedYou don't have permission to access "http://www.microchip.com/forums/post.aspx?" on this server.Reference...
View Articledefault "general exception" code? (grambo)
PIC32MX270F256D, MPLABX 3.61, XC32 1.44I'm back on my bootloader headache and I'm trying to free up as much of my 3k boot flash as possible... I've got a 220 byte ".text.general_exception" that doesn't...
View Article