Hi! Is there any way to allocate the heap in an SRAM on the EBI of the PIC32MZ_EF ? We need to store lots of objets dynamically and more than 512Kb of heap would be great. I have searched and found nothing on the forum and in microchip doc. Thanks,Dave..
↧
Heap in external memory - PIC32MZ_EF ? (DaveLacerte)
↧
Printing long double floating-point values (IEEE754 double to String conversion) (bsgama)
Microchip XC32 includes several math functions that operate with IEEE754 double (Microchip calls them long doubles), but does not provide support in stdio for printing them. With the introduction of PIC32 microcontrollers with larger flash memories and fa..
↧
↧
PIC32MZ, Problems with ISRs (Mariano H. Caballero)
Hi all, It´s my first time with PIC32MZ. I don´t want to use Harmony at all, and I´m starting with a simple app that blinks a LED located in Portb.11, using the Timer2 interrupt (TImer2+3, conforming a 32 bits timer, IFS0.T3IF is set when interrupt ocurrs..
↧
Compiler assembler error messages (crevicedweller)
Help!I am trying to compile for a PIC32MZ2048EFH with version 1.40. The code previously compiled for the PIC32MX795F512 with version 1.34. Now i get these error messages that i don't recognize: C:\Users\Larry\AppData\Local\Temp\cc1LHGzd.s: Assembler messa..
↧
Warning: xclm.conf did not indicate a licence directory. (mrpackethead)
I'm getting lots of these warnings in 1.42, but have no idea how to fix it...
↧
↧
__bit keyword pic32MZ xc32 compiler,sfr bit setting (Ravi1234)
Good Day, I get the error while compiling this line : volatile __bit DATA_RDY @ (((unsigned) &PORTB)*8) + 2; I am currently using Pic32MZ and xc32 compiler and i am trying to read a pin with the compiler keyword _bit, it works well with pic8 xc8 compi..
↧
PIC32MZ2048EFM144 AD defines (jtzeng)
I am trying to setup resistive touch but it seams that the AD should have AD1CON1bits.DONE but that is not in the processor include as found by looking at xc.h. I am using XC32 1.32. AD1CON1 is defined in the datasheet so why is it not in the include file..
↧
Looking forward to Thursday evening at MASTERs (JasonK)
We are having our MPLAB XC Compiler evening discussion session again at the MASTERs Conference in Phoenix this week. I'm looking forward to seeing many of you again on Thursday evening in the Pinnacle Peak 2 classroom. See you soon!..
↧
Where is stdlib for PIC32MZ? (StefaniMW)
I am using PIC32MZ2048EFH144. XC32 compiler version 1.40The lab2b sample code main.c has #include When I navigate to it, it opens up to "C:\Program Files (x86)\Microchip\xc32\v1.40\pic32mx\include\stdlib.h" Where is the stdlib for PIC32MZ? Shoul..
↧
↧
sprintf gives ERR in string (andync)
Hi, I'm restarting this thread in the correct forum. I did start it in the C32 forum so please ignore it. I have made a comment that it is moved.
I have an instance in a log where a sprintf returned "ERR" as part of the string. sprintf(Buffer, "\"%8s\",\..
↧
Is Microchip violating the GPL? (Heinzz)
Hello all, I tried to download the sourcecode of the latest (1.42) PIC32 C compiler from the Microchip website. I couldn't find it at their page: http://www.microchip.com/compilerstab: download archives
section: source archives
column: MPLAB XC32
Ins..
↧
pass a pointer to a function (DECORME Sébastien)
Hi,I'm using the CAN lib And i need to pass the RxBuffer to a function.The code compile well but the PIC reboot all the time, here is the code I use//CANRxMessageBuffer is a structure header for the CAN frame
CANRxMessageBuffer * Rxmessage;
...<..
CANRxMessageBuffer * Rxmessage;
...<..
↧
floating point issue with 1.42 vs 1.40 (rjc101)
i have chased a problem all afternoon relating to the simple task of doing pow(a,b) always producing the result 0.I am using a PIC32MZ2048EFM144, MPLAB 3.35, Harmony 1.08.01 When I built a new PC a couple of weeks ago I downloaded everything shown as curr..
↧
↧
Can't find perpiheral/adc10.h (GEPhil)
I've had similar to the chap who couldn't find plib.h, when I searched the filestore for it and put that path into the complier's search paths I got C:/Program Files (x86)/Microchip/xc32/v1.40/pic32-libs/include/lega-c/plib.h:41:30: fatal error: periphera..
↧
PIC32MZxxxxEF XC32 1.42 Interrupt code BUG? IPL7SRS (simong123)
Whilst doing some experiments to determine interrupt latency on the PIC32MZ, and how it is affected by the L1 ICache, I have noticed the following bug in the implementation of the interrupt handler when IPL7SRS is specified. For IPL6SRS and below, the fol..
↧
Undefined Reference error after compiler license expired (Paba)
Hello again everybody :-) I've got another question: I'm working on a project where I use XC32 v1.42 compiler with MPLAB X v3.30. Until yesterday I had no problems so far with the compiler nor with the IDE. But yesterday the first time I saw the following..
↧
Does the PIC32MX has configurable per-page RAM write protection? (ch)
Couldn't really find that in the family reference manual.I'm trying to find a bug which only happens in production firmware; for this reason I'd like to flag a few RAM pages read-only, so that writes to it would cause a CPU exception. Does the PIC32MX hav..
↧
↧
XC32 Linker - cannot allocate region for "serial_mem" (DoctorMusic)
How can I allocate a region for serial_mem for bt_usb_audio_demo_2.5X to be used on DV320032?I am using XC32 v1.42 and MPLAB X v3.4 to compile and link on Windows 10. I have the same problem on most of the other bt audio demos. There is a warning and an e..
↧
Error : small-data section exceeds 64KB; lower small-data size limit (see option -G) (iulianvalentin)
Hey guys, Does this error means the compiler is trying to place my array where it shouldn't or what?Thank you...
↧
Can't get my PIC32 to run (ElliotHC)
Hi, I'm trying to get my PIC32MZ2048ECM064 to put RD0 high but when I program it, nothing happens. I have PICOSCOPE on VCC and RDO, VCC is 3.3v and RDO always stays low even after programming with VCC high. I have an external 24Mhz crystal on pins OSC1 an..
↧