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 Marcus Birkin 27 Jul 2016

Hi,

Thank you for answer, I did manage to make it work, actually my problem was due to the vector table which wasn't well configured in the flash. once I resolved this problem, everything works fine.

posted by abdou sen 27 Jul 2016

Hi, I am faced with the same problem right now. Could you tell me what you did to correctly construct the vector table?

posted by Kai Aoki 20 Nov 2018