# FreeRTOS stalling at prvStartFirstTask on STM32L4

**URL:** <https://forums.freertos.org/t/freertos-stalling-at-prvstartfirsttask-on-stm32l4/6727>\
**Category:** Kernel\
**Created:** [August 9, 2017, 8:10pm UTC](https://forums.freertos.org/t/freertos-stalling-at-prvstartfirsttask-on-stm32l4/6727 "2017-08-09T20:10:04Z")\
**Posts on this page:** 2\
**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:** [August 9, 2017, 8:10pm UTC](https://forums.freertos.org/t/freertos-stalling-at-prvstartfirsttask-on-stm32l4/6727/1 "2017-08-09T20:10:04Z")

</div>

**[masrurmahmood](https://sourceforge.net/u/masrurmahmood/)** wrote on [Wednesday, August 09, 2017](https://sourceforge.net/p/freertos/discussion/382005/thread/fe69de37/#a0c2):

Hello,

I’m running into an issue where the code is stuck in prvStartFirstTask(). What could be the reason for FreeRTOS to get stuck here? What can I do to debug this issue?

Please advise.

---

<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:** [August 9, 2017, 8:29pm UTC](https://forums.freertos.org/t/freertos-stalling-at-prvstartfirsttask-on-stm32l4/6727/2 "2017-08-09T20:29:51Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Wednesday, August 09, 2017](https://sourceforge.net/p/freertos/discussion/382005/thread/fe69de37/#a0c2/3a5f):

The first task is started using an SVC interrupt. Have you installed  
the FreeRTOS interrupt handler? See “Special note to ARM Cortex-M  
users:” in the “The application I created compiles, but does not run”  
FAQ on the following page: [http://www.freertos.org/FAQHelp.html](http://www.freertos.org/FAQHelp.html)
