My previous thread has failed to gain interest: http://www.keil.com/forum/59827/
Perhaps the title is too generic or the description is some how confusing. So I start this thread to try another time.
I have a project on STM32F105x CPU. I would like to use CMSIS RTX with it. But I has encountered a problem: When it is located a space different from the default RESET vector, the osKernelStart would failed and a HardFault would occurs. It is well before the main function. I have not idea how to debug this kind of bug.
RO starts from 0x8000000 RO starts from 0x8006000 With RTX OK HardFault occurs Without RTX OK OK
When the application starts form 0x8006000, I have modified the VECTOR_TAB_OFFSET respectively.
SCB->VTOR = FLASH_BASE | VECT_TAB_OFFSET;
More detail description please refer to http://www.keil.com/forum/59827/ . Thanks.