FreeRTOS on PIC32 Starter Kit

Hello, I’m new with using RTOSes. I need to implement a  PIC32MX  with  FreeRTOS  for our current project. For the tests, all I have is a  PIC32 Ethernet Starter Kit   ( PIC32MX795F512L  processor). Since  FreeRTOS  comes with a demo project for the   Explorer 16 developpement board  with a plug in module (PIM) containing a PIC32MX360F512, could some one guide me on how to adapt the demo to the PIC32 Ethernet Starter Kit? Thank you

FreeRTOS on PIC32 Starter Kit

The PIC32 ebook comes with projects that run on the USB2 starter kit. I would suggest starting with those.

FreeRTOS on PIC32 Starter Kit

Thank you for the information.
For simple applications, it should make no difference which one on the Starter Kits I use.

FreeRTOS on PIC32 Starter Kit

I was not suggesting you change starter kits. I was just suggesting you start with a project that is already configured to run on one of the new starter kits. The new PIC32 devices have at least one (maybe more?) extra configuration bits that must be set up for proper operation. If you start with a project that already has this configured you won’t get any issues.

FreeRTOS on PIC32 Starter Kit

Hello, I tried the RTOS demo on my PIC32 Ethernet Starter Kit.
Most calls in the  main.c   are commented.
I just keep:
int main( void )
{
         prvSetupHardware();
         vStartLEDFlashTasks( tskIDLE_PRIORITY );
         vTaskStartScheduler();
        return 0;
}
I did the necessary changes in  ParTest.c  (PORTA becomes PORTD  and   the JTAG port is enabled so debugging is possible). When the program is running in “Animate” mode (automatic Step by step) the first LED (RD0, task priority of 0) does blink,
but the program just keeps doing the  “for(;;)”  loop in flash.c
No matter how long I wait, no other task stops this. Any ideas of what is the problem? Thank you

FreeRTOS on PIC32 Starter Kit

What did you use as the starting point for the project?  The code form the FreeRTOS download or the code that comes with the PIC32 book. If the former, then did you add the extra  #pragma config FSRSSEL = PRIORITY_7 line? Regards.

FreeRTOS on PIC32 Starter Kit

Thnak you. The three LEDs are now blinking. I would like to understand why the line    #pragma config FSRSSEL = PRIORITY_7    is necessary, tough.

FreeRTOS on PIC32 Starter Kit

To quote a message from several days ago in this thread:
I  was not suggesting you change starter kits. I was just suggesting you start with a project that is already configured to run on one of the new starter kits. The new PIC32 devices have at least one (maybe more?) extra configuration bits that must be set up for proper operation. If you start with a project that already has this configured you won’t get any issues.

FreeRTOS on PIC32 Starter Kit

I see Thank you for helping me

FreeRTOS on PIC32 Starter Kit

Keydmer, From the datasheet for the PIC32MX795 this command sets the interrupt priority for the shadow register. Sets bits 18-16 of the device configuration word 3. Hope this helps. Regards, Ed Long