Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 8 months ago.
AN10866 secondary USB bootloader with mbed-rtos application
Hello Folks!
I am trying to boot with AN10866 bootloader user application (http://developer.mbed.org/users/mbed_official/code/rtos_basic/), which uses mbed-rtos library, but unfortunately it stucks. When I try to boot application, which uses only mbed library without mbed-rtos everything works fine... Why?
Please help!
2 Answers
9 years, 5 months ago.
Hello
Did you get any further with this? I have the same issue.
I've traced it to the "return svcKernelStart();" in osKernelStart() rt_CMSIS.c
It calls "SVC_0_1(svcKernelStart, osStatus, RET_osStatus)" and then hardfaults.
I'm a bit stuck for ideas on how to proceed.
Thanks,
Marcus
8 years, 3 months ago.
Hi,
It's been now more than a year, today i'm facing the same problem, did you guys succeed in resolving the problem?
Thanks
Hello,
I made a commit to the kl46 lib for moving vectors at boot.
In my personal code I disabled interupts just before the jump point in my bootloader. Then re-enabled interupts when mbed main lib starts in my application.
posted by 27 Jul 2016