Free RTOS on LPC4337 M0 Core

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by Alex on Thu Feb 07 01:38:41 MST 2013

I'm trying to make FreeRTOS run on the M0 core of an LPC4337.

I used the ARM Cortex M0 generic port of FreeRTOS.

Because the M0 core does not have a Systick Timer I used timer 3 as Systick. The problem is, that when the first task has to be started I get a Hardfault Exception when performing the assembler instruction svc 0.

Any ideas why this happens?

This is the function where it happens:
cpsie i /* Globally enable interrupts. */
svc 0 /* System call to start first task. */

Best regards,