# xPortStartScheduler fails because BASEPRI is non-zero

**URL:** <https://forums.freertos.org/t/xportstartscheduler-fails-because-basepri-is-non-zero/15509>\
**Category:** Kernel\
**Created:** [July 21, 2022, 7:27pm UTC](https://forums.freertos.org/t/xportstartscheduler-fails-because-basepri-is-non-zero/15509 "2022-07-21T19:27:22Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jefftenney](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/jefftenney/32/1314_2.png) [@jefftenney](https://forums.freertos.org/u/jefftenney)\
**Post date:** [July 21, 2022, 8:04pm UTC](https://forums.freertos.org/t/xportstartscheduler-fails-because-basepri-is-non-zero/15509/2 "2022-07-21T20:04:18Z")

</div>

Hi Jakob,

The SVC exception should have highest priority, zero. That setting is found in register SHPR2, at address 0xE000ED1C, in the SCB. The most-significant byte of that 32-bit register sets the priority for SVC. What value is in that register in your system?

---

_[View the full topic](https://forums.freertos.org/t/xportstartscheduler-fails-because-basepri-is-non-zero/15509)._
