Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
[CMSIS] RTX to CMSIS-RTOS gives hard fault
Jump...
Cancel
Locked
Locked
Replies
2 replies
Subscribers
118 subscribers
Views
4424 views
Users
0 members are here
Options
Share
More actions
Cancel
Related
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
Andrew Lucas
over 12 years ago
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
Andrew Lucas
over 12 years ago
Note: This was originally posted on 19th September 2012 at
http://forums.arm.com
Solved my own problem. Turns out the new RTX_Conf_CM.c file was set for unprivileged mode. Once I changed it bingo!
Cancel
Vote up
0
Vote down
Cancel
Reply
Andrew Lucas
over 12 years ago
Note: This was originally posted on 19th September 2012 at
http://forums.arm.com
Solved my own problem. Turns out the new RTX_Conf_CM.c file was set for unprivileged mode. Once I changed it bingo!
Cancel
Vote up
0
Vote down
Cancel
Children
No data