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?
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.
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.
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.
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.