WDT wake-up call to PIC32MM from Sleep and Idle mode does not work (wku)
Hello Guys I'm trying to put a PIC32MM0256GPM048 into sleep mode and have it woken up by the Sleep Mode Watchdog Timer. Once it goes to sleep , it just stays there. WDT does not wake up. How do I get...
View Article.sdCardDetectEnable = true, but how is it used? (Pete F)
mplab x ide 5.10harmony 2.06PIC32mz In system_init.c there is: const DRV_SDHC_INIT drvSDHCInit = { .sdCardDetectEnable = true,.........} How is the card detect signal used?..
View ArticleSudden address change of variable mid-process, after switching to...
I have the following code: case(DU_NEWDATA): { duData.wordCount = 0; int rawChar, newChar = 0; //iterator counters bool looping = true; while( looping && (rawChar < DU_BUFFER_SIZE) ) { switc..
View ArticlePIC32MM in Sleep Mode takes 5 mA ??!! (wku)
Hello GuysI made measurements of power consumption for PIC32MM0256GPM048. In Sleep mode takes 5 mA (this is results from my measurements), which is much different from the manufacturer's data, has...
View ArticleHow can I tell if I am using FreeRTOS (and maybe what version)? (Pete F)
How can I tell if I am using FreeRTOS (and maybe what version)?I have some functions that I want to optimize if I am using FreeRTOS.I assume there is a #define somewhere, but I can't find it...
View ArticleProblems with modulo (Rafauy)
Hi, I have the following code(the result is typed in bold): uint32_t debugVariable; uts_timer.tmrCount = 23688; //uts_timer.tmrCount is an uint64_t debugVariable = (uint32_t)(uts_timer.tmrCount);...
View Articlecompiler optimization 1 operand % not work properly (chri)
It happens that with XC32 O1 gcc option the operand % doesn't work properly. If I set optimization 0 it works...
View ArticlePIC32MK dynamic allocation -> malloc issue (hugo.g)
Hi everyone ! I face to an issue when i use malloc in my code, i try to use __pic32_alloc_coherent (sizeof(mystruct)) but the issue still here !The simple code: char * ptr; ptr = (ptr*)...
View ArticlePointer to complex Struct with Array in XC32 sometimes causing runtime...
Just wondering if I'm alone in seeing this weird bug. I've had it happen several times, and have "wiggled" the code to get past it.I pass a pointer to complex struct, and depending on the surrounding...
View Articlexc32-as: assembler namespace requirement for include files and global access...
I recognized that there is a real big problem with labels in this assembler:There is no namespace functionality in xc32-as.At the moment, if this is true, xc32-as is nearly unusable.If you have hundred...
View ArticlePIC32MM - Linkerscript not working APP+BL (cray1283)
Hi! i am trying to figure out the linker script but i think ive messed it up, i have an application and a bootloaderWhat should i write to get this to work?I guess its only in the app linker script i...
View ArticleXC32 Networking Questions (Tim Cruise)
Dear All,I am testing a project based on PIC32MZEFM MCU. I can set up most peripherals and drivers correctly under Harmony v2.0.6. Now my questions are -1. What are the related commands governing TCPIP...
View ArticleC++ compiler: There is no more special stuff to do? (RodoPIC)
Hi all,A while back I tried the XC32 C++ compiler and I remember having to do something extra to use it. Something to do with cpluslic.bat. It was a while back. I don't see anything like that in the...
View ArticleDSP_TransformFFT32_setup (Pete F)
My setup is: MCLAB X IDE v5.10 XC32 (v2.15) Harmony 2.06 Demo Kit DM320010 PIC32MZ Embedded Graphics with Stacked DRAM (DA) Starter Kit PIC32MX2064DAG169 I have been running my code doing FFTs for the...
View Articlefft output not quite symmetrical (Pete F)
My setup is: MCLAB X IDE v5.10 XC32 (v2.15) Harmony 2.06 Demo Kit DM320010 PIC32MZ Embedded Graphics with Stacked DRAM (DA) Starter Kit PIC32MX2064DAG169 I am performing an FFT ( DSP_TransformFFT32()...
View ArticleWatchdog on PIC32MZ, no way to choose timeout? (Pete F)
My setup is: MCLAB X IDE v5.10 XC32 (v2.15) Harmony 2.06 Demo Kit DM320010 PIC32MZ Embedded Graphics with Stacked DRAM (DA) Starter Kit PIC32MZ2064DAG169 I activated the Watchdog in Harmony, but I get...
View ArticleQuestions about PIC32MZ2064DAG176 (Andy56)
Good evening. I'm interested to device PIC32MZ2064DAG176. I have some doubts about this model before I can buy and start prototyping.So I want to ask you if it can be used for run Linux Embeded RTOS...
View Article64bit support? (galvayyar)
According to the latest version's release notes, we are expected to get 64bit-compatible binaries. I want to install XC32 on WSL but it only support 64bit.So when does the next version is expected to...
View Articlegcc for AVR32 ? (Brane313)
Since after the MC/Atmel merger there are no right forums for AVR stuff, I am posting this here as it's closest to the matter.I am set to configure a bunch of crosscompilers for most frequent...
View ArticleNot entry to interrupt routine (diego3602)
Hi i have a issue with a little snippet of code. the problem is that never calls interrupts function. I see how the TMR2 counts-reset and counts again at reach of PR2 register but stops on the main...
View Article