This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C123GH6PM: Reset Vector and Internal flash memory

Part Number: TM4C123GH6PM

Hi,

From tm4c123g launch pad datasheet, the vector table for ARM processors lies at memory location 0x00000000 as shown bellow.

Now from same datasheet, the internal flash memory is mapped at location 0x00000000.

Now if we go to page#540,

at memory location 0x00000000 we have flash control registers...

So my questions are:

1) How is it possible to have registers at a place where the Vector table is suppose to exist?

2) As from the datasheet, the contents at location 0x00000000 is copied to SP. but going into Assembly of a dummy project (using Keil-5), after Reset, the Reset_Handler is immediately called and the sequence goes as:

Reset_Handler -> SystemInit ->__main -> __rt_entry -> __user_setup_stackheap() -> __rt_stackheap_init() ..... main()

so where is the instruction that copies the contents of memory location 0x00000000 to stack pointer?