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
"I did not have to understand the comlete structure of the initialization routine but only to find the writing to the target address."
You are assuming that there's nothing in the "other" parts that could interfere with this...