# No context switch using MPSIM on pic32

**URL:** <https://forums.freertos.org/t/no-context-switch-using-mpsim-on-pic32/4463>\
**Category:** Kernel\
**Created:** [April 13, 2011, 11:08am UTC](https://forums.freertos.org/t/no-context-switch-using-mpsim-on-pic32/4463 "2011-04-13T11:08:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [April 13, 2011, 11:08am UTC](https://forums.freertos.org/t/no-context-switch-using-mpsim-on-pic32/4463/1 "2011-04-13T11:08:00Z")

</div>

**[killer414](https://sourceforge.net/u/killer414/)** wrote on [Wednesday, April 13, 2011](https://sourceforge.net/p/freertos/discussion/382005/thread/c47ea1e9/#6680):

hey guys  
Id used freertos to create a couple tasks earlier and run it on pic32mx starter kit… It ran fine… When i run it on the mplab sim tool, context switch does not occur… Two processes a and b are present of the highest priority… Im incrementing a counter in each… Only one counter gets incremented… Im using the official pic32 port…

---

<div class="post-metadata">

**Author:** ![rtel](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rtel/32/31_2.png) [@rtel](https://forums.freertos.org/u/rtel)\
**Post date:** [April 13, 2011, 2:29pm UTC](https://forums.freertos.org/t/no-context-switch-using-mpsim-on-pic32/4463/2 "2011-04-13T14:29:25Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Wednesday, April 13, 2011](https://sourceforge.net/p/freertos/discussion/382005/thread/c47ea1e9/#fb06):

The PIC32 port was written some time ago.&nbsp; I know, at that time, it could not be simulated in the PIC32 simulator as the simulator did not simulate everything.&nbsp; As I say, that was some time ago, so I don’t know if this is still the case.

Regards.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [April 16, 2011, 5:01pm UTC](https://forums.freertos.org/t/no-context-switch-using-mpsim-on-pic32/4463/3 "2011-04-16T17:01:25Z")

</div>

**[killer414](https://sourceforge.net/u/killer414/)** wrote on [Saturday, April 16, 2011](https://sourceforge.net/p/freertos/discussion/382005/thread/c47ea1e9/#98e9):

I can confirm that it still doesnt support mpsim… works fine on the kit
