This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

problem in starting the project

I am using tiva c launch pad for my project.I have copied my startup file in my project and then wrote my code.When I start to debug my project the control remains in the start up file in reset handler section and never goes in my main program.
Please help.

Parents
  • I read the document that showed me how to create a new project it ask me to write this function in main
    void SystemInit(void)
    { // Grant coprocessor access // This is required since TM4C123G has // a floating point coprocessor SCB->CPACR |= 0x00F00000;
    }

    but i don't refer the register like mentioned above i refer the register SCB_CPACR_R. I donot understand how to do it . Please help.

Reply
  • I read the document that showed me how to create a new project it ask me to write this function in main
    void SystemInit(void)
    { // Grant coprocessor access // This is required since TM4C123G has // a floating point coprocessor SCB->CPACR |= 0x00F00000;
    }

    but i don't refer the register like mentioned above i refer the register SCB_CPACR_R. I donot understand how to do it . Please help.

Children