lorenzb1 wrote on Wednesday, December 09, 2009:
I was previously using the PIC32MX460F512L device and have just upgraded to the PIC32MX795F512L (128kB of RAM!) and now am having problems with the FreeRTOS port. It appears that the portSAVE_CONTEXT and portRESTORE_CONTEXT cause a bus error. I am using the supplied demo project and commented out all tasks except for the prvCheckTask. Within that task i commented out everything and just made a infinite loop containing a vTaskDelay() call. When the timer interrupt fires it gets to the portSAVE_CONTEXT macro and then this causes a bus error. Any ideas on how to fix this or what could be causing the bus error?