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

Structure of C_INITSEC

hello,

I have to initialize static variables residing in sdata after setting bit XPEN in main() by myself, because in our system it is not possible to set bit XPEN prior to the initialization loop in the startup code.

For that I have to know the structure of C_INITSEC but I could not find some info, besides info about C51 where sdata is not mentioned.

Do you have got some?

Best regards

Jürgen

Parents
  • But if you now have specific expectations from about this forum - don't you then think you should give us an answer to why you wrote "because in our system it is not possible to set bit XPEN prior to the initialization loop in the startup code"?

    Exactly why do your project require XPEN to be set first when you reach main()?

    Lots of projects requires us developers to perform changes to startup files (such as modifying clocking or powering up peripherials or memory modules etc) before we continue with the rest of the Keil initialization code. Why is this not possible for your project?

Reply
  • But if you now have specific expectations from about this forum - don't you then think you should give us an answer to why you wrote "because in our system it is not possible to set bit XPEN prior to the initialization loop in the startup code"?

    Exactly why do your project require XPEN to be set first when you reach main()?

    Lots of projects requires us developers to perform changes to startup files (such as modifying clocking or powering up peripherials or memory modules etc) before we continue with the rest of the Keil initialization code. Why is this not possible for your project?

Children
No data