This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

[CMSIS] RTX to CMSIS-RTOS gives hard fault

Note: This was originally posted on 18th September 2012 at http://forums.arm.com

So I had my project working under the old Keil-rtx rtos and I decided to move to the cmsis-rtos version. 

It seemed pretty straight forward.  I grabbed the new RTX_CM4.lib file, the updated RTX_Conf_CM.c file and I am now including the cmsis_os.h file instead of rtl.h.

Anyway I got everything to compile file but when I run it, during my uart initialization in the main routine, prior to initializing any tasks, I get a hard fault on my first call to any NVIC function.  I am using the STM32F407VG with the ST standard peripheral library.

Anyone have an idea what I might be different with the cmsis-rtos version of the OS.

Thanks,
Parents Reply Children
No data