Using legacy files for PIC32MM V2.30 (btremaine)
I am writing some test code for a PIC32MM Curiosity board in which I want to see if I can access the Core Timer in the MIPS Core. I found some legacy code for a PIC32 that uses a function...
View ArticleAccessing Core Timer on PIC32MM (btremaine)
Hi,My overall goal for now is to prove to myself the Core Timer is available on the PIC32MM0064GPL036 part.I wrote the following code and made use of the mfc0 and mft0 assembly commands. However I...
View ArticlePIC32MZ running very slow for no good reason (vexorg)
I'm using a PIC32MZ core running at 45MHz, PB at 22.5MHz on a board to manage a number of bits of hardware and be a central firmware hub. One of the devices connected to it is an SD card through the...
View ArticleWhy can't the compiler see plib.h even with MLA installed on its directory?...
I recently lost my system and had to restore everything. I have a legacy project that was compiling perfectly fine but now it is not and I don't know why. XC32 is not "seeing" plib.h and I have...
View ArticleTatalina (horkesley)
So, MPLABX will run on a MAC with Catalina OS. But, there is no compiler? Have I got this correct. Regards..
View ArticlePointer Internals (acharnley)
Today I found myself writing a BCD converter for piping values over UART. I wrote a few helper functions for sending different length int's and realised that while I know how pointers work, I don't...
View ArticlePIC32MM0xxxGPMxxx support broken in XC32 and DFP - not possible to compile...
Hi. Some of you probably know that tt's not possible to compile/build EZBL for PIC32MM_GPM series using XC32 never than 2.10.It took me few days to analyse and track down the issue, I had to analyse a...
View ArticleLinker assigns overlapping memory to two arrays (adown)
Good evening, i've come across something puzzling. I have two global arrays declare in two different files within my project. I have been troubleshooting some erratic behavour, when i looked at the...
View ArticleCircular Reference (auto index rollover) (dB4301)
Hello, I am trying to duplicate some functionality on a PIC32 that is used on a TI 5402 chip. They have a feature in assembly that allows an automatic rollover for circular buffers on an index. So for...
View ArticleXC32 free version limitations (henkebenke)
Hi, I have just begun migration of a project from dsPIC to XC32. I noticed just that the compiler ignores when I define an ISR with the attribute ipl1SRS. That is, using the shadow registers. It still...
View ArticleXC32 Downloads in Australia Still Corrupt (amead)
Referring to this post:https://www.microchip.com/forums/FindPost/1121428I had to change my DNS to override ww1.microchip.com to point to 104.64.212.244 to get an uncorrupted installer.Tried 5 times...
View ArticleHeeelp meeee!!!! I'm stuck in the PIC32's web. No one hears me scream!...
I'm so stuck a man can be. I'm trying to initialaze SFR's associated with SPI1. But they remain zero whatever I do. SPI1CON = 0x80;IEC3 = 0x00006000;Those SFR's remains zero. I inserted this code...
View ArticleUsing extended address, DDR Ram (RyanF)
Hi All I am using a Pic32MZ2064DAH176 with integral 32Mb DDR RAM.XC32 version 2.3 I tried to define a memory region in DDR like this.#pragma region name="ddr_mem" origin = 0xA8000000 size = 0x1000 Then...
View ArticleUART RX _general_exception_context (richi_d)
Hello,I´m new to the PIC32MZ and I stuck now for hours on an exception error. It comes once I turn on the UArt1 RX Interrupt. I already found that the program stucks here:...
View ArticleGlobal variable without extern (ibbro)
I have a project on a PIC32MZ2048EFM with the variable 'cnt' defined in 2 different source files. uint32_t cnt; in one uint8_t cnt; in the other. They are both defined outside of any function so should...
View ArticleMCC troubles (Jan Audio)
Hi, i am busy trying MCC in XC32 and i have troubles.I change the value from the SPI clock and it always shows 250KHz no matter what i fill in.And i lost a thing on the left side, i clicked it away,...
View ArticleHelp needed, issues with Harmony 1.0, mplabx and loadables hex files (jeff_d)
I've inherited a XC32 project which was built from microchip boot loader, 2 Harmony 1.06 applications (an updater and application). These two apps were included in the boot loader project as loadable...
View Articleoptimization level 1 questions (MPaulHolmes)
I have code that needs to execute in a certain order. I already know that the compiler just gets rid of stuff that it finds repetitive. Does it also change the order of execution if it thinks that's a...
View Articleif else statements don't works (diego3602)
Hi, I have an issue with a little simple snippet of code. The problem is that the code always runs the "if" sentence but never the "else" one, no matter the condition. I'm using MPLAB XC32 v1.40. Here...
View ArticlePIC32MZ Bootloader Still Not Working (hala9k)
Hi All, I have been working on getting this bootloader working for too long now, still can't figure it out. It is essentially the same as the one I've been using in PIC32MX695s, very reliably. That...
View Article