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
  • because in our system it is not possible to set bit XPEN prior to the initialization loop in the startup code

    That statement makes no sense. There is no such thing as "your system" in the phase of system startup before the init loops. That's Keil's, or possibly the CPU maker's system you're looking at, not yours.

    If your "system" makes this impossible, then your "system" itself is, for all practical purposes, impossible.

Reply
  • because in our system it is not possible to set bit XPEN prior to the initialization loop in the startup code

    That statement makes no sense. There is no such thing as "your system" in the phase of system startup before the init loops. That's Keil's, or possibly the CPU maker's system you're looking at, not yours.

    If your "system" makes this impossible, then your "system" itself is, for all practical purposes, impossible.

Children