Hello,
When coding a simple project (Freescale K40 + Keil IDE) it's possible to set the vector table offset register to the correct ram address. For example: #define RAM_START (0x20000000 - ((RAM_SIZE * 1024)/2)) // SRAM is symmetrical around 0x20000000
After this setup, registering an interrupt is being done by setting its address in the correct offset (RAM_START_ADDRESS + 16 + IRQ number) I've noticed that once the RTX kernel was added to the project, any attempt to modify the vector tables offset (SCB->VTOR = xx) caused the software to jump to hard abort.
Any help please :)
Thanks, Eitan Michaelson.
He's talking about RTX - the RTOS - not RL-ARM.
http://www.keil.com/rl-arm/kernel.asp
you mean the RTX that is now supplied with source with MDK-ARM which previously was supplied without source with MDK-ARM with the source then being supplied with RL-ARM?
err, so the OPs RTX is different to the one of RL-ARM now is it?
and the link you provided has rl-arm embedded in it.
how stupid of me.
indeed.
indeed!
;)