I work on RTOSDemo-Example 14. It works pretty fine without changing anything.
When I try to change the
ulReceivedNumber &= 0x03;
ulReceivedNumber += 0x01;
xQueueSendToBackFromISR( xStringQueue, &ulReceivedNumber , &xHigherPriorityTaskWoken );
in the vSW1_ISR_Handler section, it builds ok but, freeze at the programming part while programming the memory.
After that whole mplab craches. I couldn’t figure out what the problem is…
I use pic32mx360F512L (starter kit) removing the line of " #pragma config FSRSSEL = PRIORITY_7"
This error wasn’t the only one , I have encountered different ones also…
Thanks in advance…